CVE-2024-6589

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:thimpress:learnpress:*:*:*:*:*:wordpress:*:*

History

26 Aug 2024, 16:21

Type Values Removed Values Added
CWE NVD-CWE-Other
First Time Thimpress
Thimpress learnpress
References () 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-archive-course.php#L28 - Product
References () 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/browser/learnpress/tags/4.2.6.8.2/inc/block-template/class-block-template-single-course.php#L28 - Product
References () https://plugins.trac.wordpress.org/changeset/3124296/ - () https://plugins.trac.wordpress.org/changeset/3124296/ - Patch
References () https://www.wordfence.com/threat-intel/vulnerabilities/id/ba79bf95-08f8-4aa6-968b-f76a09ce52b8?source=cve - () https://www.wordfence.com/threat-intel/vulnerabilities/id/ba79bf95-08f8-4aa6-968b-f76a09ce52b8?source=cve - Third Party Advisory
Summary
  • (es) El complemento LearnPress – WordPress LMS Plugin para WordPress es vulnerable a la inclusión de archivos locales en todas las versiones hasta la 4.2.6.8.2 incluida a través de la función 'render_content_block_template'. Esto hace posible que atacantes autenticados, con acceso de nivel Colaborador y superior, incluyan y ejecuten archivos arbitrarios en el servidor, permitiendo la ejecución de cualquier código PHP en esos archivos. Esto se puede utilizar para omitir los controles de acceso, obtener datos confidenciales o lograr la ejecución de código en los casos en que se puedan cargar e incluir imágenes y otros tipos de archivos "safe".
CPE cpe:2.3:a:thimpress:learnpress:*:*:*:*:*:wordpress:*:*

25 Jul 2024, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-25 11:15

Updated : 2024-08-26 16:21


NVD link : CVE-2024-6589

Mitre link : CVE-2024-6589

CVE.ORG link : CVE-2024-6589


JSON object : View

Products Affected

thimpress

  • learnpress
CWE
NVD-CWE-Other CWE-98

Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')