CVE-2023-6567 LearnPress <= 4.2.5.7 - Unauthenticated SQL Injection via order_by
Unauthenticated attackers can exploit SQL injection in the order_by parameter to extract sensitive database information from the LearnPress WordPress plugin.
- 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-2023-6567?
CVE-2023-6567 is a critical SQL injection vulnerability in thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, published on 11 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The LearnPress plugin for WordPress is vulnerable to time-based SQL Injection via the ‘order_by’ parameter in all versions up to, and including, 4.2.5.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-2023-6567?
It affects 1 product.
Products include Thimpress Learnpress.
How do I fix CVE-2023-6567?
No fix has been published for CVE-2023-6567 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-2023-6567 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6567 exists.
Public exploit code: 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-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-2021-24951 LearnPress < 4.1.4 - Admin+ SQL Injection
Sources
Also known as GHSA-jc57-7rc4-qqjw.