CVE-2022-39369 Vulnerability Analysis & Exploit Details

CVE-2022-39369
Vulnerability Scoring

8.0
/10
Very High Risk

Highly exploitable, CVE-2022-39369 poses a critical security risk that could lead to severe breaches.

Attack Complexity Details

  • Attack Complexity: Low
    Exploits can be performed without significant complexity or special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: Low
    Some privileges are necessary to exploit the vulnerability.
  • Scope: Unchanged
    Exploit remains within the originally vulnerable component.
  • User Interaction: Required
    User interaction is necessary for successful exploitation.

CVE-2022-39369 Details

Status: Modified

Last updated: 🕖 21 Nov 2024, 07:18 UTC
Originally published on: 🕔 01 Nov 2022, 17:15 UTC

Time between publication and last update: 750 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CVE-2022-39369 Vulnerability Summary

CVE-2022-39369: phpCAS is an authentication library that allows PHP applications to easily authenticate users via a Central Authentication Service (CAS) server. 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. phpCAS 1.6.0 is a major version upgrade that starts enforcing service URL discovery validation, because there is unfortunately no 100% safe default config to use in PHP. Starting this version, it is required to pass in an additional service base URL argument when constructing the client class. For more information, please refer to the upgrading doc. This vulnerability only impacts the CAS client that the phpCAS library protects against. The problematic service URL discovery behavior in phpCAS < 1.6.0 will only be disabled, and thus you are not impacted from it, if the phpCAS configuration has the following setup: 1. `phpCAS::setUrl()` is called (a reminder that you have to pass in the full URL of the current page, rather than your service base URL), and 2. `phpCAS::setCallbackURL()` is called, only when the proxy mode is enabled. 3. If your PHP's HTTP header input `X-Forwarded-Host`, `X-Forwarded-Server`, `Host`, `X-Forwarded-Proto`, `X-Forwarded-Protocol` is sanitized before reaching PHP (by a reverse proxy, for example), you will not be impacted by this vulnerability either. If your CAS server service registry is configured to only allow known and trusted service URLs the severity of the vulnerability is reduced substantially in its severity since an attacker must be in control of another authorized service. Otherwise, you should upgrade the library to get the safe service discovery behavior.

Assessing the Risk of CVE-2022-39369

Access Complexity Graph

The exploitability of CVE-2022-39369 depends on two key factors: attack complexity (the level of effort required to execute an exploit) and privileges required (the access level an attacker needs).

Exploitability Analysis for CVE-2022-39369

CVE-2022-39369 presents an accessible attack vector with minimal effort required. Restricting access controls and implementing security updates are critical to reducing exploitation risks.

Understanding AC and PR

A lower complexity and fewer privilege requirements make exploitation easier. Security teams should evaluate these aspects to determine the urgency of mitigation strategies, such as patch management and access control policies.

Attack Complexity (AC) measures the difficulty in executing an exploit. A high AC means that specific conditions must be met, making an attack more challenging, while a low AC means the vulnerability can be exploited with minimal effort.

Privileges Required (PR) determine the level of system access necessary for an attack. Vulnerabilities requiring no privileges are more accessible to attackers, whereas high privilege requirements limit exploitation to authorized users with elevated access.

CVSS Score Breakdown Chart

Above is the CVSS Sub-score Breakdown for CVE-2022-39369, illustrating how Base, Impact, and Exploitability factors combine to form the overall severity rating. A higher sub-score typically indicates a more severe or easier-to-exploit vulnerability.

CIA Impact Analysis

Below is the Impact Analysis for CVE-2022-39369, showing how Confidentiality, Integrity, and Availability might be affected if the vulnerability is exploited. Higher values usually signal greater potential damage.

  • Confidentiality: High
    Exploiting CVE-2022-39369 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: High
    CVE-2022-39369 could allow unauthorized modifications to data, potentially affecting system reliability and trust.
  • Availability: High
    CVE-2022-39369 can disrupt system operations, potentially causing complete denial of service (DoS).

Exploit Prediction Scoring System (EPSS)

The EPSS score estimates the probability that this vulnerability will be exploited in the near future.

EPSS Score: 0.306% (probability of exploit)

EPSS Percentile: 70.02% (lower percentile = lower relative risk)
This vulnerability is less risky than approximately 29.980000000000004% of others.

CVE-2022-39369 References

External References

CWE Common Weakness Enumeration

NVD-CWE-Other

Vulnerable Configurations

  • cpe:2.3:a:apereo:phpcas:0.2:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.3:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.1:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.8:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.8:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.9:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.9:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.10:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.10:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.11:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.11:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.12:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.12:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.13:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.13:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.14:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.14:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.15:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.15:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.16:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.16:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.17:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.17:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.18:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.18:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.19:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.19:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.20:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.20:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.21:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.21:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.22:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.22:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.4.23:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.4.23:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.5.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.5.1:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.5.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.6.0:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.6.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:0.7.0:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:0.7.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.0.0:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.0.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.0.1:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.0.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.1.0:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.1.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.1.1:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.1.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.1.2:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.1.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.1.3:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.1.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.0:-:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.0:-:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.1:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.1:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.2:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.2:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.3:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.3:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.4:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.4:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.5:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.5:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.6:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.6:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.7:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.7:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.8:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.8:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.3.9:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.3.9:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.4.0:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.4.0:*:*:*:*:*:*:*
  • cpe:2.3:a:apereo:phpcas:1.5.0:*:*:*:*:*:*:*
    cpe:2.3:a:apereo:phpcas:1.5.0:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
  • cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
    cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

Protect Your Infrastructure against CVE-2022-39369: Combat Critical CVE Threats

Stay updated with real-time CVE vulnerabilities and take action to secure your systems. Enhance your cybersecurity posture with the latest threat intelligence and mitigation techniques. Develop the skills necessary to defend against CVEs and secure critical infrastructures. Join the top cybersecurity professionals safeguarding today's infrastructures.

Other 5 Recently Published CVEs Vulnerabilities

  • CVE-2025-26205 – Lua 5.4.7, when the debug library is used, has a out-of-bounds read and segmentation violation in mainpositionTV in ltable.c. NOTE: this is dispute...
  • CVE-2025-26204 – Lua 5.4.7, when the debug library is used, has a out-of-bounds read and segmentation violation in equalkey in ltable.c. NOTE: this is disputed beca...
  • CVE-2025-2129 – A vulnerability was found in Mage AI 0.9.75. It has been classified as problematic. This affects an unknown part. The manipulation leads to insecur...
  • CVE-2025-2127 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla. It has been classified as problematic. Affected is an unknown function of th...
  • CVE-2025-2126 – A vulnerability was found in JoomlaUX JUX Real Estate 3.4.0 on Joomla and classified as critical. This issue affects some unknown processing of the...