Apache TomEE auth bypass in WS-Security caller identity handling
Apache Software Foundation Apache TomEE
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Apache Software Foundation Apache TomEE |
| No fix yet |
| Apache Software Foundation Apache TomEE |
| No fix yet |
Original description
After a successful WS-Security UsernameToken authentication, the caller identity stays associated with the worker thread once the request completes when web services are served by the standalone OpenEJB HTTP server. A remote unauthenticated attacker whose request is later processed on the same thread can invoke protected EJB methods with the identity of a previously authenticated user. Users are recommended to upgrade to version 10.3.0 or 11.0.0-M2, which fix the issue.
From the CVE record · apache