Vulnerability · Published Dec 18, 2024 · Assigned by snyk
CVE-2024-21546
Critical 9.8
In plain English
A critical-severity code injection in unisharp/laravel-filemanager. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.3% (higher than 71% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Official description
Versions of the package unisharp/laravel-filemanager before 2.9.1 are vulnerable to Remote Code Execution (RCE) through using a valid mimetype and inserting the . character after the php file extension. This allows the attacker to execute malicious code.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | unisharp/laravel-filemanager | 2.9.1 | GHSA-6569-3785-r3v6 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | unisharp/laravel-filemanager | 0 – before 2.9.1 |
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P