Server-Side Request Forgery (SSRF) in Next.js - CVE-2024-34351

 

Server-Side Request Forgery (SSRF) in Next.js - CVE-2024-34351

Published: May 10, 2024 / Updated: August 23, 2024


Vulnerability identifier: #VU89341
CSH Severity: Medium
CVSS v4 BT: 5.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:N/SA:N/E:P/U:Green]
CVE-ID: CVE-2024-34351
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

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.


Affected software

Next.js
QRadar Suite
QRadar Pre-Validation App

How to mitigate CVE-2024-34351

Install updates from vendor's website.

Next.js - update to 14.1.1
QRadar Suite - update to 1.10.22.0
QRadar Pre-Validation App - update to 2.0.1

External References

Related Security Bulletins