{"id":"CVE-2024-12369","aliases":["CVE-2024-12369","GHSA-5565-3c98-g6jc"],"related":[],"kind":"vulnerability","state":"published","title":"Elytron-oidc-client: oidc authorization code injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nA 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.\n\n### Patches\n\n[2.2.9.Final](https://github.com/wildfly-security/wildfly-elytron/releases/tag/2.2.9.Final)\n[2.6.2.Final](https://github.com/wildfly-security/wildfly-elytron/releases/tag/2.6.2.Final)\n\n### Workarounds\n\nCurrently, no mitigation is currently available for this vulnerability.\n\n### References\n\nhttps://nvd.nist.gov/vuln/detail/CVE-2024-12369\nhttps://access.redhat.com/security/cve/CVE-2024-12369\t\nhttps://bugzilla.redhat.com/show_bug.cgi?id=2331178\nhttps://issues.redhat.com/browse/ELY-2887","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-12-09T20:53:09.260Z","modified":"2026-09-10T03:50:22.936Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.2,"rating":"MEDIUM"}],"cwes":["CWE-345"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"34.0.1.Final","status":"affected"}],"package":"wildfly","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8","package":"org.wildfly/wildfly-elytron-oidc-client-subsystem","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.16.1-1.redhat_00001.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-apache-commons-io","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.80.0-1.redhat_00001.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-bouncycastle","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:800.7.0-2.GA_redhat_00002.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-eap-product-conf-parent","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:6.2.35-1.Final_redhat_00001.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-hibernate","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.0.13-1.Final_redhat_00001.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-ironjacamar","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.0.1-1.redhat_00001.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-jakarta-enterprise-concurrent","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:4.0.11-1.redhat_00001.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-jsf-impl","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:1.0.4-3.redhat_00004.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-reactive-streams","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:3.1.10-1.redhat_00001.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-reactivex-rxjava","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:5.1.5-1.Final_redhat_00001.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-weld-core","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:8.0.7-3.GA_redhat_00004.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-wildfly","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[{"type":"rpm","introduced":"0:2.2.9-1.Final_redhat_00001.1.el8eap","fixed":"*","status":"unaffected"}],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8","package":"eap8-wildfly-elytron","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:8.0::el8","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Build of Keycloak","package":"wildfly-elytron-oidc-client-subsystem","cpe":"cpe:/a:redhat:build_keycloak:","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat JBoss Enterprise Application Platform 7","package":"org.wildfly/wildfly-elytron-oidc-client-subsystem","cpe":"cpe:/a:redhat:jboss_enterprise_application_platform:7","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.17.0.Final","status":"affected","fixed":"2.2.9.Final"}],"ecosystem":"Maven","package":"org.wildfly.security:wildfly-elytron","purl":"pkg:maven/org.wildfly.security/wildfly-elytron","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0.Final","status":"affected","fixed":"2.6.2.Final"}],"ecosystem":"Maven","package":"org.wildfly.security:wildfly-elytron","purl":"pkg:maven/org.wildfly.security/wildfly-elytron","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.17.0.Final","status":"affected","fixed":"2.2.9.Final"}],"ecosystem":"Maven","package":"org.wildfly.security:wildfly-elytron-http-oidc","purl":"pkg:maven/org.wildfly.security/wildfly-elytron-http-oidc","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.3.0.Final","status":"affected","fixed":"2.6.2.Final"}],"ecosystem":"Maven","package":"org.wildfly.security:wildfly-elytron-http-oidc","purl":"pkg:maven/org.wildfly.security/wildfly-elytron-http-oidc","source":"ghsa"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:3989","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:3990","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2025:3992","tags":["vendor-advisory","x-refsource-redhat"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-12369","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2331178","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/wildfly-security/wildfly-elytron/commit/5ac5e6bbcba58883b3cebb2ddbcec4de140c5ceb","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/wildfly-security/wildfly-elytron/commit/d7754f5a6a91ceb0f4dbbbfe301991f6a55404cb","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/wildfly-security/wildfly-elytron/pull/2253","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/wildfly-security/wildfly-elytron/pull/2261","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/wildfly-security/wildfly-elytron/security/advisories/GHSA-5565-3c98-g6jc","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12369","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/wildfly-security/wildfly-elytron","tags":["package"],"sources":["ghsa"]},{"url":"https://issues.redhat.com/browse/ELY-2887","tags":["web"],"sources":["ghsa"]}],"credits":["This issue was discovered by Olivier Rivat (Red Hat)."],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-12-10T15:29:39.382Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-12369","url":"https://www.cve.org/CVERecord?id=CVE-2024-12369","licence":"CVE Terms of Use","modified":"2026-08-04T13:38:06.291Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-5565-3c98-g6jc","url":"https://github.com/advisories/GHSA-5565-3c98-g6jc","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:22.936Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-12369","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-12369","licence":"Public domain","modified":"2026-08-04T14:16:28.933Z"}],"updatedAt":"2026-11-25T22:58:49.856Z","epss":{"score":0.0026,"percentile":0.18874,"date":"2026-12-01T12:00:22.000Z"}}