Tomcat Session Deserialization Attempt
This detection identifies potential exploitation of CVE-2025-24813 in Apache Tomcat through the second stage of the attack. This phase occurs when an attacker attempts to trigger deserialization of a previously…
Description
This detection identifies potential exploitation of CVE-2025-24813 in Apache Tomcat through the second stage of the attack. This phase occurs when an attacker attempts to trigger deserialization of a previously uploaded malicious session file by sending a GET request with a specially crafted JSESSIONID cookie. These requests typically have specific characteristics, including a JSESSIONID cookie with a leading dot that matches a previously uploaded filename, and typically result in a HTTP 500 error when the exploitation succeeds.
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
- Limited false positives should occur as this pattern is highly specific to CVE-2025-24813 exploitation. However, legitimate application errors that use similar cookie patterns and result in 500 status codes might trigger false positives. Review the JSESSIONID cookie format and the associated request context to confirm exploitation attempts.
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
- e28b4fd4-8f5a-41cd-8222-2f1ccca53ef1
- 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