PT-2024-39050 · WordPress · Rest Api To Miniprogram

Wesley

·

Published

2024-09-24

·

Updated

2024-10-02

·

CVE-2024-8484

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions: REST API TO MiniProgram plugin for WordPress versions up to, and including, 4.7.1
Description: The issue is related to SQL Injection via the order parameter of the "/wp-json/watch-life-net/v1/comment/getcomments" API endpoint. This is due to insufficient escaping on the user-supplied order parameter and lack of sufficient preparation on the existing SQL query, allowing unauthenticated attackers to append additional SQL queries to extract sensitive information from the database.
Recommendations: For versions up to, and including, 4.7.1, as a temporary workaround, consider restricting access to the "/wp-json/watch-life-net/v1/comment/getcomments" API endpoint to minimize the risk of exploitation. Avoid using the order parameter in this endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

SQL injection

Weakness Enumeration

Related Identifiers

CVE-2024-8484

Affected Products

Rest Api To Miniprogram