Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Geoffrowland | Jmol | <= 6.1 |
Related Weaknesses (CWE)
References
- https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversalThird Party Advisory
- https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/ExploitThird Party Advisory
- https://www.exploit-db.com/exploits/46881ExploitThird Party Advisory
- https://www.exploit-db.com/exploits/46881ExploitThird Party Advisory
FAQ
What is CVE-2025-34031?
CVE-2025-34031 is a vulnerability with a CVSS score of 7.5 (HIGH). 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() functio...
How severe is CVE-2025-34031?
CVE-2025-34031 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-34031?
Check the references section above for vendor advisories and patch information. Affected products include: Geoffrowland Jmol.