nuclei-templates/http/vulnerabilities/other/nextjs-redirect.yaml

40 lines
1.2 KiB
YAML
Raw Normal View History

2023-02-16 10:56:36 +00:00
id: nextjs-redirect
info:
name: Next.js <1.2.3 - Open Redirect
2023-02-16 10:56:36 +00:00
author: DhiyaneshDk
severity: medium
description: Next.js contains an open redirect via “_next/image” due to improper path parsing.
remediation: Upgrade to Next.js version 1.2.3 or higher.
2023-02-16 10:56:36 +00:00
reference:
- https://github.com/netlify/netlify-ipx/security/advisories/GHSA-9jjv-524m-jm98
2023-02-16 10:56:36 +00:00
- https://samcurry.net/universal-xss-on-netlifys-next-js-library/
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cwe-id: CWE-601
2024-09-10 08:22:50 +00:00
cpe: cpe:2.3:a:zeit:next.js:*:*:*:*:*:*:*:*
2023-02-16 10:56:36 +00:00
metadata:
max-request: 1
2023-02-16 10:56:36 +00:00
shodan-query: html:"/_next/static"
2024-09-10 08:22:50 +00:00
product: next.js
vendor: zeit
2024-01-14 09:21:50 +00:00
tags: redirect,nextjs,xss
2023-02-16 10:56:36 +00:00
http:
2023-02-16 10:56:36 +00:00
- method: GET
path:
- '{{BaseURL}}/_next/image?url=/\/\interact.sh/&q=100&w=128&h=128'
matchers-condition: and
matchers:
- type: word
part: header
words:
- 'Location: /\/\/interact.sh'
- type: status
status:
- 308
2024-09-10 08:22:50 +00:00
# digest: 4a0a0047304502205cea4e717c7c2a70efdf78bbfdc71c7003cd0e55f055d264c130cd4adf52bf1e022100e235d5d012538e5f42ebf9eb3091963591b6fc3ac472866adcf48c7d07fc469f:922c64590222798bb761d5b6d8e72950