8.7high
Moodle LMS Jmol Plugin Path Traversal
- Severity
- 8.7high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 6.62% (higher than 94% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
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. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-02 UTC.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Moodle Jmol Plugin | up to 6.1 | CVE List |
| geoffrowland jmol | up to 6.1 | NVD |
All scores
| VulnCheck | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-02 UTC.
NVD (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.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/ | exploit, technical-description, third-party-advisory | |
| https://www.exploit-db.com/exploits/46881 | exploit, third-party-advisory | |
| https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-34031 changed 2026-05-14 | CVE Terms of Use |
| NVD | CVE-2025-34031 changed 2026-06-17 | Public domain |