CVE-2024-12025
Published: 18 December 2024
Summary
CVE-2024-12025 is a high-severity SQL Injection (CWE-89) vulnerability in Wordpress (inferred from references). Its CVSS base score is 7.5 (High).
Operationally, ranked in the top 0.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Collapsing Categories plugin for WordPress is vulnerable to SQL Injection via the 'taxonomy' parameter of the /wp-json/collapsing-categories/v1/get REST API endpoint in all versions up to and including 3.0.8. The flaw stems from insufficient escaping of user-supplied input combined with the absence of prepared statements on an existing SQL query, allowing arbitrary query manipulation.
Unauthenticated attackers can exploit the issue over the network by sending crafted requests to the REST endpoint, appending additional SQL statements to extract sensitive database contents such as user credentials or other stored data. The vulnerability carries a CVSS 3.1 score of 7.5, reflecting high confidentiality impact with no authentication or user interaction required.
A fix addressing the parameter handling is available in the plugin's changeset on the WordPress Trac repository, and the Wordfence advisory provides further details on the affected component and remediation steps. The EPSS score has reached 0.8056 without an observable climb from a lower baseline.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-50541
Vulnerability details
The Collapsing Categories plugin for WordPress is vulnerable to SQL Injection via the 'taxonomy' parameter of the /wp-json/collapsing-categories/v1/get REST API in all versions up to, and including, 3.0.8 due to insufficient escaping on the user supplied parameter and lack of…
more
sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.