{"id":"CVE-2025-34031","published":"2025-06-24T00:58:57Z","modified":"2026-05-14T02:07:24Z","title":"Moodle LMS Jmol Plugin Path Traversal","vendor":"Moodle","product":"Jmol Plugin","tier":"core","eol":null,"affectedVersions":[{"vendor":"Moodle","product":"Jmol Plugin","versions":["<= 6.1"]}],"capec":[{"id":"CAPEC-126","name":"Path Traversal"}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-06-25T12:37:56.527120Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.06516,"percentile":0.9455,"date":"2026-11-25","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2025-06-23","exploitedFirstSeen":"2025-06-23","ransomware":false,"evidence":[{"url":"https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal","date":"2025-06-23"},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-34031","date":"2025-06-24"},{"url":"https://dashboard.shadowserver.org/statistics/honeypot/vulnerability/map/?host_type=src&vulnerability=cve-2025-34031","date":"2026-01-21"},{"url":"https://tracker.crowdsec.net/cves/CVE-2025-34031","date":"2026-04-08"}],"evidenceTotal":4,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/","tags":["exploit","technical-description"]},{"url":"https://www.exploit-db.com/exploits/46881","tags":["third-party-advisory","exploit"]},{"url":"https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal","tags":["third-party-advisory"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2025-18971","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-18971","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":46881,"url":"https://www.exploit-db.com/exploits/46881","title":"Moodle Jmol Filter <= 6.1 - Directory Traversal / Cross-Site Scripting (XSS)","type":"webapps","platform":"php","date":"2019-05-21","verified":false,"provenance":"source"},{"id":46881,"url":"https://www.exploit-db.com/exploits/46881","title":"Moodle Jmol Filter <= 6.1 - Directory Traversal / Cross-Site Scripting (XSS)","type":"webapps","platform":"php","date":"2019-05-21","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2019-05-21"},"nuclei":[{"id":"CVE-2025-34031","name":"Moodle Jmol Filter 6.1 - Local File Inclusion","severity":"high","path":"http/cves/2025/CVE-2025-34031.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-34031.yaml"}],"first":{"date":"2019-05-21","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/46881"},"provenance":"source"},"exploitRefs":["https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/","https://www.exploit-db.com/exploits/46881"],"flow":[],"timeline":[{"date":"2019-05-21","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-46881)","url":"https://www.exploit-db.com/exploits/46881","provenance":"source"},{"date":"2025-06-23","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal","provenance":"source"},{"date":"2025-06-24","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2025-34031","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":65.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 520 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":18.91,"detail":"percentile 0.9455"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 references tagged Exploit; 2 Exploit-DB entries; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":6.09,"detail":"base score 8.7"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}