Symfony Framework Bundle
Monthly
Symfony FrameworkBundle 7.4.0 through 7.4.23 and 8.0.x through 8.1.11 can return full exception dumps - messages, file paths, stack traces and, when the exception references the request, the entire set of server parameters and application environment variables - inside production HTTP error responses. Exposure is confined to a specific deployment: the application must run as an HTTP worker under the cli, phpdbg or embed SAPI (for example php-runtime's RoadRunner, Swoole or ReactPHP runners, or baldinof/roadrunner-bundle before 3.2.4) with the APP_RUNTIME_MODE environment variable unset, which makes the bundle fall back to CLI runtime mode and select CliErrorRenderer even with debug disabled; standard FPM/mod_php setups and FrankenPHP worker mode (which sets the variable) are not affected. A qualifying exception must actually be raised during request handling, with access_control access-denied errors producing the richest disclosure, and no public exploit code has been identified at time of analysis. The vendor has released fixed versions 7.4.24 and 8.1.12.
Symfony FrameworkBundle 7.4.x before 7.4.24 and 8.x before 8.1.12 can disclose scoped HTTP client credentials and other scope options to arbitrary origins when caching is enabled on a scoped client. Because the CachingHttpClient is registered with the scope's options as defaults and merges them into every request, an unauthenticated remote attacker who can influence the requested URL - including absolute or protocol-relative URLs outside the configured base_uri - can receive the scope's Authorization header, auth_bearer or auth_basic credentials, client certificate, proxy or resolve settings, or a verify_peer:false posture. Exploitation requires the opt-in caching feature introduced in Symfony 7.4 plus an attacker-influenced URL; no public exploit code was identified at time of analysis, and the issue is rated CVSS 4.0 6.3 (medium) under CWE-200 and CWE-522.
Open redirect in Symfony's routing and redirect handling lets a crafted request URI whose path info begins with // (or /\, optionally with tabs or newlines in between) turn a router-generated 301 into a Location header pointing at an attacker-chosen host, as in GET https://app.example//evil.example/edit/ returning https://evil.example/edit. Affected installations are symfony/framework-bundle and symfony/symfony at >=5.4.44 and <5.4.57, >=6.4.12 and <6.4.51, >=7.1.5 and <7.4.24, or >=8 and <8.1.12, and exploitation additionally requires the application to define a route whose path starts with a placeholder that accepts slashes, such as /{path}/edit with a .+ requirement; the trailing-slash redirect affects all such routes and the scheme redirect those requiring a scheme. The victim must follow the redirect (UI:P per the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N vector), and no public exploit was identified at time of analysis.
Symfony FrameworkBundle 7.4.0 through 7.4.23 and 8.0.x through 8.1.11 can return full exception dumps - messages, file paths, stack traces and, when the exception references the request, the entire set of server parameters and application environment variables - inside production HTTP error responses. Exposure is confined to a specific deployment: the application must run as an HTTP worker under the cli, phpdbg or embed SAPI (for example php-runtime's RoadRunner, Swoole or ReactPHP runners, or baldinof/roadrunner-bundle before 3.2.4) with the APP_RUNTIME_MODE environment variable unset, which makes the bundle fall back to CLI runtime mode and select CliErrorRenderer even with debug disabled; standard FPM/mod_php setups and FrankenPHP worker mode (which sets the variable) are not affected. A qualifying exception must actually be raised during request handling, with access_control access-denied errors producing the richest disclosure, and no public exploit code has been identified at time of analysis. The vendor has released fixed versions 7.4.24 and 8.1.12.
Symfony FrameworkBundle 7.4.x before 7.4.24 and 8.x before 8.1.12 can disclose scoped HTTP client credentials and other scope options to arbitrary origins when caching is enabled on a scoped client. Because the CachingHttpClient is registered with the scope's options as defaults and merges them into every request, an unauthenticated remote attacker who can influence the requested URL - including absolute or protocol-relative URLs outside the configured base_uri - can receive the scope's Authorization header, auth_bearer or auth_basic credentials, client certificate, proxy or resolve settings, or a verify_peer:false posture. Exploitation requires the opt-in caching feature introduced in Symfony 7.4 plus an attacker-influenced URL; no public exploit code was identified at time of analysis, and the issue is rated CVSS 4.0 6.3 (medium) under CWE-200 and CWE-522.
Open redirect in Symfony's routing and redirect handling lets a crafted request URI whose path info begins with // (or /\, optionally with tabs or newlines in between) turn a router-generated 301 into a Location header pointing at an attacker-chosen host, as in GET https://app.example//evil.example/edit/ returning https://evil.example/edit. Affected installations are symfony/framework-bundle and symfony/symfony at >=5.4.44 and <5.4.57, >=6.4.12 and <6.4.51, >=7.1.5 and <7.4.24, or >=8 and <8.1.12, and exploitation additionally requires the application to define a route whose path starts with a placeholder that accepts slashes, such as /{path}/edit with a .+ requirement; the trailing-slash redirect affects all such routes and the scheme redirect those requiring a scheme. The victim must follow the redirect (UI:P per the assessed CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N vector), and no public exploit was identified at time of analysis.