CVE-2025-34031

7.5 HIGH
Published: June 24, 2025 Modified: November 20, 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. Exploitation evidence was observed by the Shadowserver Foundation on 2025-02-02 UTC.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://vulncheck.com/advisories/moodle-lms-jmol-plugin-path-traversal
Source: disclosure@vulncheck.com
Third Party Advisory
https://www.dionach.com/moodle-jmol-plugin-multiple-vulnerabilities/
Source: disclosure@vulncheck.com
Exploit Third Party Advisory
https://www.exploit-db.com/exploits/46881
Source: disclosure@vulncheck.com
Exploit Third Party Advisory
https://www.exploit-db.com/exploits/46881
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
Exploit Third Party Advisory

4 reference(s) from NVD

Quick Stats

CVSS v3 Score
7.5 / 10.0
EPSS (Exploit Probability)
14.5%
94th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

geoffrowland