{"id":"CVE-2012-5583","aliases":["DEBIAN-CVE-2012-5583","EUVD-2012-5470","GHSA-qwv4-3pjq-hx89"],"status":"published","title":"phpCAS before 1.3.2 does not verify that the server hostname matches a domain name in the subject...","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.","severity":{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00585,"percentile":0.48222,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-310"],"published":"2014-06-06T14:00:00Z","modified":"2026-10-23T17:47:24Z","fixes":[{"ecosystem":"Debian:12","package":"php-cas","fixed_in":["1.3.1-2"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"php-cas","fixed_in":["1.3.1-2"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"php-cas","fixed_in":["1.3.1-2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"php-cas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-2"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"php-cas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-2"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"php-cas","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.3.1-2"}]}]}],"products":[{"vendor":"apereo","product":"phpcas"}],"references":[{"url":"https://github.com/Jasig/phpCAS/blob/master/docs/ChangeLog","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://secunia.com/advisories/51818","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","advisory"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/81208","tags":["vdb-entry","x_refsource_XF","x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-5583"},{"url":"https://github.com/advisories/GHSA-qwv4-3pjq-hx89"},{"url":"https://security-tracker.debian.org/tracker/CVE-2012-5583","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2012-5583","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.","status":"published","published":"2014-06-06T14:00:00Z","modified":"2024-08-06T21:14:16.239Z","updated_at":"2026-11-02T14:34:49.246229Z"}],"euvd":[{"id":"EUVD-2012-5470","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.","status":"published","published":"2014-06-06T14:00:00Z","modified":"2024-08-06T21:14:16Z","updated_at":"2026-11-03T01:56:04.46975Z"}],"ghsa":[{"id":"GHSA-qwv4-3pjq-hx89","title":"phpCAS before 1.3.2 does not verify that the server hostname matches a domain name in the subject...","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.","status":"published","published":"2022-05-13T01:29:06Z","modified":"2023-02-01T05:07:51Z","updated_at":"2026-11-02T14:50:37.729708Z"}],"nvd":[{"id":"CVE-2012-5583","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.","status":"published","published":"2014-06-06T14:55:03.777Z","modified":"2026-06-16T23:47:03.077Z","cvss":[{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-310"],"updated_at":"2026-11-02T14:02:17.748457Z"}],"osv":[{"id":"CVE-2012-5583","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.","status":"published","published":"2014-06-06T14:55:03Z","modified":"2026-04-10T03:42:32.414538Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2012-5583","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.","status":"published","published":"2014-06-06T14:55:03.777Z","modified":"2026-10-23T17:47:24.860821758Z","updated_at":"2026-11-02T15:45:25.218101Z"}]}}
