{"id":"CVE-2025-34031","aliases":["CVE-2025-34031"],"related":[],"kind":"vulnerability","state":"published","title":"Moodle LMS Jmol Plugin Path Traversal","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2025-06-24T00:58:57.345Z","modified":"2026-06-17T09:13:20.430Z","severity":{"scorer":"VulnCheck","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS: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","score":8.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"6.1","status":"affected"}],"vendor":"Moodle","product":"Jmol Plugin","source":"cvelist"},{"ranges":[{"status":"affected","lastAffected":"6.1"}],"vendor":"geoffrowland","product":"jmol","cpe":"cpe:2.3:a:geoffrowland:jmol:*:*:*:*:*:moodle:*:*","source":"nvd"}],"references":[{"url":"https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/","tags":["exploit","technical-description","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://www.exploit-db.com/exploits/46881","tags":["exploit","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Dionach by Nomios"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2025-06-25T12:37:56.527Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-34031","url":"https://www.cve.org/CVERecord?id=CVE-2025-34031","licence":"CVE Terms of Use","modified":"2026-05-14T02:07:24.308Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-34031","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-34031","licence":"Public domain","modified":"2026-06-17T09:13:20.430Z"}],"updatedAt":"2026-11-25T22:58:59.542Z","epss":{"score":0.06624,"percentile":0.94006,"date":"2026-12-01T12:00:22.000Z"}}