CVE-2024-6589
published high CVSS 3.1 · 8.8LearnPress <= 4.2.6.8.2 - Authenticated (Contributor+) Local File Inclusion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| thimpress | — | LearnPress – WordPress LMS Plugin for Create and Sell Online Courses0 through 4.2.6.8.2 · Other versions: unaffected | Affected | Not stated | Wordfence |
| thimpress | — | learnpress0 through 4.6.2.8 · Other versions: unknown | Affected | Not stated | CISA-ADP |
Description
The LearnPress – WordPress LMS Plugin plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.2.6.8.2 via the 'render_content_block_template' function. This makes it possible for authenticated attackers, with Contributor-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| thimpress | LearnPress – WordPress LMS Plugin for Create and Sell Online Courses | 0 through 4.2.6.8.2 (affected · semver)Default: unaffected | Wordfence · cna |
| thimpress | learnpress | 0 through 4.6.2.8 (affected · semver)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-98 CWE-98 Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
References
4- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.2.6.8.2/inc/block-template/class-block-template-archive-course.php#L28
- https://plugins.trac.wordpress.org/browser/learnpress/tags/4.2.6.8.2/inc/block-template/class-block-template-single-course.php#L28
- https://plugins.trac.wordpress.org/changeset/3124296/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ba79bf95-08f8-4aa6-968b-f76a09ce52b8?source=cve
Provider assertions
3Wordfence · cna
LearnPress <= 4.2.6.8.2 - Authenticated (Contributor+) Local File Inclusion
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 52989f29a47f72262c022aeb7eed59d522ee7a996516882bd58360a534bc2c4e
- Ingested
- 23 Sep 2026, 08:33:19 UTC
- Source record
- Official CVE record