CVE-2021-43617
CRITICAL
Withdrawn: Laravel Framework does not sufficiently block the upload of executable PHP content.
Record summary
CVE-2021-43617 has a selected CVSS score of 9.8 (critical); EIP currently links 1 catalogued exploit, 2 repository PoCs, and 2 lab environments.
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.
Description source: CVE List
Exploitation context
Affected products and versions
1| Product | Source | Version range | Status |
|---|---|---|---|
laravel/frameworkBrowse Packagist / laravel/framework | GitHub Advisory | Through 8.70.2 | affected |
Proofs of concept
3Catalogued exploits
ExploitDBPHP Laravel 8.70.1 - Cross Site Scripting (XSS) to Cross Site Request Forgery (CSRF)ExploitDB exploitby Hosein VitaNot analyzed1 file
Repository PoCs
GitHubkombat1/CVE-2021-43617Repository PoCby kombat1Stars: 0Not analyzed1 file
GitHubSybelle03/CVE-2021-43617Repository PoCby Sybelle03Stars: 1Not analyzed94 files
Docker lab environments
2GitHubxss-csrf-vul
Sybelle03/CVE-2021-43617Created Analysis pendingCVE-2021-43617Dockerfile
Packet coverage: some source evidence omitted
GitHubdocker-compose.yml
dangducloc/CVE_2021_43617Created Analysis pendingCVE-2021-43617Compose · builds
Packet coverage: some source evidence omitted
References
6github.com
https://github.com/laravel/framework github.com
https://github.com/laravel/framework/blob/2049de73aa099a113a287587df4cc522c90961f5/src/Illuminate/Validation/Concerns/ValidatesAttributes.php hosein-vita.medium.com
https://hosein-vita.medium.com/laravel-8-x-image-upload-bypass-zero-day-852bd806019b nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2021-43617 salsa.debian.org
https://salsa.debian.org/php-team/php/-/blob/dc253886b5b2e9bc8d9e36db787abb083a667fd8/debian/php-cgi.conf salsa.debian.org
https://salsa.debian.org/php-team/php/-/commit/dc253886b5b2e9bc8d9e36db787abb083a667fd8