CVE-2023-24249:
laravel-admin has Arbitrary File Upload vulnerability
7.2
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.97166%
CWE
Published
2/27/2023
Updated
3/8/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
encore/laravel-admin | composer | <= 1.8.19 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper file extension validation during avatar uploads. The PoC demonstrates that attackers can upload a PHP
file by manipulating the filename in the request (e.g., 'php.jpg.php'). This indicates the backend fails to properly sanitize or validate the final extension after processing the filename. The handleFileUpload
function (or similar) in the user settings controller is responsible for processing uploads, and its lack of strict extension checks allows dangerous file types to be stored. The high confidence comes from the reproducible exploit steps and the CWE-434 classification, which directly points to unrestricted file upload handling.