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-RCE-PoC — Proof of Concept for CVE-2025-24813, a Remote Code Execution vulnerability in Apache Tomcat. This PoC exploits unsafe deserialization via crafted session files uploaded through HTTP PUT requests, allowing attackers to execute arbitrary code remotely on vulnerable Tomcat servers. | Kitploit
Tools/GitHubGitHub/sentilaso1/cve-2025-24813-apache-tomcat-rce-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationPayload Development
GitHubsentilaso1/cve-2025-24813-apache-tomcat-rce-poc

CVE-2025-24813-Apache-Tomcat-RCE-PoC

Proof of Concept for CVE-2025-24813, a Remote Code Execution vulnerability in Apache Tomcat. This PoC exploits unsafe deserialization via crafted session files uploaded through HTTP PUT requests, allowing attackers to execute arbitrary code remotely on vulnerable Tomcat servers.

View Repository
21 year 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 RCE PoC

Description

This is a Proof of Concept (PoC) for CVE-2025-24813, a Remote Code Execution (RCE) vulnerability in Apache Tomcat. The vulnerability arises from unsafe deserialization of crafted session files uploaded via HTTP PUT requests, allowing attackers to execute arbitrary code remotely on vulnerable Tomcat servers.

Vulnerability Details

  • CVE ID: CVE-2025-24813
  • Affected Software: Apache Tomcat (versions 9.0.0.M1 to 9.0.98, 10.1.0-M1 to 10.1.34, 11.0.0-M1 to 11.0.2)
  • Type: Remote Code Execution (RCE)
  • Attack Vector: HTTP PUT with crafted session payload + HTTP GET to trigger deserialization
  • Impact: Remote attacker can execute arbitrary Java code on the server

Prerequisites

  • Target must be running a vulnerable version of Apache Tomcat
  • HTTP PUT requests must be allowed to upload files to a writable directory
  • Ability to trigger deserialization by accessing the uploaded session file
  • Java environment for generating payloads (e.g., using ysoserial)

Usage

  1. Generate payload (optional, if not included):
    java -jar ysoserial.jar CommonsCollections1 "your_command" > payload.ser

  • Run the PoC script:
    python3 CVE-2025-24813.py <target_url> [options]

  • The script will upload the malicious session file and trigger remote code execution.

  • Disclaimer

    This PoC is for educational and authorized testing purposes only. Do NOT use it on systems without explicit permission. The author is not responsible for any misuse or damage caused by this tool.

    References

    • Apache Tomcat Security Advisory
    • CVE-2025-24813 Details
    Download Tool