CVE-2024-2871 Media Library Assistant <= 3.13 - Authenticated (Contributor+) SQL Injection via Shortcode
Authenticated contributors can exploit SQL injection in Media Library Assistant shortcodes to extract sensitive database information.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-2871?
CVE-2024-2871 is a medium-severity SQL injection vulnerability in dglingren Media Library Assistant, published on 9 Apr 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The Media Library Assistant plugin for WordPress is vulnerable to SQL Injection via the plugin's shortcode(s) in all versions up to, and including, 3.13 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 contributor access or higher, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
Weakness: CWE-89
Which versions are affected by CVE-2024-2871?
It affects 1 product.
Products include Davidlingren Media Library Assistant.
How do I fix CVE-2024-2871?
No fix has been published for CVE-2024-2871 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-2871 being exploited?
There is no known exploitation of CVE-2024-2871 in the wild and no public exploit code.
Other vulnerabilities in dglingren Media Library Assistant
- CVE-2023-4634 Media Library Assistant <= 3.09 - Unauthenticated Local/Remote File Inclusion & Remote Code Execution
- CVE-2020-11928 Code injection in n/a
- CVE-2024-51661 WordPress Media Library Assistant plugin <= 3.19 - Remote Code Execution (RCE) vulnerability
- CVE-2024-6823 File upload in Media Library Assistant
- CVE-2024-5605 Media Library Assistant <= 3.16 - Authenticated (Contributor+) SQL Injection via order Parameter
Sources
Also known as GHSA-j5pj-xphh-fc8m.