CVE-2024-8522
High PUBLISHEDLearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'
Not yet in CISA KEV
Recommended Action
Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
At a Glance
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to SQL Injection via the 'c_only_fields' parameter of the /wp-json/learnpress/v1/courses REST API endpoint in all versions up to, and including, 4.2.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.
- CVE Published
- Sep 12, 2024
- Exploitation Reported
- Sep 12, 2024
- CVSS
- 10.0 Critical
- EPSS
- —
Affected Versions
| Vendor | Product | Version | Status |
|---|---|---|---|
| thimpress |
learnpress
|
0 to < 4.2.7 |
Affected |
| thimpress |
LearnPress – WordPress LMS Plugin
|
* to <= 4.2.7 |
Affected |
CVE References
- wordfence.com/threat-intel/vulnerabilities/id/e495507d-7ea... wordfence.com · CVE Record https://www.wordfence.com/threat-intel/vulnerabilities/id/e495507d-7e...
- plugins.trac.wordpress.org/browser/learnpress/trunk/inc/jwt/rest-api/ve... plugins.trac.wordpress.org · CVE Record https://plugins.trac.wordpress.org/browser/learnpress/trunk/inc/jwt/r...
- plugins.trac.wordpress.org/changeset/3148560/learnpress/tags/4.2.7.1/in... plugins.trac.wordpress.org · CVE Record https://plugins.trac.wordpress.org/changeset/3148560/learnpress/tags/...
Recommended Actions
- Prioritize remediation. Validate affected assets and apply vendor fixes on an accelerated timeline.
- Check enrichment artifacts for scanner coverage and available PoCs before rolling remediation validation.
- Use the Pro API to automate enrichment, telemetry, and workflow delivery for VM, SOC, and CTI pipelines.
Known Exploited Vulnerability Sources
Catalogues that list this CVE as a known exploited vulnerability.
Per-source evidence links for KEV attestations are available through the KEVIntel Pro API.
Learn about Pro API access| Source | Added |
|---|---|
| The Shadowserver First | 2024-09-12 08:30 UTC |
Scanner Artifacts
Nuclei and Metasploit references linked to this CVE.
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-8522.yaml | Apr 25, 2025 |
Virtual Patch
Compensating WAF rules to help reduce exposure to this CVE. Rule content and deployable vendor exports are available with KEVIntel Enterprise.
KEVIntel does not currently have a virtual patch for this CVE. When available, KEVIntel virtual patches ship as deployable ModSecurity, Cloudflare, and AWS WAF rules.
Enterprise feature. Virtual patch rule content and deployable vendor exports (ModSecurity, Cloudflare, AWS WAF) are available to KEVIntel Enterprise users.
CVSS Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Exploitation Status
Exploited in the wild
Recorded 2024-09-12 08:30:46 UTC · The Shadowserver
Proof of concept available
Recorded 2024-09-19 07:04:12 UTC · GitHub
Weaknesses (CWE)
-
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Scanner Integrations
| Scanner | Reference | Detected |
|---|---|---|
| Nuclei | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-8522.yaml | Apr 25, 2025 |
Potential Proof of Concepts
These PoCs are unverified and could contain malware. Use at your own risk.
github · Created 2024-09-19 07:04:12 UTC · 2 stars
LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'
nuclei · Created Unknown
Timeline
Key exploitation, disclosure, scanner coverage, and KEV attestation events for this CVE.
-
00:00 UTC about 1 year ago00:00 UTC · about 1 year ago
Nuclei template available
Scanner coverage available
-
07:04 UTC almost 2 years ago07:04 UTC · almost 2 years ago
Public PoC available
Public proof-of-concept code published
-
08:30 UTC almost 2 years ago08:30 UTC · almost 2 years ago
CVE published
Vulnerability disclosed publicly
-
08:30 UTC almost 2 years ago08:30 UTC · almost 2 years ago
Added to KEVIntel KEV Feed
High-confidence, third-party attested exploitation
-
15:23 UTC almost 2 years ago15:23 UTC · almost 2 years ago
CVE ID reserved
Identifier reserved by the CNA
Automate This Intelligence with the Pro API
Confidence scoring, exploit status, sensor telemetry, PoCs, scanner integrations, mentions, and tags are available programmatically for VM, SOC, and CTI workflows.
Pro API Example
GET /api/v2/pro/kevs/CVE-2024-8522
{
"cve_id": "CVE-2024-8522",
"title": "LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection vi...",
"affected_vendor": "thimpress",
"affected_product": "LearnPress – WordPress LMS Plugin",
"affected_versions": [
{ "vendor": "...", "product": "...", "status": "affected", "display_label": "..." }
],
"confidence": "High",
"cvss_score": 10.0,
"epss_score": null,
"exploit_status": {
"exploited_in_the_wild": true,
"active_exploitation_observed": false
},
"sensor_telemetry": { "...": "Pro API fields" },
"proof_of_concepts": [ "..." ],
"scanner_integrations": [ "..." ]
}