Symfony Http Client
Monthly
Symfony HttpClient allows a remote unauthenticated client to redirect the application's outbound HTTP requests through an attacker-controlled proxy by sending a Proxy header, but only when the application runs as a long-lived HTTP worker under the CLI SAPI - spiral/roadrunner-http (used by the php-runtime RoadRunner runner), baldinof/roadrunner-bundle, or php-pm - and performs server-side requests with the 'proxy' option left unset; those workers copy request headers into $_SERVER, where the CLI code path previously read HTTP_PROXY. Requests the application makes while handling the attacker's request then traverse the attacker's proxy, exposing full request bodies and credentials for http:// targets, leaking host and port via CONNECT for https:// targets, and allowing response forgery. Conventional web SAPIs (mod_php, php-fpm) are unaffected because PHP's existing httpoxy mitigation makes them ignore HTTP_PROXY; patched releases are 5.4.57, 6.4.51, 7.4.24 and 8.1.12, and no public exploit has been identified at the time of analysis.
Symfony's NoPrivateNetworkHttpClient (and, since 8.1, DnsResolvingHttpClient) re-issues each redirect hop as a fresh request through the client it decorates, and the decorated client re-applies its own defaults - auth_basic, auth_bearer, auth_ntlm and fixed Authorization/Cookie headers - on cross-origin redirects, so those credentials are transmitted to any origin a response redirects to. The classic abuse path is an open redirect on the server the application legitimately calls, with auth_ntlm being especially dangerous because curl will begin an NTLM handshake with the foreign origin, letting it harvest the application's NTLM response. The flaw affects Symfony HTTP client 5.4.48 through 5.4.56, 6.4.16 through 6.4.50, 7.1.9 through 7.4.23 and the corresponding 8.x branches, was reported by Symfony's own security process, and carries CVSS 4.0 8.2 (High) with confidentiality-only impact; no public exploit code was identified at time of analysis and there is no CISA KEV entry.
Symfony's NoPrivateNetworkHttpClient decorator (and, since Symfony 8.1, DnsResolvingHttpClient) pre-populates every request with the library's own default options before forwarding it, causing the decorated client to skip its own defaults - silently discarding TLS trust restrictions such as peer_fingerprint, a private cafile or a minimum crypto_method, plus default proxy and max_redirects settings. Applications in Symfony 5.4.48 to <5.4.57, 6.4.16 to <6.4.51 and 7.1.9 to <7.4.24 that wrap a hardened client in this decorator (including via FrameworkBundle default_options on the innermost client) can therefore be made to accept a certificate the operator intended to reject; an on-path attacker holding a certificate the system trust store already accepts can read and answer the traffic. The trigger requires that non-default deployment, and no public exploit was identified at time of analysis; vendor patches are available in 5.4.57, 6.4.51 and 7.4.24.
Cross-user response leakage in Symfony's CachingHttpClient lets one user's cached response be served to a different user: credentials supplied through withOptions() (auth_bearer, auth_basic, an Authorization header or a Cookie header) reach the upstream server but never reach the caching decorator, so they are absent from the cache key and the shared-cache rule that forbids storing responses to requests carrying an Authorization header is never applied. Organizations running Symfony HTTP Client 7.4 through 7.4.23 or 8.0 through 8.1.11 are exposed when they enable caching on a client, attach per-user credentials with withOptions(), and call cacheable URLs; the same defect also silently dropped options such as max_redirects, proxy, timeout, local_cert, peer_fingerprint, on_progress and body. No public exploit code has been identified at time of analysis and there is no CISA KEV entry; the vendor has released fixes in 7.4.24 and 8.1.12, and the prioritization signal places remediation in the this-month window.
Symfony HttpClient allows a remote unauthenticated client to redirect the application's outbound HTTP requests through an attacker-controlled proxy by sending a Proxy header, but only when the application runs as a long-lived HTTP worker under the CLI SAPI - spiral/roadrunner-http (used by the php-runtime RoadRunner runner), baldinof/roadrunner-bundle, or php-pm - and performs server-side requests with the 'proxy' option left unset; those workers copy request headers into $_SERVER, where the CLI code path previously read HTTP_PROXY. Requests the application makes while handling the attacker's request then traverse the attacker's proxy, exposing full request bodies and credentials for http:// targets, leaking host and port via CONNECT for https:// targets, and allowing response forgery. Conventional web SAPIs (mod_php, php-fpm) are unaffected because PHP's existing httpoxy mitigation makes them ignore HTTP_PROXY; patched releases are 5.4.57, 6.4.51, 7.4.24 and 8.1.12, and no public exploit has been identified at the time of analysis.
Symfony's NoPrivateNetworkHttpClient (and, since 8.1, DnsResolvingHttpClient) re-issues each redirect hop as a fresh request through the client it decorates, and the decorated client re-applies its own defaults - auth_basic, auth_bearer, auth_ntlm and fixed Authorization/Cookie headers - on cross-origin redirects, so those credentials are transmitted to any origin a response redirects to. The classic abuse path is an open redirect on the server the application legitimately calls, with auth_ntlm being especially dangerous because curl will begin an NTLM handshake with the foreign origin, letting it harvest the application's NTLM response. The flaw affects Symfony HTTP client 5.4.48 through 5.4.56, 6.4.16 through 6.4.50, 7.1.9 through 7.4.23 and the corresponding 8.x branches, was reported by Symfony's own security process, and carries CVSS 4.0 8.2 (High) with confidentiality-only impact; no public exploit code was identified at time of analysis and there is no CISA KEV entry.
Symfony's NoPrivateNetworkHttpClient decorator (and, since Symfony 8.1, DnsResolvingHttpClient) pre-populates every request with the library's own default options before forwarding it, causing the decorated client to skip its own defaults - silently discarding TLS trust restrictions such as peer_fingerprint, a private cafile or a minimum crypto_method, plus default proxy and max_redirects settings. Applications in Symfony 5.4.48 to <5.4.57, 6.4.16 to <6.4.51 and 7.1.9 to <7.4.24 that wrap a hardened client in this decorator (including via FrameworkBundle default_options on the innermost client) can therefore be made to accept a certificate the operator intended to reject; an on-path attacker holding a certificate the system trust store already accepts can read and answer the traffic. The trigger requires that non-default deployment, and no public exploit was identified at time of analysis; vendor patches are available in 5.4.57, 6.4.51 and 7.4.24.
Cross-user response leakage in Symfony's CachingHttpClient lets one user's cached response be served to a different user: credentials supplied through withOptions() (auth_bearer, auth_basic, an Authorization header or a Cookie header) reach the upstream server but never reach the caching decorator, so they are absent from the cache key and the shared-cache rule that forbids storing responses to requests carrying an Authorization header is never applied. Organizations running Symfony HTTP Client 7.4 through 7.4.23 or 8.0 through 8.1.11 are exposed when they enable caching on a client, attach per-user credentials with withOptions(), and call cacheable URLs; the same defect also silently dropped options such as max_redirects, proxy, timeout, local_cert, peer_fingerprint, on_progress and body. No public exploit code has been identified at time of analysis and there is no CISA KEV entry; the vendor has released fixes in 7.4.24 and 8.1.12, and the prioritization signal places remediation in the this-month window.