PT-2021-5219
CVE-2021-43617
·
تاريخ النشر
2021-11-14
·
تاريخ التحديث
2021-11-20
الوصف من
CVSS 3.1
10
حرجةالمقاييسAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
Laravel Framework versions through 8.70.2
Description
The issue is related to the insufficient blocking of executable PHP content uploads. Specifically, Illuminate/Validation/Concerns/ValidatesAttributes.php lacks a check for .phar files, which are handled as application/x-httpd-php on systems based on Debian. This may be related to file-type validation for image upload, including differences between getClientOriginalExtension and other approaches. The vulnerability could allow a remote attacker to execute arbitrary code.
Recommendations
For Laravel Framework versions through 8.70.2, consider disabling the file upload functionality until a proper fix is applied, focusing on enhancing the validation for .phar files and ensuring proper handling of application/x-httpd-php files. Additionally, review and enhance file-type validation for image uploads to prevent potential exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾