CVE-2024-8529
Description
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection via the 'c_fields' parameter of the /wp-json/lp/v1/courses/archive-course REST API endpoint in all versions up to, and including, 4.2.7 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
-
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses Plugin · learnpressUp to and including 4.2.7; Before 4.2.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
- thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses — Up to and including 4.2.7
- thimpress learnpress — Up to and including 4.2.7
- thimpress learnpress — Before 4.2.7.1
References
- abrahack.com https://abrahack.com/posts/learnpress-sqli/
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?old_path=/learnpress/tags/4.2.7&new_path=/learnpress/tags/4.2.7.1&sfp_email=&sfph_mail= Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/c2b2671e-0db7-4ba9-b574-a0122959e8fc?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record