CVE-2021-24200 wpDataTables < 3.4.2 - Blind SQL Injection via length Parameter
Low-privilege users can exploit blind SQL injection to read database data and potentially take over the WordPress application.
- 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-2021-24200?
CVE-2021-24200 is a medium-severity SQL injection vulnerability in wpDataTables – Tables & Table Charts, published on 12 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The wpDataTables – Tables & Table Charts premium WordPress plugin before 3.4.2 allows a low privilege authenticated user to perform Boolean-based blind SQL Injection in the table list page on the endpoint /wp-admin/admin-ajax.php?action=get_wdtable&table_id=1, on the 'length' HTTP POST parameter. This allows an attacker to access all the data in the database and obtain access to the WordPress application.
Weakness: CWE-89
Which versions are affected by CVE-2021-24200?
It affects 1 product.
Products include Tms-Outsource Wpdatatables.
How do I fix CVE-2021-24200?
No fix has been published for CVE-2021-24200 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-2021-24200 being exploited?
There is no known exploitation of CVE-2021-24200 in the wild and no public exploit code.
Other vulnerabilities in wpDataTables – Tables & Table Charts
- CVE-2021-24197 wpDataTables < 3.4.2 - Improper Access Control leading to Table Permission Takeover
- CVE-2021-24198 wpDataTables < 3.4.2 - Improper Access Control leading to Table Data Deletion
- CVE-2023-4314 wpDataTables < 2.1.66 - Admin+ PHP Object Injection
- CVE-2023-23876 WordPress wpDataTables Plugin <= 2.1.49 is vulnerable to Cross Site Scripting (XSS)
- CVE-2021-24199 wpDataTables < 3.4.2 - Blind SQL Injection via start Parameter
Sources
Also known as GHSA-cv9q-2p8x-2xxf.