CVE-2024-6589
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.
Affected WordPress components
-
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses Plugin · learnpressUp to and including 4.2.6.8.2; Up to and including 4.6.2.8View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- thimpress LearnPress – WordPress LMS Plugin for Create and Sell Online Courses — Up to and including 4.2.6.8.2
- thimpress learnpress — Up to and including 4.6.2.8
- thimpress learnpress — Up to and including 4.2.6.8.2
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/learnpress/tags/4.2.6.8.2/inc/block-template/class-block-template-archive-course.php#L28 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/learnpress/tags/4.2.6.8.2/inc/block-template/class-block-template-single-course.php#L28 Product
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3124296/ Patch
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/ba79bf95-08f8-4aa6-968b-f76a09ce52b8?source=cve Third Party Advisory
- nvd.nist.gov Official NVD record