Symfony
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*, +1 more
- >= 5.4, < 5.4.53
- >= 6.4, < 6.4.41
- >= 7.0, < 7.4.13
- >= 8.0, < 8.0.13
A vulnerability exists in Symfony's HttpClient and HttpFoundation components, specifically in versions 5.4.0 prior to 5.4.53, 6.4.41, 7.4.13, and 8.0.13. The issue arises because the NoPrivateNetworkHttpClient component and the IpUtils::PRIVATE_SUBNETS constant fail to account for certain IPv6 transition prefixes, such as 6to4, NAT64, Teredo, and IPv4-compatible IPv6. This oversight allows attacker-controlled URLs to bypass private network restrictions and access private IPv4 targets, creating a server-side request forgery (SSRF) vulnerability.
Exploitation of this vulnerability leads to a server-side request forgery (SSRF) condition, where requests can be made to private network resources that should be blocked.
The vulnerability can be reproduced by sending a request through the NoPrivateNetworkHttpClient component with an IPv6 address that includes a private IPv4 destination, such as 6to4 or NAT64. The request will be processed as if it were going to a public address, potentially allowing access to private network resources.
Users can upgrade to Symfony versions 5.4.53, 6.4.41, 7.4.13, or 8.0.13, where this vulnerability has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.