CVE-2025-34031

A path traversal vulnerability exists in the Moodle LMS Jmol plugin version 6.1 and prior via the query parameter in jsmol.php. The script directly passes user input to the file_get_contents() function without proper validation, allowing attackers to read arbitrary files from the server's filesystem by crafting a malicious query value. This vulnerability can be exploited without authentication and may expose sensitive configuration data, including database credentials.
CVSS

No CVSS.

Configurations

No configuration.

History

25 Jun 2025, 13:15

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de path traversal en el complemento Moodle LMS Jmol versión 6.1 y anteriores mediante el parámetro de consulta en jsmol.php. El script pasa directamente la entrada del usuario a la función file_get_contents() sin la validación adecuada, lo que permite a los atacantes leer archivos arbitrarios del sistema de archivos del servidor mediante la manipulación de un valor de consulta malicioso. Esta vulnerabilidad puede explotarse sin autenticación y puede exponer datos de configuración confidenciales, incluidas las credenciales de la base de datos.
References () https://www.exploit-db.com/exploits/46881 - () https://www.exploit-db.com/exploits/46881 -

24 Jun 2025, 03:15

Type Values Removed Values Added
References
  • {'url': 'https://vulncheck.com/advisories/moodle-lms-jmol-jsmol-plugin-path-traversal', 'source': 'disclosure@vulncheck.com'}
  • () https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal -

24 Jun 2025, 01:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-24 01:15

Updated : 2025-06-26 18:58


NVD link : CVE-2025-34031

Mitre link : CVE-2025-34031

CVE.ORG link : CVE-2025-34031


JSON object : View

Products Affected

No product.

CWE
CWE-20

Improper Input Validation

CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-200

Exposure of Sensitive Information to an Unauthorized Actor