CVE-2025-34031

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

Configuration 1 (hide)

cpe:2.3:a:geoffrowland:jmol:*:*:*:*:*:moodle:*:*

History

09 Jul 2025, 19:09

Type Values Removed Values Added
New CVE

Information

Published : 2025-06-24 01:15

Updated : 2025-07-09 19:09


NVD link : CVE-2025-34031

Mitre link : CVE-2025-34031

CVE.ORG link : CVE-2025-34031


JSON object : View

Products Affected

geoffrowland

  • jmol
CWE
CWE-20

Improper Input Validation

CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-200

Exposure of Sensitive Information to an Unauthorized Actor