CVE-2024-4434
published 2024-05-14CVE-2024-4434: The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to time-based SQL Injection via the ‘term_id’ parameter in versions up to, and…
PriorityP186critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
ITWEXPLOITVulnCheck KEV
Exploited in the wild
EPSS
36.93%
98.3th percentile
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to time-based SQL Injection via the ‘term_id’ parameter in versions up to, and including, 4.2.6.5 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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| thimpress | learnpress | < 4.2.6.6 | 4.2.6.6 |
| thimpress | learnpress_wordpress_lms_plugin_for_create_and_sell_online_courses | <= 4.2.6.5 | — |
Detection & IOCsextracted from sources · hover to see the quote
regex"nonce":"([a-z0-9]+)","is_course_archive"
- →Exploitation can be detected by monitoring for HTTP 200 responses with Content-Type 'application/json' containing both 'No courses were found' and 'success' in the body, which is the expected server response during exploitation probing.
- →A nonce value is extracted from the response body matching the pattern '"nonce":"([a-z0-9]+)","is_course_archive"' and used internally in multi-step exploitation, indicating automated exploitation tooling.
- ·The vulnerability is exploitable by unauthenticated attackers, meaning no authentication bypass is required — any anonymous HTTP request can trigger the SQL injection via the 'term_id' parameter. ↗
- ·The exploit probe checks for LearnPress WordPress LMS Plugin version context and uses a two-step request flow (nonce extraction then injection), so single-request detections may miss the full attack chain.
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
vulncheck9.8CRITICAL
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-4h95-2x33-pw42: The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to time-based SQL Injection via the ‘term_id’ parameter in versions up to, an
ghsa_unreviewed·2024-05-14
CVE-2024-4434 [CRITICAL] CWE-89 GHSA-4h95-2x33-pw42: The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to time-based SQL Injection via the ‘term_id’ parameter in versions up to, an
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to time-based SQL Injection via the ‘term_id’ parameter in versions up to, and including, 4.2.6.5 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.
VulnCheck
thimpress learnpress Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
vulncheck·2024·CVSS 9.8
CVE-2024-4434 [CRITICAL] thimpress learnpress Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
thimpress learnpress Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to time-based SQL Injection via the ‘term_id’ parameter in versions up to, and including, 4.2.6.5 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.
Affected: thimpress learnpress
Required Action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Exploitation References:
No detection rules found.
Nuclei
LearnPress WordPress LMS Plugin <= 4.2.6.5 - SQL Injection
nuclei·CVSS 9.8
CVE-2024-4434 [CRITICAL] LearnPress WordPress LMS Plugin <= 4.2.6.5 - SQL Injection
LearnPress WordPress LMS Plugin = 6"
- "status_code_2 == 200"
- 'contains(content_type,"application/json")'
- 'contains_all(body_2,"No courses were found","success")'
condition: and
extractors:
- type: regex
name: nonce
part: body
group: 1
regex:
- '"nonce":"([a-z0-9]+)","is_course_archive"'
internal: true
# digest: 4b0a00483046022100d70fce4809e5ca86b531c268e0030515073e8f8a8ade998c1eabd5c6e0c6f53c022100e289ef9263147423caec40e4ba57556e1fe130ce2d99c33f1ae328205a1ecc70:922c64590222798bb761d5b6d8e72950
No writeups or analysis indexed.
https://inky-knuckle-2c2.notion.site/Unauthenticated-SQLI-in-Learnpress-plugin-Latest-Version-4-2-6-5-a86fe63bcc7b4c9988802688211817fd?pvs=25https://plugins.trac.wordpress.org/browser/learnpress/tags/4.2.6.5/inc/Databases/class-lp-course-db.php#L508https://plugins.trac.wordpress.org/changeset/3082204/https://www.wordfence.com/threat-intel/vulnerabilities/id/2d64e1c6-1e25-4438-974d-b7da0979cc40?source=cvehttps://inky-knuckle-2c2.notion.site/Unauthenticated-SQLI-in-Learnpress-plugin-Latest-Version-4-2-6-5-a86fe63bcc7b4c9988802688211817fd?pvs=25https://plugins.trac.wordpress.org/browser/learnpress/tags/4.2.6.5/inc/Databases/class-lp-course-db.php#L508https://plugins.trac.wordpress.org/changeset/3082204/https://www.wordfence.com/threat-intel/vulnerabilities/id/2d64e1c6-1e25-4438-974d-b7da0979cc40?source=cve
2024-05-14
Published
Exploited in the wild