CVE-2025-34031
Severity CVSS v4.0:
HIGH
Type:
CWE-20
Input Validation
Publication date:
24/06/2025
Last modified:
09/07/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.
Impact
Base Score 4.0
8.70
Severity 4.0
HIGH
Base Score 3.x
7.50
Severity 3.x
HIGH
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:geoffrowland:jmol:*:*:*:*:*:moodle:*:* | 6.1 (including) |
To consult the complete list of CPE names with products and versions, see this page