CVE-2025-34031
Moodle LMS Jmol Plugin Path Traversal
- State
- Published
- Severity
- 8.7 High
- Published
- Jun 24, 2025
- Updated
- May 14, 2026
- Reserved
- Apr 15, 2025
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 8.7 High | 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 | VulnCheck |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
Jmol PluginMoodle |
|
References
- https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/exploittechnical-description
- https://www.exploit-db.com/exploits/46881third-party-advisoryexploit
- https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversalthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.