PT-2022-7432

CVE-2022-39369

·

Published

2022-11-01

·

Updated

2025-09-29

Description by

CVSS 2.0
9.0
High
MetricsAV:N/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions phpCAS versions prior to 1.6.0
Description The phpCAS library uses HTTP headers to determine the service URL used to validate tickets, allowing an attacker to control the host header and use a valid ticket granted for any authorized service in the same SSO realm to authenticate to the service protected by phpCAS. This vulnerability may allow an attacker to gain access to a victim's account on a vulnerable CASified service without the victim's knowledge, when the victim visits the attacker's website while being logged in to the same CAS server. The severity of the vulnerability is reduced substantially if the CAS server service registry is configured to only allow known and trusted service URLs.
Recommendations For phpCAS versions prior to 1.6.0, upgrade the library to version 1.6.0 or later to get the safe service discovery behavior. Alternatively, if the phpCAS configuration has the following setup:
  1. phpCAS::setUrl() is called with the full URL of the current page, and
  2. phpCAS::setCallbackURL() is called when the proxy mode is enabled, or if the PHP's HTTP header input is sanitized before reaching PHP, the vulnerability will be mitigated.
Exploitability
Exploit
Fix
Researchers
Vendors
Affected products
Related identifiers
GHSA-8Q72-6QQ8-XV64
ALSA-2025_16880
ALT-PU-2023-6265
ALT-PU-2023-6282
ALT-PU-2023-6850
ALT-PU-2024-1229
DLA-3485-1
DLA-3486-1
DLA-3487-1
MGASA-2022-0432
USN-6913-1
USN-6913-2
USN-6914-1
Found an issue in the description? Have something to add? Feel free to write us 👾