Apache TomEE privilege escalation in realm role resolution
Apache Software Foundation Apache TomEE
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache TomEE |
| No fix yet |
Original description
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.
From the CVE record · apache