CVE-2024-12369
JSON

4.2medium

Elytron-oidc-client: oidc authorization code injection

Severity
4.2medium CVSS:3.1 by redhat
Exploit likelihood
0.26% (higher than 18% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat
Also known as
GHSA-5565-3c98-g6jc

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

Product or packageVersionsReported by
wildflyup to 34.0.1.FinalCVE List
org.wildfly/wildfly-elytron-oidc-client-subsystemNot specifiedCVE List
eap8-apache-commons-ioNot specified
Not affected: from 0:2.16.1-1.redhat_00001.1.el8eap before *
CVE List
eap8-bouncycastleNot specified
Not affected: from 0:1.80.0-1.redhat_00001.1.el8eap before *
CVE List
eap8-eap-product-conf-parentNot specified
Not affected: from 0:800.7.0-2.GA_redhat_00002.1.el8eap before *
CVE List
eap8-hibernateNot specified
Not affected: from 0:6.2.35-1.Final_redhat_00001.1.el8eap before *
CVE List
eap8-ironjacamarNot specified
Not affected: from 0:3.0.13-1.Final_redhat_00001.1.el8eap before *
CVE List
eap8-jakarta-enterprise-concurrentNot specified
Not affected: from 0:3.0.1-1.redhat_00001.1.el8eap before *
CVE List
eap8-jsf-implNot specified
Not affected: from 0:4.0.11-1.redhat_00001.1.el8eap before *
CVE List
eap8-reactive-streamsNot specified
Not affected: from 0:1.0.4-3.redhat_00004.1.el8eap before *
CVE List
eap8-reactivex-rxjavaNot specified
Not affected: from 0:3.1.10-1.redhat_00001.1.el8eap before *
CVE List
eap8-weld-coreNot specified
Not affected: from 0:5.1.5-1.Final_redhat_00001.1.el8eap before *
CVE List

All scores

redhat4.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
GitHub4.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Classification

CWE-345

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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 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

NVD (es)

Se encontró una vulnerabilidad en OIDC-Client. Al utilizar el adaptador RH SSO OIDC con EAP 7.x o al utilizar el subsistema elytron-oidc-client con EAP 8.x, pueden producirse ataques de inyección de código de autorización, lo que permite a un atacante inyectar un código de autorización robado en la propia sesión del atacante con el cliente con la identidad de la víctima. Esto suele hacerse con un ataque de tipo Man-in-the-Middle (MitM) o de phishing.

References

https://access.redhat.com/errata/RHSA-2025:3989vendor-advisory
https://access.redhat.com/errata/RHSA-2025:3990vendor-advisory
https://access.redhat.com/errata/RHSA-2025:3992vendor-advisory
https://access.redhat.com/security/cve/CVE-2024-12369vdb-entry, web
https://bugzilla.redhat.com/show_bug.cgi?id=2331178issue-tracking, web
https://github.com/wildfly-security/wildfly-elytron/commit/5ac5e6bbcba58883b3cebb2ddbcec4de140c5cebweb
https://github.com/wildfly-security/wildfly-elytron/commit/d7754f5a6a91ceb0f4dbbbfe301991f6a55404cbweb
https://github.com/wildfly-security/wildfly-elytron/pull/2253web
https://github.com/wildfly-security/wildfly-elytron/pull/2261web
https://github.com/wildfly-security/wildfly-elytron/security/advisories/GHSA-5565-3c98-g6jcweb
https://nvd.nist.gov/vuln/detail/CVE-2024-12369advisory
https://github.com/wildfly-security/wildfly-elytronpackage

Sources

SourceRecordLicence
CVE ListCVE-2024-12369 changed 2026-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-5565-3c98-g6jc changed 2026-09-10CC-BY-4.0
NVDCVE-2024-12369 changed 2026-08-04Public domain