CVE-2024-12025
published 2024-12-18CVE-2024-12025: The Collapsing Categories plugin for WordPress is vulnerable to SQL Injection via the 'taxonomy' parameter of the /wp-json/collapsing-categories/v1/get REST…
PriorityP180high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
2.54%
83.0th percentile
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 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.
Affected
1 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| robfelty | collapsing_categories | <= 3.0.8 | — |
Detection & IOCsextracted from sources · hover to see the quote
othertaxonomy parameter with SQL injection payload (e.g., taxonomy=8')
sigma
selection: - 'status_code == 200' - 'contains(body, "post_title")' - 'contains(content_type, "application/json")'
- →Monitor REST API requests to /wp-json/collapsing-categories/v1/get for anomalous or malformed 'taxonomy' parameter values, especially those containing SQL metacharacters (e.g., single quotes, UNION, SELECT keywords). ↗
- →Successful exploitation responses will return HTTP 200 with Content-Type application/json and a body containing 'post_title', indicating database content exfiltration.
- →The endpoint is unauthenticated — no session or nonce is required, so any source IP can trigger exploitation. Prioritize alerting on requests from unauthenticated sessions hitting this endpoint with SQL-like payloads. ↗
- ·All versions up to and including 3.0.8 of the Collapsing Categories plugin are vulnerable. Ensure detection rules are scoped to sites running this plugin version range. ↗
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
vulncheck7.5HIGH
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-5954-58x3-phm4: The Collapsing Categories plugin for WordPress is vulnerable to SQL Injection via the 'taxonomy' parameter of the /wp-json/collapsing-categories/v1/ge
ghsa_unreviewed·2024-12-18
CVE-2024-12025 [HIGH] CWE-89 GHSA-5954-58x3-phm4: The Collapsing Categories plugin for WordPress is vulnerable to SQL Injection via the 'taxonomy' parameter of the /wp-json/collapsing-categories/v1/ge
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 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.
VulnCheck
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
vulncheck·2024·CVSS 7.5
CVE-2024-12025 [HIGH] Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
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 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.
Affected: robfelty Collapsing Categories
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Ex
No detection rules found.
Nuclei
WordPress Collapsing Categories <= 3.0.8 - SQL Injection
nuclei·CVSS 7.5
CVE-2024-12025 [HIGH] WordPress Collapsing Categories <= 3.0.8 - SQL Injection
WordPress Collapsing Categories = 8'
- 'status_code == 200'
- 'contains(body, "post_title")'
- 'contains(content_type, "application/json")'
condition: and
# digest: 4b0a00483046022100eeabeb75bfb8c7ea0bab02b1bc7781fcb62f9b3d697dd19bf2b78ea1e2bfafd0022100a08fea2f1c86ba189473e9a6d9d7beb32894a5df3bb885dbe4d991179f20c11d:922c64590222798bb761d5b6d8e72950
No writeups or analysis indexed.
2024-12-18
Published
Exploited in the wild