CVE-2024-34351: high-severity vulnerability in vercel next.js
Next.js Server-Side Request Forgery in Server Actions
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
Patch soon. It has a working public exploit.
A flaw in Next.js Server Actions allows attackers to trick the server into making requests by manipulating the Host header and triggering redirects, making it appear the server itself is the requester. This matters because it can expose internal services or resources that should only be accessible from within the network.
SSRF vulnerability in Next.js Server Actions triggered via Host header manipulation combined with relative path redirects (starting with /). Requires self-hosted Next.js deployment using Server Actions that perform redirects; attacker can forge requests appearing to originate from the application server, potentially accessing internal endpoints or exfiltrating sensitive data. Fixed in Next.js 14.1.1.
In the same product, most dangerous first.