CVE-2024-30173: Causal/oidc Authentication Bypass Vulnerability
MODERATECVE-2024-30173 is a MODERATE (CVSS 6.5) authentication bypass vulnerability (CWE-284: Improper Access Control) affecting Causal/oidc libraries in the Packagist ecosystem. The issue involves openid connect authentication (oidc) typo3 extension authentication bypass. Remediation is available by upgrading affected packages to version 2.1.0.
CVE-2024-30173 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N/E:F/RL:O/RC:C).
How to Fix CVE-2024-30173
To remediate this vulnerability, upgrade all affected Causal/oidc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade causal/oidc to 2.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for causal/oidc
How to Check if You Are Affected
To determine whether your application is affected by CVE-2024-30173, inspect your project dependencies for Causal/oidc:
inspect dependencies for causal/oidc
Analyze the terminal output to locate any version of Causal/oidc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Causal/oidc, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-30173 Affected Causal/oidc Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
causal/oidc
|
Packagist |
< 2.1.0
|
2.1.0
|
References
Frequently Asked Questions
What is CVE-2024-30173?
Which Causal/oidc versions are affected?
What version fixes CVE-2024-30173?
Is causal/oidc affected?
What is the CVSS score of CVE-2024-30173?
What CWE is associated with CVE-2024-30173?
How can I check Packagist dependencies for CVE-2024-30173?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-hhf8-f5w9-g6vh",
"modified" : "2024-04-02T18:21:49Z",
"published" : "2024-04-02T18:21:49Z",
"aliases" : [ "CVE-2024-30173" ],
"summary" : "OpenID Connect Authentication (oidc) Typo3 extension Authentication Bypass",
"details" : "The authentication service of the extension does not verify the OpenID Connect authentication state from the user lookup chain. Instead, the authentication service authenticates every valid frontend user from the user lookup chain, where the frontend user field “tx_oidc” is not empty.\n\nIn scenarios, where either ext:felogin is active or where `$GLOBALS['TYPO3_CONF_VARS'][‘FE’][‘checkFeUserPid’]` is disabled, an attacker can login to OpenID Connect frontend user accounts by providing a valid username and any password. ",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N/E:F/RL:O/RC:C"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "causal/oidc"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/causal/oidc/CVE-2024-30173.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/xperseguers/t3ext-oidc"
}, {
"type" : "WEB",
"url" : "https://typo3.org/security/advisory/typo3-ext-sa-2024-002"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-04-02T18:21:49Z",
"nvd_published_at" : null
}
}