.. / CVE-2024-1512

Exploit for MasterStudy LMS WordPress Plugin <= 3.2.5 - SQL Injection (CVE-2024-1512)

Description:

The MasterStudy LMS WordPress Plugin for Online Courses and Education plugin for WordPress is vulnerable to union based SQL Injection via the ‘user’ parameter of the /lms/stm-lms/order/items REST route in all versions up to, and including, 3.2.5 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.

Nuclei Template

View the template here CVE-2024-1512.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2024/CVE-2024-1512.yaml
Copy

References:

https://www.wordfence.com/threat-intel/vulnerabilities/id/d6b6d824-51d3-4da9-a39a-b957368df4dc?source=cve
https://blog.csdn.net/m0_60571842/article/details/139901296
https://github.com/rat-c/CVE-2024-1512
https://nvd.nist.gov/vuln/detail/CVE-2024-1512