Vulnerability record · CVE-2023-6567 · published 11 January 2024
CVE-2023-6567: LearnPress WordPress plugin unauthenticated time-based SQL injection
Thimpress · Learnpress
The LearnPress plugin for WordPress is vulnerable to time-based SQL injection through the 'order_by' parameter in all versions up to and including 4.2.5.7. The user-supplied parameter is insufficiently escaped and the SQL query is not properly prepared, allowing additional SQL to be appended. This matters because it exposes the WordPress database to unauthenticated attackers.
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Automated analysis
high priorityUnauthenticated network-reachable SQL injection with high confidentiality impact and a high EPSS score, though not listed in KEV.
What it is
The LearnPress plugin for WordPress is vulnerable to time-based SQL injection through the 'order_by' parameter in all versions up to and including 4.2.5.7. The user-supplied parameter is insufficiently escaped and the SQL query is not properly prepared, allowing additional SQL to be appended. This matters because it exposes the WordPress database to unauthenticated attackers.
Impact
An attacker can extract sensitive information from the database, including potentially user credentials and other stored data. The CVSS vector indicates high confidentiality impact with no integrity or availability impact.
Attack surface
The flaw is reachable over the network via the 'order_by' parameter, with no authentication and no user interaction required per the CVSS vector (AV:N/AC:L/PR:N/UI:N). Any exposed WordPress site running an affected LearnPress version is a candidate target.
Exploitation
CISA KEV does not list this CVE, but EPSS is high at 0.51394 (98.9th percentile), indicating elevated likelihood of exploitation activity. References are third-party advisories only and do not document in-the-wild exploitation.
What to do
- Update LearnPress to a version newer than 4.2.5.7, which contains the fix referenced in the plugin changeset.
- If immediate patching is not possible, disable or remove the LearnPress plugin until it can be updated.
- Deploy a web application firewall rule to block SQL injection patterns targeting the 'order_by' parameter.
- Restrict database account privileges used by WordPress to the minimum required.
- Monitor plugin advisories from Wordfence and the WordPress plugin repository for follow-up guidance.
Detection
- Review web server and WAF logs for requests containing SQL syntax or time-delay functions in the 'order_by' parameter.
- Look for unusually long response times or repeated requests to LearnPress endpoints that could indicate time-based blind SQL injection probing.
- Audit database query logs for unexpected SQL appended to LearnPress queries.
- Check for anomalous outbound or database access patterns consistent with data extraction.
This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.
Affected products
1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://plugins.trac.wordpress.org/changeset/3013957/learnpress | Third Party Advisory |
| https://www.wordfence.com/threat-intel/vulnerabilities/id/6ab578cd-3a0b-43d3-aaa7-0a01f431a4e2?source=cve | Third Party Advisory |
| https://plugins.trac.wordpress.org/changeset/3013957/learnpress | Third Party Advisory |
| https://www.wordfence.com/threat-intel/vulnerabilities/id/6ab578cd-3a0b-43d3-aaa7-0a01f431a4e2?source=cve | Third Party Advisory |
Track CVE-2023-6567 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2023-6567), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.