CVE-2024-6589 LearnPress <= 4.2.6.8.2 - Authenticated (Contributor+) Local File Inclusion
Authenticated contributors can exploit a local file inclusion vulnerability in the LearnPress plugin to execute arbitrary PHP code and access sensitive data.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-6589?
CVE-2024-6589 is a high-severity path traversal vulnerability in thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses, published on 25 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-98
Which versions are affected by CVE-2024-6589?
It affects 1 product.
Products include Thimpress Learnpress.
How do I fix CVE-2024-6589?
No fix has been published for CVE-2024-6589 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-6589 being exploited?
There is no known exploitation of CVE-2024-6589 in the wild and no public exploit code.
Other vulnerabilities in thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses
- CVE-2024-8522 LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_only_fields'
- CVE-2024-8529 LearnPress – WordPress LMS Plugin <= 4.2.7 - Unauthenticated SQL Injection via 'c_fields'
- CVE-2022-45808 WordPress LearnPress Plugin <= 4.1.7.3.2 is vulnerable to SQL Injection
- CVE-2024-4434 LearnPress – WordPress LMS Plugin <= 4.2.6.5 - Unauthenticated Time-Based SQL Injection
- CVE-2023-6567 LearnPress <= 4.2.5.7 - Unauthenticated SQL Injection via order_by
Sources
Also known as GHSA-5ggc-7h9v-5396.