CVE-2025-34031: Moodle LMS Jmol Plugin Path Traversal

Published Jun 24, 2025
·
Updated

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 filegetcontents() 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.

Affected Software

2 affected components
Moodle LMS Jmol plugin<6.1
Geoffrowland Jmol Moodle<=6.1

Event History

Jun 24, 2025
CVE Published
via MITRE·12:58 AM
Data Sourced
via MITRE·12:58 AM
DescriptionWeakness
Data Sourced
via NVD·01:15 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-34031?

CVE-2025-34031 has a high severity due to its ability to allow attackers to read arbitrary files from the server.

2

How do I fix CVE-2025-34031?

To fix CVE-2025-34031, update the Moodle LMS Jmol plugin to version 6.2 or later where the vulnerability has been patched.

3

What impact does CVE-2025-34031 have?

CVE-2025-34031 can lead to unauthorized access to sensitive files on the server, jeopardizing data security.

4

Which versions are affected by CVE-2025-34031?

CVE-2025-34031 affects the Moodle LMS Jmol plugin version 6.1 and prior.

5

Is CVE-2025-34031 exploitable remotely?

Yes, CVE-2025-34031 is exploitable remotely as it involves a vulnerability in a publicly accessible script.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203