Tomcat Session File Upload Attempt
This detection identifies potential exploitation of CVE-2025-24813 in Apache Tomcat through the initial stage of the attack. This first phase occurs when an attacker attempts to upload a malicious serialized Java…
Description
This detection identifies potential exploitation of CVE-2025-24813 in Apache Tomcat through the initial stage of the attack. This first phase occurs when an attacker attempts to upload a malicious serialized Java object with a .session file extension via an HTTP PUT request. When successful, these uploads typically result in HTTP status codes 201 (Created) or 409 (Conflict) and create the foundation for subsequent deserialization attacks by placing malicious content in a location where Tomcat's session management can access it.
Detection logic
Detection requirements
- Platform
- ContainersESXiIaaSLinuxmacOSNetwork DevicesWindows
The rule states no platform. This is derived from the 2 ATT&CK techniques it maps to.
- Log source category
- nginx_access
Known benign triggers
- Some legitimate applications might use PUT requests to create .session files, especially in custom implementations that leverage Tomcat's session persistence mechanism. Verify if the detected activity is part of a normal application flow or if it correlates with other suspicious behavior, such as subsequent GET requests with manipulated JSESSIONID cookies.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| gist.github.com/MHaggis/e106367f6649fbb09ab27e7b4a01cf73 | 2 |
| github.com/vulhub/vulhub/tree/master/tomcat/CVE-2025-24813 | 2 |
| lists.apache.org/thread/j5fkjv2k477os90nczf2v9l61fb0kkgq | 2 |
| nvd.nist.gov/vuln/detail/CVE-2025-24813 | 2 |
| www.rapid7.com/db/vulnerabilities/apache-tomcat-cve-2025-24813/ | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- a1d8f5c3-9b7e-4f2d-8c51-3bca5e672410
- Tagged by the source as
- Apache Tomcat Session Deserialization AttacksWeb ApplicationwebSplunk CloudSplunk EnterpriseSplunk Enterprise Securitynetwork
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1