Moderate severityNVD Advisory· Published Nov 14, 2021· Updated Aug 4, 2024
CVE-2021-43617
CVE-2021-43617
Description
Laravel Framework through 8.70.2 does not sufficiently block the upload of executable PHP content because Illuminate/Validation/Concerns/ValidatesAttributes.php lacks a check for .phar files, which are handled as application/x-httpd-php on systems based on Debian. NOTE: this CVE Record is for Laravel Framework, and is unrelated to any reports concerning incorrectly written user applications for image upload.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
laravel/frameworkPackagist | <= 8.70.2 | — |
Affected products
2- Laravel/Laravel Frameworkdescription
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-364w-9g92-3grqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-43617ghsaADVISORY
- github.com/laravel/framework/blob/2049de73aa099a113a287587df4cc522c90961f5/src/Illuminate/Validation/Concerns/ValidatesAttributes.phpghsaWEB
- github.com/laravel/framework/blob/2049de73aa099a113a287587df4cc522c90961f5/src/Illuminate/Validation/Concerns/ValidatesAttributes.phpghsax_refsource_MISCWEB
- hosein-vita.medium.com/laravel-8-x-image-upload-bypass-zero-day-852bd806019bghsaWEB
- salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.confghsax_refsource_MISCWEB
- salsa.debian.org/php-team/php/-/commit/dc253886b5b2e9bc8d9e36db787abb083a667fd8ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.