GHSA-5565-3c98-g6jc
WildFly Elytron OpenID Connect Client ExtensionOIDC authorization code injection attack
Quick fix
GHSA-5565-3c98-g6jc — org.wildfly.security:wildfly-elytron: upgrade to the fixed version with the command below.
# pom.xml: bump <version>2.2.9.Final</version> for org.wildfly.security:wildfly-elytronDetails
### 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
[2.2.9.Final](https://github.com/wildfly-security/wildfly-elytron/releases/tag/2.2.9.Final) [2.6.2.Final](https://github.com/wildfly-security/wildfly-elytron/releases/tag/2.6.2.Final)
### 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
Are you affected?
Enter the version of the package you're using.
Affected packages
1.17.0.FinalFixed in: 2.2.9.Final# pom.xml: bump <version>2.2.9.Final</version> for org.wildfly.security:wildfly-elytron2.3.0.FinalFixed in: 2.6.2.Final# pom.xml: bump <version>2.6.2.Final</version> for org.wildfly.security:wildfly-elytron1.17.0.FinalFixed in: 2.2.9.Final# pom.xml: bump <version>2.2.9.Final</version> for org.wildfly.security:wildfly-elytron-http-oidc2.3.0.FinalFixed in: 2.6.2.Final# pom.xml: bump <version>2.6.2.Final</version> for org.wildfly.security:wildfly-elytron-http-oidcReferences
- https://github.com/wildfly-security/wildfly-elytron/security/advisories/GHSA-5565-3c98-g6jc[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2024-12369[ADVISORY]
- https://github.com/wildfly-security/wildfly-elytron/pull/2253[WEB]
- https://github.com/wildfly-security/wildfly-elytron/pull/2261[WEB]
- https://github.com/wildfly-security/wildfly-elytron/commit/5ac5e6bbcba58883b3cebb2ddbcec4de140c5ceb[WEB]
- https://github.com/wildfly-security/wildfly-elytron/commit/d7754f5a6a91ceb0f4dbbbfe301991f6a55404cb[WEB]
- https://access.redhat.com/security/cve/CVE-2024-12369[WEB]
- https://bugzilla.redhat.com/show_bug.cgi?id=2331178[WEB]
- https://github.com/wildfly-security/wildfly-elytron[PACKAGE]
- https://issues.redhat.com/browse/ELY-2887[WEB]