LearnPress <= 4.2.5.7 - Unauthenticated SQL Injection via order_by
No fixed version listed yet.Check the vendor advisory. References ↓
thimpress · LearnPress – WordPress LMS Plugin for Create and Sell Online Courses
The LearnPress WordPress LMS plugin (versions up to and including 4.2.5.7) fails to properly escape or prepare the user-supplied 'order_by' parameter in its SQL queries, enabling SQL injection. An unauthenticated remote attacker over the network, with no user interaction and no special configuration, can use time-based injection to append queries to existing statements and extract sensitive information from the database.
Official description · CVE.org
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.
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 17 months after disclosure. Public exploit code (PoC-in-GitHub) was available the same day.
- First seen exploitedVulnCheck KEV evidence+17 mo
Affected versions and fixes
as published in the CVE recordthimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses
Affected: <= 4.2.5.7