CVE-2024-8484
published 2024-09-25CVE-2024-8484: The REST API TO MiniProgram plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter of the /wp-json/watch-life-net/v1/comment/getcomments…
PriorityP262high7.5CVSS 3.1
AVNACLPRNUINSUCHINAN
EXPLOIT
EPSS
3.63%
88.1th percentile
The REST API TO MiniProgram plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter of the /wp-json/watch-life-net/v1/comment/getcomments REST API endpoint in all versions up to, and including, 4.7.1 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
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| jianbo | rest_api_to_miniprogram | <= 4.7.1 | — |
| xjb | rest_api_to_miniprogram | <= 4.7.1 | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor unauthenticated HTTP requests to the REST API endpoint /wp-json/watch-life-net/v1/comment/getcomments, specifically inspecting the 'order' parameter for SQL injection payloads (e.g., appended UNION, SELECT, or stacked queries). ↗
- →Flag requests where the 'order' parameter value contains SQL metacharacters or keywords (e.g., single quotes, UNION, SELECT, FROM, WHERE) against the getcomments endpoint, as the parameter lacks sufficient escaping and preparation. ↗
- →No authentication is required to exploit this vulnerability; alert on any external/anonymous source querying /wp-json/watch-life-net/v1/comment/getcomments with a non-trivial 'order' parameter. ↗
- ·The vulnerability affects all versions of the REST API TO MiniProgram WordPress plugin up to and including 4.7.1. Ensure version-based detection or blocking rules are scoped accordingly. ↗
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.
No detection rules found.
Nuclei
REST API TO MiniProgram <= 4.7.1 - SQL Injection
nuclei·CVSS 7.5
CVE-2024-8484 [HIGH] REST API TO MiniProgram <= 4.7.1 - SQL Injection
REST API TO MiniProgram =6'
- 'contains_all(body, "code","success","status")'
- 'contains(content_type,"application/json")'
- 'status_code == 200'
condition: and
# digest: 4a0a0047304502204e8adfce84092397bef8d066d7085b3e398acd1802c41eb78f7e7b8ac5a97e5a022100ddf71680346130a6444844d9b706e90cc30f66171945f2acfb66d355b1b9baea:922c64590222798bb761d5b6d8e72950
No writeups or analysis indexed.
2024-09-25
Published