CVE-2024-52306 FileManager Deserialization of Untrusted Data

High 7.7 Published Updated

Attackers can achieve remote code execution via unsafe deserialization of the mimes parameter in the Laravel Backpack FileManager package.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-52306?

CVE-2024-52306 is a high-severity unsafe deserialization vulnerability in Laravel-Backpack FileManager, published on 13 Nov 2024. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

FileManager provides a Backpack admin interface for files and folder. Prior to 3.0.9, deserialization of untrusted data from the mimes parameter could lead to remote code execution. This vulnerability is fixed in 3.0.9.

Weakness: CWE-502

Which versions are affected by CVE-2024-52306?

4 open source packages ship an affected version, including backpack/filemanager. It affects 1 product.

PackageAffectedFixed in
backpack/filemanager PackagistAll versions2.0.2
backpack/filemanager PackagistAll versions2.0.2
backpack/filemanager PackagistFrom 3.0.03.0.9
backpack/filemanager PackagistFrom 3.0.03.0.9

Products include Backpackforlaravel Filemanager.

How do I fix CVE-2024-52306?

Upgrade backpack/filemanager to a fixed version for your release line: 2.0.2 or 3.0.9.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2024-52306 being exploited?

There is no known exploitation of CVE-2024-52306 in the wild and no public exploit code.

Sources

Also known as GHSA-8237-957h-h2c2.

Is CVE-2024-52306 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free