Apache TomEE file access outside passivation directory in remote EJB
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
The stateful session bean passivation mechanism derives the on-disk file name from a client-supplied identifier without validating it. A remote attacker with access to the remote EJB service can cause session state to be read from or written to files outside the passivation directory. Users are recommended to upgrade to version 10.3.0 or 11.0.0-M2, which fix the issue.