Symfony: Security Firewall Bypass via failure_forward Subrequest: Unauthenticated Access to access_control-Protected GET Routes
symfony · symfony security-http
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| symfony/security-http Packagist |
|
|
symfony · symfony security-http
| Product | Affected | Fixed in |
|---|---|---|
| symfony/security-http Packagist |
|
|
| symfony/symfony Packagist |
|
|
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.53, 6.4.41, 7.4.13, and 8.0.13, DefaultAuthenticationFailureHandler honored the request-supplied _failure_path parameter when failure_forward: true was enabled, allowing an unauthenticated failing login request to dispatch a subrequest to access_control-protected GET routes that skipped firewall listeners. This issue is fixed in versions 5.4.53, 6.4.41, 7.4.13, and 8.0.13.
From the CVE record · GitHub_M
When failure_forward: true is enabled, DefaultAuthenticationFailureHandler honors a request-supplied _failure_path parameter. An unauthenticated attacker can use a failing login request to dispatch a subrequest to access_control-protected GET routes that skip firewall listeners.
Check applications using affected versions of symfony/security-http or symfony: versions before 5.4.53, 6.0.0–6.4.40, 7.0.0–7.4.12, or 8.0.0–8.0.12.