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.
History

Wed, 25 Jun 2025 13:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 24 Jun 2025 04:45:00 +0000


Tue, 24 Jun 2025 02:30:00 +0000


Tue, 24 Jun 2025 01:15:00 +0000

Type Values Removed Values Added
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.
Title Moodle LMS Jmol Plugin Path Traversal
Weaknesses CWE-20
CWE-200
CWE-22
References
Metrics cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published: 2025-06-24T00:58:57.345Z

Updated: 2025-06-25T12:43:16.632Z

Reserved: 2025-04-15T19:15:22.546Z

Link: CVE-2025-34031

cve-icon Vulnrichment

Updated: 2025-06-25T12:38:10.995Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-06-24T01:15:23.340

Modified: 2025-06-26T18:58:14.280

Link: CVE-2025-34031

cve-icon Redhat

No data.