Vulnerability · Published Dec 9, 2024 · Assigned by redhat
CVE-2024-12369Elytron-oidc-client: oidc authorization code injection
Medium 4.2
In plain English
A medium-severity insufficient verification of data authenticity in wildfly. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A vulnerability was found in OIDC-Client. When using the RH SSO OIDC adapter with EAP 7.x or when using the elytron-oidc-client subsystem with EAP 8.x, authorization code injection attacks can occur, allowing an attacker to inject a stolen authorization code into the attacker's own session with the client with a victim's identity. This is usually done with a Man-in-the-Middle (MitM) or phishing attack.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.wildfly.security:wildfly-elytron | 2.2.9.Final | GHSA-5565-3c98-g6jc |
| Maven | org.wildfly.security:wildfly-elytron | 2.6.2.Final | GHSA-5565-3c98-g6jc |
| Maven | org.wildfly.security:wildfly-elytron-http-oidc | 2.2.9.Final | GHSA-5565-3c98-g6jc |
| Maven | org.wildfly.security:wildfly-elytron-http-oidc | 2.6.2.Final | GHSA-5565-3c98-g6jc |
Affected products (as reported)
Weakness: CWE-345 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
References
- RHSA-2025:3989 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:3990 vendor-advisory, x_refsource_REDHAT
- RHSA-2025:3992 vendor-advisory, x_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2024-12369 vdb-entry, x_refsource_REDHAT
- RHBZ#2331178 issue-tracking, x_refsource_REDHAT
- https://github.com/wildfly-security/wildfly-elytron/commit/5ac5e6bbcba58883b3cebb2ddbcec4de140c5ceb
- https://github.com/wildfly-security/wildfly-elytron/commit/d7754f5a6a91ceb0f4dbbbfe301991f6a55404cb
- https://github.com/wildfly-security/wildfly-elytron/pull/2253
- https://github.com/wildfly-security/wildfly-elytron/pull/2261