CVE-2021-24951 LearnPress < 4.1.4 - Admin+ SQL Injection
An authenticated admin can exploit SQL injection in LearnPress to read or modify database contents via unsanitized input during content duplication.
- 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-2021-24951?
CVE-2021-24951 is a critical SQL injection vulnerability in Unknown LearnPress – WordPress LMS Plugin, published on 13 Dec 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The LearnPress WordPress plugin before 4.1.4 does not sanitise, validate and escape the id parameter before using it in SQL statements when duplicating course/lesson/quiz/question, leading to SQL Injections issues
Weakness: CWE-89
Which versions are affected by CVE-2021-24951?
It affects 1 product.
Products include Thimpress Learnpress.
How do I fix CVE-2021-24951?
No fix has been published for CVE-2021-24951 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-2021-24951 being exploited?
There is no known exploitation of CVE-2021-24951 in the wild and no public exploit code.
Other vulnerabilities in Unknown LearnPress – WordPress LMS Plugin
- CVE-2024-8522 LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'
- CVE-2024-8529 LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_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
Sources
Also known as GHSA-c9xv-q798-33wg.