Symfony: Cas2Handler Derives CAS service URL from Client Host Header → Cross-Service Ticket Replay
symfony · symfony security-http
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| symfony/security-http Packagist |
|
|
| symfony/symfony Packagist |
|
symfony · symfony security-http
| Product | Affected | Fixed in |
|---|---|---|
| symfony/security-http Packagist |
|
|
| symfony/symfony Packagist |
|
Cas2Handler builds a CAS service parameter from a request value that can reflect an attacker-controlled Host header when framework.trusted_hosts is not configured. An attacker who controls another application registered with the same CAS server can replay a victim’s ticket against the Symfony application and authenticate as the victim.
Check applications using symfony/security-http or symfony versions >=7.1.0 <7.4.12 or >=8.0.0 <8.0.12.
|
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 7.1.0 until 7.4.12 and 8.0.12, Cas2Handler builds the CAS service parameter from Request::getSchemeAndHttpHost(), which reflects an attacker-controlled Host header when framework.trusted_hosts is not configured; an attacker controlling another application registered with the same CAS server can replay a victim ticket against the Symfony application and authenticate as the victim. This issue is fixed in versions 7.4.12 and 8.0.12.
From the CVE record · GitHub_M