CVE-2024-12369
WildFly Elytron OpenID Connect Client ExtensionOIDC authorization code injection attack
Description
Impact
A vulnerability was found in OIDC-Client. When using the elytron-oidc-client subsystem with WildFly, 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.
Patches
Workarounds
Currently, no mitigation is currently available for this vulnerability.
References
https://nvd.nist.gov/vuln/detail/CVE-2024-12369 https://access.redhat.com/security/cve/CVE-2024-12369 https://bugzilla.redhat.com/show_bug.cgi?id=2331178 https://issues.redhat.com/browse/ELY-2887
Affected Maven artifacts (2)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.wildfly.security » wildfly-elytron | >= 1.17.0.Final, < 2.2.9.Final>= 2.3.0.Final, < 2.6.2.Final | 2.2.9.Final, 2.6.2.Final |
| org.wildfly.security » wildfly-elytron-http-oidc | >= 1.17.0.Final, < 2.2.9.Final>= 2.3.0.Final, < 2.6.2.Final | 2.2.9.Final, 2.6.2.Final |
Blast radius
83% of the dependent artifacts (142) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 679 |
| 2 hops | 1,490 |
| 3 hops | 2,593 |
| 4 hops | 1,778 |
| 5 hops | 511 |
| 6 hops | 531 |
Most used dependents
- org.wildfly.security » wildfly-elytron170 usages
- org.wildfly.arquillian » wildfly-arquillian-container-managed109 usages
- org.jboss.eap » wildfly-feature-pack88 usages
- org.jboss » jboss-ejb-client83 usages
- org.wildfly.transaction » wildfly-transaction-client80 usages
- org.jboss.remotingjmx » remoting-jmx79 usages
- org.wildfly.core » wildfly-cli66 usages
- org.wildfly.core » wildfly-jmx50 usages
- org.wildfly » wildfly-ejb343 usages
- org.jboss.errai » errai-cdi-jboss35 usages
- org.jboss.ironjacamar » ironjacamar-core-impl29 usages
- org.jboss.ironjacamar » ironjacamar-deployers-common28 usages
- org.wildfly.wildfly-http-client » wildfly-http-naming-client25 usages
- org.wildfly » wildfly-ejb-client-bom23 usages
- org.infinispan » infinispan-server-testdriver-core20 usages
Computed from the dependency graph of build 20261202.0245 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2024-12369 | nvd.nist.gov |
| Package | wildfly-security/wildfly-elytron | github.com |
| Web | wildfly-security/wildfly-elytron advisory GHSA-5565-3c98-g6jc | github.com |
| Web | wildfly-security/wildfly-elytron pull request #2253 | github.com |
| Web | wildfly-security/wildfly-elytron pull request #2261 | github.com |
| Web | wildfly-security/wildfly-elytron commit 5ac5e6b | github.com |
| Web | wildfly-security/wildfly-elytron commit d7754f5 | github.com |
| Web | security/cve/CVE-2024-12369 | access.redhat.com |
| Web | show_bug.cgi | bugzilla.redhat.com |
| Web | browse/ELY-2887 | issues.redhat.com |
