ID:9771 - Exploit for Server-Side Request Forgery (SSRF) in Next.js - CVE-2024-34351

 
Main Vulnerability Database Exploits ID:9771 - Exploit for Server-Side Request Forgery (SSRF) in Next.js - CVE-2024-34351

ID:9771 - Exploit for Server-Side Request Forgery (SSRF) in Next.js - CVE-2024-34351

Published: May 13, 2024


Vulnerability identifier: #VU89341
Vulnerability risk: Medium
CVE-ID: CVE-2024-34351
CWE-ID: CWE-918
Exploitation vector: Remote access
Vulnerable software:
Next.js

Link to public exploit:


Vulnerability description

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input in Next.js Server Actions. A remote attacker can send a specially crafted HTTP request with a modified Host header and trick the application to initiate requests to arbitrary systems.

Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.


Remediation

Install updates from vendor's website.