Apache Software Foundation Apache TomEE
Apache TomEE: Local code execution via predictable passivation files in the shared temporary directory
When a non-default stateful session bean passivation strategy is configured, passivated bean state is written to predictably named files in the shared system temporary directory, reusing files that already exist there, and is deserialized on activation. A local attacker who can write to that directory can read passivated session state or supply data that the server deserializes, potentially leading to code execution as the server process. Users are recommended to upgrade to version 10.3.0 or 11.0.0-M2, which fix the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.0.0-beta-1, <= 4.7.5
- >= 7.0.0-M1, < 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/kbpc7t241483pnxo2sccrhyp6pjk…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.