Server-Side Request Forgery (SSRF) in Symfony - CVE-2024-50342

 

Server-Side Request Forgery (SSRF) in Symfony - CVE-2024-50342

Published: November 6, 2024


Vulnerability identifier: #VU99966
CSH Severity: Medium
CVSS v4: 5.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N]
CVE-ID: CVE-2024-50342
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The vulnerability exists due to insufficient validation of user-supplied input when using NoPrivateNetworkHttpClient. A remote user can send a specially crafted HTTP request 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

Symfony
Debian Linux
Ubuntu
Fedora
php-symfony (Ubuntu package)
symfony (Debian package)
php-bartlett-PHP-CompatInfo

How to mitigate CVE-2024-50342

Install updates from vendor's website.

Symfony - addressed in versions 5.4.46, 6.4.14, 7.1.7
php-symfony (Ubuntu package) - update to Ubuntu Pro
symfony (Debian package) - update to 5.4.23+dfsg-1+deb12u3
php-bartlett-PHP-CompatInfo - addressed in versions 7.1.4-3.fc39, 7.1.4-3.fc40, 7.1.4-3.fc41

External References

Related Security Bulletins