CVE-2024-8529 LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_fields'
Unauthenticated attackers can exploit SQL injection in the LearnPress plugin to extract sensitive database information via the archive-course REST API endpoint.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-8529?
CVE-2024-8529 is a critical SQL injection vulnerability in thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, published on 12 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2024-8529?
It affects 1 product.
Products include Thimpress Learnpress.
How do I fix CVE-2024-8529?
No fix has been published for CVE-2024-8529 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2024-8529 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-8529 exists.
Public exploit code: 1 Metasploit module, 1 Nuclei template and 1 proofs of concept on GitHub.
Other vulnerabilities in thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses
- CVE-2024-8522 LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'
- CVE-2022-45808 WordPress LearnPress Plugin <= 4.1.7.3.2 is vulnerable to SQL Injection
- CVE-2024-4434 LearnPress – WordPress LMS Plugin <= 4.2.6.5 - Unauthenticated Time-Based SQL Injection
- CVE-2023-6567 LearnPress <= 4.2.5.7 - Unauthenticated SQL Injection via order_by
- CVE-2021-24951 LearnPress < 4.1.4 - Admin+ SQL Injection
Sources
Also known as GHSA-98wp-w76v-f75p.