CVE-2024-34351
HIGH NUCLEINext.js - SSRF
Title source: llmDescription
Next.js is a React framework that can provide building blocks to create web applications. A Server-Side Request Forgery (SSRF) vulnerability was identified in Next.js Server Actions. If the `Host` header is modified, and the below conditions are also met, an attacker may be able to make requests that appear to be originating from the Next.js application server itself. The required conditions are 1) Next.js is running in a self-hosted manner; 2) the Next.js application makes use of Server Actions; and 3) the Server Action performs a redirect to a relative path which starts with a `/`. This vulnerability was fixed in Next.js `14.1.1`.
Exploits (6)
github
WORKING POC
40 stars
by iSee857 · pythonpoc
https://github.com/iSee857/CVE-PoC/tree/main/NextJs_SSRF(CVE-2024-34351).py
nomisec
WORKING POC
1 stars
by avergnaud · poc
https://github.com/avergnaud/Next.js_exploit_CVE-2024-34351
Nuclei Templates (1)
Next.js - Server Side Request Forgery (SSRF)
HIGHby righettod
Shodan:
http.html:"/_next/static" || cpe:"cpe:2.3:a:zeit:next.js"
FOFA:
body="/_next/static"
Scores
CVSS v3
7.5
EPSS
0.9275
EPSS Percentile
99.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-918
Status
published
Products (2)
npm/next
13.4.0 - 14.1.1npm
vercel/next.js
13.4.0 - 14.1.1
Published
May 14, 2024
Tracked Since
Feb 18, 2026