CVE-2022-24794 Vulnerability Analysis & Exploit Details

CVE-2022-24794
Vulnerability Scoring

7.5
/10
Very High Risk

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

Attack Complexity Details

  • Attack Complexity: High
    Exploits require significant effort and special conditions.
  • Attack Vector: Network
    Vulnerability is exploitable over a network without physical access.
  • Privileges Required: None
    No privileges are required for exploitation.
  • Scope: Changed
    Successful exploitation can impact components beyond the vulnerable component.
  • User Interaction: None
    No user interaction is necessary for exploitation.

CVE-2022-24794 Details

Status: Modified

Last updated: 🕡 21 Nov 2024, 06:51 UTC
Originally published on: 🕚 31 Mar 2022, 23:15 UTC

Time between publication and last update: 965 days

CVSS Release: version 3

CVSS3 Source

security-advisories@github.com

CVSS3 Type

Secondary

CVSS3 Vector

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

CVE-2022-24794 Vulnerability Summary

CVE-2022-24794: Express OpenID Connect is an Express JS middleware implementing sign on for Express web apps using OpenID Connect. Users of the `requiresAuth` middleware, either directly or through the default `authRequired` option, are vulnerable to an Open Redirect when the middleware is applied to a catch all route. If all routes under `example.com` are protected with the `requiresAuth` middleware, a visit to `http://example.com//google.com` will be redirected to `google.com` after login because the original url reported by the Express framework is not properly sanitized. This vulnerability affects versions prior to 2.7.2. Users are advised to upgrade. There are no known workarounds.

Assessing the Risk of CVE-2022-24794

Access Complexity Graph

The exploitability of CVE-2022-24794 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-24794

CVE-2022-24794 presents a challenge to exploit due to its high attack complexity, but the absence of privilege requirements still makes it a viable target for skilled attackers. A thorough security review is advised.

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-24794, 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-24794, 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-24794 can result in unauthorized access to sensitive data, severely compromising data privacy.
  • Integrity: Low
    Exploiting CVE-2022-24794 may cause minor changes to data without severely impacting its accuracy.
  • Availability: None
    CVE-2022-24794 does not impact system availability.

Exploit Prediction Scoring System (EPSS)

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

EPSS Score: 0.066% (probability of exploit)

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

CVE-2022-24794 References

External References

CWE Common Weakness Enumeration

CWE-601

CAPEC Common Attack Pattern Enumeration and Classification

  • Cross-Site Flashing CAPEC-178 An attacker is able to trick the victim into executing a Flash document that passes commands or calls to a Flash player browser plugin, allowing the attacker to exploit native Flash functionality in the client browser. This attack pattern occurs where an attacker can provide a crafted link to a Flash document (SWF file) which, when followed, will cause additional malicious instructions to be executed. The attacker does not need to serve or control the Flash document. The attack takes advantage of the fact that Flash files can reference external URLs. If variables that serve as URLs that the Flash application references can be controlled through parameters, then by creating a link that includes values for those parameters, an attacker can cause arbitrary content to be referenced and possibly executed by the targeted Flash application.

Vulnerable Configurations

  • cpe:2.3:a:auth0:express_openid_connect:-:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:-:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.0.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.0.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.0.3:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.0.3:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.2.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.2.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.2.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.2.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.3.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.3.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.4.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.4.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.5.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.5.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.6.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.6.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.7.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.7.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.8.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.8.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:0.8.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:0.8.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:1.0.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:1.0.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:1.0.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:1.0.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:1.0.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:1.0.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.0.0:-:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.0.0:-:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.0.0:beta0:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.0.0:beta0:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.1.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.1.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.2.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.2.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.2.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.2.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.3.0:-:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.3.0:-:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.3.0:beta0:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.3.0:beta0:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.3.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.3.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.4.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.4.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.5.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.5.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.5.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.5.1:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.5.2:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.5.2:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.6.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.6.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.7.0:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.7.0:*:*:*:*:node.js:*:*
  • cpe:2.3:a:auth0:express_openid_connect:2.7.1:*:*:*:*:node.js:*:*
    cpe:2.3:a:auth0:express_openid_connect:2.7.1:*:*:*:*:node.js:*:*

Protect Your Infrastructure against CVE-2022-24794: 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-43903 – NSSCryptoSignBackend.cc in Poppler before 25.04.0 does not verify the adbe.pkcs7.sha1 signatures on documents, resulting in potential signature forgeries.
  • CVE-2025-3796 – A vulnerability classified as critical has been found in PHPGurukul Men Salon Management System 1.0. This affects an unknown part of the file /admi...
  • CVE-2025-32953 – z80pack is a mature emulator of multiple platforms with 8080 and Z80 CPU. In version 1.38 and prior, the `makefile-ubuntu.yml` workflow file uses `...
  • CVE-2025-29058 – An issue in Qimou CMS v.3.34.0 allows a remote attacker to execute arbitrary code via the upgrade.php component.
  • CVE-2024-53591 – An issue in the login page of Seclore v3.27.5.0 allows attackers to bypass authentication via a brute force attack.