CVE-2022-39369

phpCAS authentication library < 1.6.0 - Service Hostname Discovery Exploitation

highImproper Validation of Specified Type of Input
8.0
CVSS Score
8.0
CVSS Score
high
Severity
1.6.0
Patched in
448d
Time to patch

Description

The phpCAS library uses HTTP headers to determine the service URL used to validate tickets. This allows an attacker to control the host header and use a valid ticket granted for any authorized service in the same SSO realm (CAS server) to authenticate to the service protected by phpCAS. Depending on the settings of the CAS server service registry in worst case this may be any other service URL (if the allowed URLs are configured to "^(https)://.*") or may be strictly limited to known and authorized services in the same SSO federation if proper URL service validation is applied. This vulnerability may allow an attacker to gain access to a victim's account on a vulnerable CASified service without victim's knowledge, when the victim visits attacker's website while being logged in to the same CAS server. WordPress plugins containing a vulnerable copy of this library may or may not be vulnerable to exploitation.

CVSS Vector Breakdown

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
High
Confidentiality
High
Integrity
High
Availability

Technical Details

Affected versions<1.6.0
PublishedNovember 1, 2022
Last updatedJanuary 22, 2024
Affected pluginauthorizer

Check if your site is affected.

Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.