Apache TomEE privilege escalation in MicroProfile JWT run-as handling
Apache Software Foundation Apache TomEE
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache TomEE |
| No fix yet |
Original description
When MicroProfile JWT authentication is used for servlets that declare a run-as identity, the security state established for a request is not always cleared from the processing thread when the request does not complete normally. A remote attacker holding a valid token can cause later, unrelated requests served by the same thread to invoke enterprise beans with the elevated run-as identity. Users are recommended to upgrade to version 10.3.0 or 11.0.0-M2, which fix the issue.
From the CVE record · apache