CVE-2024-1512
MasterStudy LMS WordPress Plugin – for Online Courses and Education <= 3.2.5 - Unauthenticated SQL Injection
Record summary
CVE-2024-1512 has a selected CVSS score of 9.8 (critical); EIP currently links 1 repository PoC and 1 Nuclei template.
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.
Exploitation context
Affected products and versions
2| Product | Source | Version range | Status |
|---|---|---|---|
MasterStudy LMS WordPress Plugin – for Online Courses and EducationBrowse stylemix / MasterStudy LMS WordPress Plugin – for Online Courses and EducationDefault status: unaffected | CVE List | Through 3.2.5 | affected |
masterstudy_lmsBrowse stylemixthemes / masterstudy_lmsDefault status: unknown | CVE List | Through 3.2.5 | affected |
Proofs of concept
1Repository PoCs
GitHubrat-c/CVE-2024-1512Repository PoCby rat-cStars: 2Not analyzed2 files
Nuclei templates
1ProjectDiscoveryCRITICALMasterStudy LMS WordPress Plugin <= 3.2.5 - SQL InjectionCVSS 9.8
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.
Impact
Unauthenticated attackers can extract sensitive information from the database including usernames, passwords, and other confidential data via time-based SQL injection.
Remediation
Update MasterStudy LMS plugin to version 3.2.6 or later.
Source: ProjectDiscovery