Description
phpCAS before 1.3.2 does not verify that the server hostname matches a domain name in the subject's Common Name (CN) or subjectAltName field of the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | php-cas | 1.3.1-2 | — |
| Debian 13 | php-cas | 1.3.1-2 | — |
| Debian 12 | php-cas | 1.3.1-2 | — |
References
- https://github.com/Jasig/phpCAS/blob/master/docs/ChangeLog
- 51818 third-party-advisory
- phpcas-ssl-certificate-spoofing(81208) vdb-entry