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.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.3%top 29.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC

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

EcosystemPackageFixed inAdvisory
Packagistunisharp/laravel-filemanager2.9.1GHSA-6569-3785-r3v6

Affected products (as reported)

VendorProductVersions
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

References