Apache Software Foundation Apache TomEE
Apache TomEE: Privilege escalation via user name matching a role name
When resolving security roles of a realm-authenticated caller, the caller's user name is also treated as a role name in addition to the roles assigned by the realm. An authenticated attacker who can obtain an account whose user name equals a role name, for example through self-registration, is granted that role wherever authorization is evaluated through the Jakarta Authorization policy. Users are recommended to upgrade to version 10.3.0 or 11.0.0-M2, which fix the issue.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.1high · scored by CISA ADP · CWE-863
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Apache Software Foundation Apache TomEE
- >= 8.0.7, < 10.0.0-M1
- >= 10.0.0-M1, < 10.3.0
- >= 11.0.0-M1, < 11.0.0-M2
Fixed in 10.0.0-M1, 10.3.0, 11.0.0-M2
Mitigation
Upgrade Apache TomEE to 10.0.0-M1 or 10.3.0 or 11.0.0-M2 or later.
References
- Vendor advisory lists.apache.org/thread/wmx75ytmp7d5h8cnd8jf1lg2gbw9…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.