Path Traversal in Geoffrowland Jmol
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. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-02 UTC.
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.031, 87.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Geoffrowland Jmol
- Moodle Jmol Plugin — versions 0
Weakness classification (CWE)
References
- www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/ (Exploit, technical-description, Third Party Advisory, exploit)
- www.exploit-db.com/exploits/46881 (Exploit, Third Party Advisory, exploit, third-party-advisory)
- vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal (Third Party Advisory, third-party-advisory)