CVE-2024-8484
HIGH
7.5
CVSS 3.1
Description
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 WordPress components
-
rest-api-to-miniprogram Plugin · rest-api-to-miniprogramUp to and including 4.7.1View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- xjb REST API TO MiniProgram — Up to and including 4.7.1
- jianbo rest-api-to-miniprogram — Up to and including 4.7.1
- jianbo rest_api_to_miniprogram — Up to and including 4.7.1
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/rest-api-to-miniprogram/tags/4.7.0/includes/api/ram-rest-comments-controller.php#L247 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3337740#file63
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/6e0945eb-ceec-4536-822a-fe864c21b580?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record