CVE-2022-0866
mediumPriorität · verfolgen · 21OT-Risiko · erhöhtEPSS 0.009 · 60. PerzentilEUUSEPSS · bewertet 2026-10-27
This is a concurrency issue that can result in the wrong caller principal being returned from the session context of an EJB that is configured with a RunAs principal. In particular, the org.jboss.as.ejb3.component.EJBComponent class has an incomingRunAsIdentity field. This field is used by the org.jboss.as.ejb3.security.RunAsPrincipalInterceptor to keep track of the current identity prior to switching to a new identity created using the RunAs principal. The exploit consist that the EJBComponent#incomingRunAsIdentity field is currently just a SecurityIdentity. This means in a concurrent environment, where multiple users are repeatedly invoking an EJB that is configured with a RunAs principal, it's possible for the wrong the caller principal to be returned from EJBComponent#getCallerPrincipal. Similarly, it's also possible for EJBComponent#isCallerInRole to return the wrong value. Both of these methods rely on incomingRunAsIdentity. Affects all versions of JBoss EAP from 7.1.0 and all versions of WildFly 11+ when Elytron is enabled.
cvss
Technischer Schweregrad, 0–10. Eine Zeile je Quelle.
Basiswert 0–10 · höher = schwerwiegender · Vektor überfahren zum Auflösen
schwächen
Die CWE-Schwächeklassen, zu denen dies gehört.
betroffene Produkte (6)
Betroffene Produkte und Versionsbereiche.
- n/a wildfly≤ JBoss EAP from 7.1.0 and all versions of WildFly 11+ when Elytron is enabled.enisa_euvdEU
- redhat jboss enterprise application platform≥ 7.1.0nvdUScpe:2.3:a:redhat:jboss_enterprise_application_platform:*:*:*:*:*:*:*:*
Advisories (1)
Hersteller- und Ökosystem-Meldungen dazu.
- BIT-wildfly-2022-08662025-11-07vendor · osvUS
This is a concurrency issue that can result in the wrong caller principal being returned from the session context of an EJB that is configured with a RunAs principal. In particular, the org.jboss.as.ejb3.component.EJBComponent class has an incomingRunAsIdentity field. This field is used by the org.jboss.as.ejb3.security.RunAsPrincipalInterceptor to keep track of the current identity prior to switching to a new identity created using the RunAs principal. The exploit consist that the EJBComponent#incomingRunAsIdentity field is currently just a SecurityIdentity. This means in a concurrent environment, where multiple users are repeatedly invoking an EJB that is configured with a RunAs principal, it's possible for the wrong the caller principal to be returned from EJBComponent#getCallerPrincipal. Similarly, it's also possible for EJBComponent#isCallerInRole to return the wrong value. Both of these methods rely on incomingRunAsIdentity. Affects all versions of JBoss EAP from 7.1.0 and all versions of WildFly 11+ when Elytron is enabled.
auch bekannt als (3)
Weitere Namen und Kennungen dieser Entität.
quellen
Welche Quellen diesen Datensatz belegen und wann.
Referenzen (16)
Externe Belege — Patches, Meldungen, Analysen.
- https://access.redhat.com/security/cve/cve-2022-0866cnnvd
- https://bugzilla.redhat.com/show_bug.cgi?id=2060929#c0cnnvd
- https://cxsecurity.com/cveshow/CVE-2022-0866/cnnvd
- https://packetstormsecurity.com/files/167423/Red-Hat-Security-Advisory-2022-4918-01.htmlcnnvd
- https://packetstormsecurity.com/files/168631/Red-Hat-Security-Advisory-2022-6782-01.htmlcnnvd
- https://packetstormsecurity.com/files/169727/Red-Hat-Security-Advisory-2022-7417-01.htmlcnnvd
- https://packetstormsecurity.com/files/169729/Red-Hat-Security-Advisory-2022-7410-01.htmlcnnvd
- https://vigilance.fr/vulnerability/Wildfly-user-access-via-Elytron-Security-38330cnnvd
Angreifer nutzen Schwachstellen wie diese gegen im Internet exponierte Dienste aus. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan