Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-24813-Apache-Tomcat-Partial-PUT-Deserialization-RCE- — Proof-of-concept exploit for CVE-2025-24813, an unauthenticated RCE in Apache Tomcat via partial PUT and deserialization. Includes Docker lab for testing. | Kitploit
Tools/GitHubGitHub/dhananjayasj/cve-2025-24813-apache-tomcat-partial-put-deserialization-rce-
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingPayload DevelopmentLabs & Practice
GitHubdhananjayasj/cve-2025-24813-apache-tomcat-partial-put-deserialization-rce-

CVE-2025-24813-Apache-Tomcat-Partial-PUT-Deserialization-RCE-

Proof-of-concept exploit for CVE-2025-24813, an unauthenticated RCE in Apache Tomcat via partial PUT and deserialization. Includes Docker lab for testing.

View Repository
53 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-24813 - Apache Tomcat Partial PUT + Deserialization RCE

CVE-2025-24813 Apache Tomcat License

📋 Overview

CVE-2025-24813 is a high‑severity vulnerability in Apache Tomcat that allows unauthenticated remote code execution when three conditions are met:

  1. The default servlet has write access enabled (readonly=false).
  2. Partial PUT support is enabled (default).
  3. File‑based session persistence is configured (PersistentManager with FileStore).

An attacker can upload a malicious serialized Java object via a partial PUT request (using the Content-Range header) into the session storage directory. By then sending a GET request with a crafted cookie, Tomcat deserialises the object and executes arbitrary commands (provided a deserialisation gadget – e.g., – is present in the classpath).

JSESSIONID
commons-collections

⚠️ Important
This vulnerability is not present in a default Tomcat installation. It requires specific (and unusual) configuration changes that are typically found only in development or bespoke environments.

🎯 Affected Versions

  • Apache Tomcat 9.0.90
  • Apache Tomcat 10.1.34
  • Apache Tomcat 11.0.2

Earlier versions may also be vulnerable if the same misconfigurations exist.

🔧 Prerequisites

Target machine

  • Docker & Docker Compose
  • Git

Attacker machine

  • Python 3
  • pip (for requests library)
  • Java runtime (to run ysoserial)
  • netcat (nc)
  • curl

🚀 Quick Start (Lab Setup)

1. Build the vulnerable Tomcat container (Target)

root@kitploit:~
git clone https://github.com/beyond-devsecops/CVE-2025-24813.git
cd CVE-2025-24813
chmod +x 0-run-tomcat.sh
bash 0-run-tomcat.sh
Download Tool