CVE-2024-52306: Backpack/filemanager FileManager Deserialization Of Untrusted Data Vulnerability
HIGHCVE-2024-52306 is a HIGH (CVSS 7.6) filemanager deserialization of untrusted data vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Backpack/filemanager libraries in the Packagist ecosystem. The issue involves filemanager deserialization of untrusted data vulnerability. Remediation is available by upgrading affected packages to version 3.0.9, 2.0.2.
CVE-2024-52306 at a Glance
Security Impact
CVSS: 7.6
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H).
How to Fix CVE-2024-52306
To remediate this vulnerability, upgrade all affected Backpack/filemanager dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade backpack/filemanager to 3.0.9
Upgrade backpack/filemanager to 2.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for backpack/filemanager
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-52306, inspect your project dependencies for Backpack/filemanager:
inspect dependencies for backpack/filemanager
Analyze the terminal output to locate any version of Backpack/filemanager in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.9), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In Backpack/filemanager, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-52306 Affected Backpack/filemanager Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
backpack/filemanager
|
Packagist |
≥ 3.0.0
< 3.0.9
|
3.0.9
|
|
backpack/filemanager
|
Packagist |
< 2.0.2
|
2.0.2
|
References
Frequently Asked Questions
What is CVE-2024-52306?
Which Backpack/filemanager versions are affected?
What version fixes CVE-2024-52306?
Is backpack/filemanager affected?
What is the CVSS score of CVE-2024-52306?
What CWE is associated with CVE-2024-52306?
How can I check Packagist dependencies for CVE-2024-52306?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-8237-957h-h2c2",
"modified" : "2024-11-18T20:35:06Z",
"published" : "2024-11-13T18:43:02Z",
"aliases" : [ "CVE-2024-52306" ],
"summary" : "FileManager Deserialization of Untrusted Data vulnerability",
"details" : "### Impact\nDeserialization of untrusted data from the `mimes` parameter could lead to remote code execution.\n\n### Patches\nFixed in 3.0.9\n\n### Workarounds\nNot needed, a `composer update` will solve it in a non-breaking way.\n\n### References\nReported responsibly [Vladislav Gladkiy](https://github.com/catferq) at [Positive Technologies](https://www.ptsecurity.com/ww-en/).",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "backpack/filemanager"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.0.0"
}, {
"fixed" : "3.0.9"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Packagist",
"name" : "backpack/filemanager"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/Laravel-Backpack/FileManager/security/advisories/GHSA-8237-957h-h2c2"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-52306"
}, {
"type" : "WEB",
"url" : "https://github.com/Laravel-Backpack/FileManager/commit/2830498b85e05fb3c92179053b4d7c4a0fdb880b"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/Laravel-Backpack/FileManager"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-502" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2024-11-13T18:43:02Z",
"nvd_published_at" : "2024-11-13T16:15:20Z"
}
}