Media Library Folders <= 8.2.2 - Authenticated (Subscriber+) Second-Order SQL Injection
Summary
| CVE | CVE-2024-7857 |
|---|---|
| State | PUBLISHED |
| Assigner | Wordfence |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-08-29 03:15:05 UTC |
| Updated | 2026-04-08 19:22:21 UTC |
| Description | The Media Library Folders plugin for WordPress is vulnerable to second order SQL Injection via the 'sort_type' parameter of the 'mlf_change_sort_type' AJAX action in all versions up to, and including, 8.2.2 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with subscriber-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS: 0.005580000 probability, percentile 0.682030000 (date 2026-04-13)
Problem Types: CWE-89 | CWE-89 CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | [email protected] | Primary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Maxfoundry | Media Library Folders | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Maxfoundry | Media Library Folders | affected 8.2.2 semver | Not specified |
| ADP | Maxfoundry | Media Library Folders | affected 8.2.2 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| plugins.trac.wordpress.org/browser/media-library-plus/tags/8.2.2/media-library-plus.php | [email protected] | plugins.trac.wordpress.org | Product |
| plugins.trac.wordpress.org/browser/media-library-plus/tags/8.2.2/media-library-plus.php | [email protected] | plugins.trac.wordpress.org | Product |
| www.wordfence.com/threat-intel/vulnerabilities/id/d2266254-9281-4859-8630-f7bb5... | [email protected] | www.wordfence.com | Third Party Advisory |
| plugins.trac.wordpress.org/changeset/3139954/media-library-plus/trunk/media-library-plus... | [email protected] | plugins.trac.wordpress.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Lucio Sá (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2024-08-28T00:00:00.000Z | Disclosed |
There are currently no legacy QID mappings associated with this CVE.