Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2025-24813: Apache Tomcat Partial PUT Path Equivalence Remote Code Execution

Published Mar 10, 2025 · Updated 16 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS9.8Critical · v3.1
EPSS99.9%100th percentile
CISA KEVYesAdded Apr 1, 2025
In the wildActivePer CISA KEV
Vendors
NetAppDebian ProjectApache Software Foundation
IdentifiersCVE-2025-24813CWE-44 · Path Equivalence: 'file.name'…

CVE-2025-24813 is a path-equivalence vulnerability involving internal dots in filenames processed by Apache Tomcat's write-enabled Default Servlet. Improper handling of partial HTTP PUT requests can cause distinct upload paths to resolve to equivalent intermediate storage, enabling disclosure or malicious modification of uploaded content. When combined with file-based session persistence and a suitable deserialization gadget library, attacker-controlled serialized session data can be loaded and deserialized, resulting in unauthenticated remote code execution. Affected versions include 11.0.0-M1 through 11.0.2, 10.1.0-M1 through 10.1.34, 9.0.0.M1 through 9.0.98, and end-of-life releases 8.5.0 through 8.5.100; older unsupported versions may also be affected. Exploitation requires specific configurations rather than a default Tomcat installation. Public exploit code and in-the-wild exploitation have been reported.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation can expose security-sensitive uploaded files or inject malicious content into them, compromising confidentiality and integrity. In configurations supporting the deserialization attack path, attackers can execute arbitrary code with the privileges of the Tomcat process, potentially compromising application data and service availability. Operating-system-level impact depends on the permissions and resources available to that process; elevated privileges are not inherently granted by the vulnerability.

Mitigation

If you can’t patch tonight, do this now.

Until updates can be applied, disable Default Servlet writes by setting readonly=true, or disable partial PUT support. Both measures interrupt prerequisites shared by the documented exploitation paths. Disabling file-based session persistence or avoiding its default storage location can reduce exposure to the documented RCE path, but does not address upload disclosure or modification. Separating sensitive and public upload locations and removing unnecessary deserialization-capable libraries provide additional defense in depth, not substitutes for patching.

Remediation

Patch, then assume compromise.

Upgrade to Apache Tomcat 11.0.3, 10.1.35, or 9.0.99 or a later fixed release in the corresponding branch. Migrate affected Tomcat 8.5 and older unsupported installations to a supported, patched branch because no fixed 8.5 release is identified. For products embedding Tomcat, apply the product vendor's corresponding update and verify the bundled Tomcat version.

Public exploits

Exploits

45 exploits validated by Mallory's analysis. Hidden: 18 rejected by Mallory's analysis as not a working exploit; 5 not yet analyzed, such as Exploit-DB entries. Showing the 25 most capable, earliest first.

View more in app →
tomcat_partial_put_deserialization.rbThis repository contains a single Metasploit module (modules/exploits/multi/http/tomcat_partial_put_deserialization.rb) that exploits a Java deserialization vulnerability (CVE-2025-24813) in Apache Tomcat's session restoration functionality. The exploit works by sending a partial HTTP PUT request to upload a malicious session file into the /webapps/ROOT/ directory of the Tomcat server. The payload is a Java deserialization gadget (default: CommonsBeanutils1 via ysoserial) that executes arbitrary commands on the server. The exploit then triggers deserialization by sending a GET request with a crafted JSESSIONID cookie, causing the server to deserialize the uploaded session file and execute the payload. The module supports both Unix/Linux and Windows targets and can deliver a reverse shell or other command payloads. The exploit requires specific Tomcat configuration (PersistentManager with FileStore and write permissions for the default servlet). The code is weaponized, as it is part of the Metasploit framework and allows for customizable payloads. The main attack vector is network-based, targeting HTTP endpoints on the vulnerable Tomcat server.Disclosed Mar 10, 2025 · Framework: metasploit · ruby · networkWeaponizedCVE-2025-24813This repository provides an operational exploit for CVE-2025-24813, a remote code execution vulnerability in Apache Tomcat (versions 9.0.0.M1-9.0.98, 10.1.0-M1-10.1.34, 11.0.0-M1-11.0.2) when session persistence and unsafe deserialization are enabled. The exploit consists of a Python script (exp/CVE_2025_24813.py) that reads a list of target URLs and a serialized Java payload (exp/payload.ser). It sends a crafted PUT request to the /pocs/session endpoint on each target, attempting to upload the payload. If the server responds as expected, a follow-up GET request checks for successful exploitation (indicated by a 500 error). Vulnerable URLs are saved to exp/vulnerable_urls.txt. The repository includes configuration files (context.xml, docker-compose.yml) and documentation (README.md) detailing the required Tomcat setup for successful exploitation. The exploit is operational, requiring specific server misconfigurations and a vulnerable Java gadget chain. No framework is used; the exploit is standalone.charis3306 · Disclosed Mar 16, 2025 · python · networkOperationalCVE-2025-24813-apache-tomcatThis repository contains a Nuclei template (CVE-2025-24813.yaml) for exploiting a path equivalence vulnerability in Apache Tomcat (CVE-2025-24813). The exploit leverages improper path normalization to perform path traversal via crafted PUT requests, enabling unauthorized file modification and remote code execution. The template attempts to overwrite the tomcat-users.xml file and upload a JSP web shell (updates.jsp) to the server. Once the shell is uploaded, attackers can execute arbitrary commands via HTTP requests to /updates.jsp. The repository includes a README with usage instructions for Nuclei and an example of executing commands through the uploaded shell. The main exploit file is the Nuclei YAML template, which automates the attack steps and payload delivery.imbas007 · Disclosed Mar 17, 2025 · Framework: nuclei · yaml · networkOperationalCVE-2025-24813-PoCThis repository provides a working exploit for CVE-2025-24813, a remote code execution (RCE) vulnerability affecting Apache Tomcat under certain misconfigurations. The exploit consists of a single Python script ('exploit.py') and a README file. The script automates the process of generating multiple Java deserialization payloads using 'ysoserial-all.jar', each embedding a user-supplied command. It uploads these payloads as session files to the target Tomcat server via HTTP PUT requests to the '/gopan.session' endpoint. After uploading, it sends a GET request with a crafted cookie to trigger deserialization, aiming to execute the supplied command on the server. The exploit requires the attacker to have network access to the Tomcat server and assumes the server is both vulnerable and misconfigured to allow this attack path. The repository is operational and ready for use in security testing, provided the user supplies the required ysoserial JAR and appropriate command-line arguments.tonyarris · Disclosed Mar 22, 2025 · python · networkOperationalCVE-2025-24813This repository is a complete lab environment for demonstrating exploitation of CVE-2025-24813, a Java unsafe deserialization vulnerability in a Tomcat-hosted web application. The structure includes Bash scripts to automate each step: building and running a vulnerable Tomcat container, generating a reverse shell payload using ysoserial (CommonsBeanutils1 gadget), uploading the payload via HTTP Partial PUT, and triggering deserialization via a GET request. The Java servlet (DeserializeServlet.java) reads and deserializes the uploaded session file, leading to code execution if a malicious object is provided. The exploit results in a reverse shell to the attacker's machine. The main endpoints are /xxx-api/gopan.session (for payload upload) and /xxx-api/profile (for deserialization trigger). The repository is operational and provides a working exploit chain, but is not weaponized for broad use. It is intended for educational and testing purposes.beyond-devsecops · Disclosed Mar 24, 2025 · bash · java · networkOperationalTomcat-CVE_2025_24813This repository provides a working exploit for CVE-2025-24813, a remote code execution (RCE) vulnerability in Apache Tomcat. The main exploit script, 'CVE_2025_24813.py', is a Python tool that targets a Tomcat server configured to allow writable session files and deserialization of attacker-controlled data. The exploit works by generating a malicious Java serialized payload (using ysoserial or a custom Java class), uploading it to the target server via HTTP PUT, and then triggering deserialization by making a crafted request with a specific session ID. If successful, arbitrary commands are executed on the server. The repository also includes a Dockerfile to set up a vulnerable Tomcat instance for testing, and a README with setup and usage instructions. The exploit is operational and allows for arbitrary command execution, making it a significant security risk for affected Tomcat deployments.u238 · Disclosed Mar 24, 2025 · python · dockerfile · networkOperationalCVE-2025-24813-POCThis repository provides a working exploit for CVE-2025-24813, a critical path traversal vulnerability in Apache Tomcat. The exploit consists of two main Python scripts: 1. CVE-2025-24813-Scanner.py: This script attempts to upload a simple JSP web shell to the target server using an HTTP PUT request to the path '/uploads/../webapps/ROOT/updates.jsp'. The payload is a JSP file that allows arbitrary command execution via a web form. The script supports both single and multiple targets (from a file). 2. CVE-2025-24813-Exploit.py: This script checks if the uploaded shell is accessible and functional by sending a request to '/updates.jsp' on the target and attempting to execute a command (default: 'cat /etc/passwd'). If successful, it confirms remote code execution and logs the vulnerable endpoint to 'pwned.txt'. The repository also includes a README.md with usage instructions, requirements, and a description of the vulnerability. The exploit is operational, providing a real web shell payload and automated exploitation workflow. The main attack vector is network-based, targeting web servers running vulnerable Apache Tomcat instances. The scripts are written in Python and require the 'requests' library.La3B0z · Disclosed Apr 6, 2025 · python · networkOperationalCVE-Arsenal-LabThis repository provides a comprehensive toolset for detecting and exploiting CVE-2025-24813, a path equivalence vulnerability in Apache Tomcat that can lead to remote code execution (RCE). The main components are: - 'tomcat-scanner.py': A Python3 script that performs multi-threaded scanning of Tomcat servers for the vulnerability. It uses a wordlist of potential paths (provided in 'wordlist.txt') to probe endpoints for path equivalence issues. The tool supports both detection and exploitation modes. In exploit mode, it attempts to execute arbitrary shell commands on the target server to confirm RCE. - 'check-tomcat-readonly.sh': A Bash script that checks the local system for vulnerable Tomcat configurations by searching for 'readonly=false' in web.xml files, which is a prerequisite for the vulnerability. - 'wordlist.txt': A large, curated list of paths and filenames relevant to Tomcat, Bonita, GoAnywhere, Artifactory, and other related products, including specific payloads and traversal patterns for CVE-2025-24813. - 'requirements.txt': Lists Python dependencies (requests, urllib3). - 'README.md': Detailed documentation on usage, features, and the nature of the vulnerability. The exploit is operational: it can both detect and actively exploit the vulnerability, providing confirmation of RCE if successful. The attack vector is network-based, targeting HTTP endpoints on Tomcat servers. The tool is highly configurable, supporting custom wordlists, multi-target scanning, and custom shell commands for exploitation. No hardcoded C2 or external IPs are present; all endpoints are user-supplied or derived from the wordlist. The repository is not part of a framework and is a standalone operational exploit and detection tool for CVE-2025-24813.cchopin · Disclosed Apr 10, 2025 · python · bash · networkOperationalCVE-2025-24813This repository provides a working proof-of-concept exploit for CVE-2025-24813, a remote code execution vulnerability in Apache Tomcat (tested on version 9.0.90). The repository contains a Python script (cve_2025_24813.py) that automates the exploitation process, a Dockerfile for setting up a vulnerable Tomcat environment, a README with usage instructions, and a license file. The exploit works by first checking if the target Tomcat server allows HTTP PUT requests (indicating a writable web root), then generating a malicious Java serialized payload using ysoserial, uploading it as a session file, and finally triggering deserialization by sending a GET request with a custom JSESSIONID. Successful exploitation results in arbitrary command execution on the server. The script is interactive, requiring the user to provide the target URL, command to execute, path to ysoserial.jar, and the desired gadget chain. The attack vector is network-based, targeting Tomcat servers accessible over HTTP. The endpoints involved are the main application URL, a test file for PUT requests, the session file for payload upload, and the index.jsp endpoint to trigger the exploit. The exploit is operational and can be used to verify and demonstrate the vulnerability in real-world or test environments.hakankarabacak · Disclosed Apr 27, 2025 · python · dockerfile · networkOperationalCVE-2025-24813This repository contains a single Python exploit script (CVE_2025_24813.py) targeting Apache Tomcat servers vulnerable to CVE-2025-24813. The exploit achieves remote code execution by uploading a malicious serialized Java payload (generated via ysoserial or a custom Java class) to the Tomcat server's session directory using an HTTP PUT request. The script checks if the server is writable, generates the payload, uploads it, and verifies exploitation by checking for a server error indicative of deserialization. The script is operational and allows the attacker to specify the command to execute, the payload type, and other parameters. The main attack vector is network-based, requiring HTTP access to the target Tomcat server. The script is self-contained, with all logic in a single file, and is not part of a larger framework.ThHardvester · Disclosed May 10, 2025 · python · networkOperationalApache-Tomcat---Remote-Code-Execution-via-Session-Deserialization-CVE-2025-24813-This repository contains a Python exploit script (CVE-2025-24813.py) targeting Apache Tomcat versions 9.x and 10.x, exploiting a remote code execution vulnerability (CVE-2025-24813) via unsafe deserialization of session files. The exploit works by generating a malicious Java serialized payload (using ysoserial.jar), uploading it as a session file to the Tomcat server via an HTTP PUT request, and then triggering deserialization by accessing a JSP page. If successful, this results in arbitrary command execution on the server. The script requires the target to have a writable session directory accessible via HTTP PUT and the attacker to have Java and ysoserial.jar available. The repository also includes a brief README. The main exploit file is self-contained and operational, providing a clear attack chain and demonstrating the vulnerability.mbanyamer · Disclosed May 25, 2025 · python · networkOperationalPoC-CVE-2025-24813Repository contains a single Python exploit script (exploit.py) and a README describing exploitation of CVE-2025-24813 against Apache Tomcat. Core purpose: achieve remote code execution by (1) obtaining or guessing a JSESSIONID, (2) verifying that the target accepts HTTP PUT with Content-Range, (3) generating a malicious payload (either via ysoserial gadget chain or a locally compiled Java class packaged into a JAR), (4) uploading the payload via PUT to a traversed path intended to land in Tomcat’s session storage ("/uploads/../sessions/{sid}.session"), and (5) triggering processing by issuing a GET request with a JSESSIONID cookie and interpreting an HTTP 500 response as success. Structure/capabilities by function: - get_sid(): GETs {target}/index.jsp and extracts JSESSIONID from cookies or from page content; otherwise uses hardcoded fallback "absholi7ly". - verify_put(): PUTs to {target}/check.txt with Content-Range headers to test write capability. - ysoserial_payload(): runs local Java ysoserial to produce a serialized payload executing "cmd.exe /c <cmd>" (Windows-oriented). - java_payload(): writes/compiles Java code that executes the provided command in a static initializer and packages it; cleans up temporary files. - send_payload(): PUTs the payload to /uploads/../sessions/{sid}.session; treats HTTP 409 as an expected upload result and then triggers with a GET and Cookie header. Notable observations: - The trigger GET request is sent to the base URL (not a specific endpoint) and uses a hardcoded cookie value ("absholi7ly") rather than the extracted sid, which may reduce reliability. - Success condition is inferred from HTTP 500, which is a heuristic rather than direct command output retrieval. - Payload generation defaults to Windows command execution (cmd.exe /c) in ysoserial mode; java mode executes the command string as provided.ftz7 · Disclosed Aug 11, 2025 · python · networkOperationalCVE-2025-24813This repository provides a working exploit for CVE-2025-24813, targeting Apache Tomcat v9.0.90 on Windows Server 2019 with Java 25.0.1 and the vulnerable commons-collections-3.2.1.jar. The exploit leverages Java deserialization via a malicious session file, generated using ysoserial's CommonsCollections6 gadget. The Python script (exploit.py) automates payload generation, file upload via HTTP PUT, and exploitation by triggering deserialization with a crafted JSESSIONID cookie. The README provides detailed setup instructions for both the vulnerable environment and the attacker's machine, including all necessary dependencies and configuration changes. The exploit enables remote code execution on the target server, demonstrated by launching calc.exe. The repository is well-structured, with a single exploit script and comprehensive documentation, and is operational with a customizable payload.seahcy · Disclosed Dec 23, 2025 · python · networkOperationalCVE-2025-24813-Apache-Tomcat-Partial-PUT-Deserialization-RCE-This repository is a small, single-purpose exploit PoC for CVE-2025-24813 affecting Apache Tomcat under specific non-default configurations. It contains one Python exploit script and one README. The Python script is the main entry point and uses the requests library to perform a two-stage attack: first, it base64-decodes a hardcoded serialized Java gadget chain into a temporary local file (decoded_chain.bin), then uploads that file to the target as /payload.session using an HTTP PUT request with a Content-Range header to abuse Tomcat partial PUT handling. Second, it sends an HTTP HEAD request to the target root with the cookie JSESSIONID=.payload, attempting to make Tomcat load and deserialize the uploaded session file. The script treats an HTTP 500 response as likely exploitation success. The exploit’s core capability is unauthenticated remote code execution via Java deserialization in Tomcat session persistence. The payload is operational rather than just demonstrative because it includes a hardcoded serialized object chain and trigger logic, though payload customization is manual. Comments indicate the payload can be regenerated with ysoserial, and the embedded serialized blob appears to contain a command execution gadget chain invoking bash. The README explains the vulnerability prerequisites clearly: writable default servlet (readonly=false), partial PUT enabled, and file-based session persistence via PersistentManager/FileStore, plus a suitable gadget chain on the classpath. Overall, this is a straightforward network/web exploit PoC rather than a scanner or detection script.Dhananjayasj · Disclosed Jun 10, 2026 · python · markdown · network · webOperationalCVE-2025-24813This repository is a small standalone Python proof-of-concept exploit for CVE-2025-24813 targeting Apache Tomcat. The repo contains four files: a README with vulnerability description and usage, one Python exploit script (cve-2025-24813.py), a minimal requirements.txt listing requests, and a .gitignore. The exploit is not part of a larger framework. The main exploit flow in cve-2025-24813.py is straightforward and operational: it first checks whether the target accepts HTTP PUT by sending a PUT request to /__cve_test__. If writable, it generates a random uppercase session ID, invokes a local Java ysoserial.jar process to build a serialized Java gadget payload for an attacker-supplied command, then uploads that payload to /uploads/../sessions/<SID>.session using path traversal. Finally, it sends a GET request to the target base URL with the JSESSIONID cookie set to the crafted SID, attempting to make Tomcat's PersistentManager/FileStore load and deserialize the malicious session file. The script explicitly notes that execution is blind and the operator must verify side effects separately. Capabilities: unauthenticated remote exploitation over HTTP(S), writable PUT probing, path traversal-based file placement into Tomcat session storage, deserialization trigger via session cookie, and arbitrary command execution through a ysoserial-generated gadget chain. The payload is customizable through the --command and --gadget arguments, but relies on an external local ysoserial.jar and Java runtime. Because it delivers a real command-execution payload but is still a simple standalone PoC rather than a reusable framework module, the maturity is best classified as OPERATIONAL.yuzuki-ayanami · Disclosed Jul 12, 2026 · python · web · networkOperationalCVE-2025-24813The repository contains a README and one Python entry point, `autopwn.py`. It is an operational exploit for CVE-2025-24813 affecting specified Apache Tomcat 9, 10.1, and 11 releases. The script invokes a local ysoserial JAR to create a raw Java serialized gadget-chain payload (CommonsCollections6 by default), uploads it using HTTP PUT with a Content-Range header to several candidate `.session` paths, and issues a GET request with JSESSIONID cookie variants to force FileStore-backed session deserialization. It supports arbitrary blind commands and an optional configurable Bash reverse shell. The code iterates four upload paths and both normal and dot-prefixed session IDs, reporting HTTP 500 as its success signal. This is not merely a detector because it creates and delivers a command-execution payload; however, the HTTP 500 heuristic alone is not conclusive proof that a command executed. The README provides vulnerability background, prerequisites, examples, mitigation guidance, and references.e5dfdd568a75282b712b6d93a7a18e12 · Disclosed Sep 15, 2026 · python · markdown · web · networkOperationalCVE-2025-24813-Tomcat11-LabThis 71-file repository is a Docker-based research lab and operational Python PoC for CVE-2025-24813. It compares Apache Tomcat 11.0.2 (vulnerable) against 11.0.3 (patched), with deliberately unsafe lab-only settings: DefaultServlet readonly=false plus PersistentManager/FileStore session persistence. The main executable, poc/poc.py, accepts a target URL and command, checks partial-PUT writability, generates a ysoserial payload (default CommonsCollections6), uploads it to a session-like path, and triggers deserialization through a crafted JSESSIONID. It also contains a Java payload-generation option. The documented vulnerable chain is HTTP partial PUT of serialized data to /X.session, which Tomcat 11.0.2 transforms into the predictable temporary file .X.session in the context TEMPDIR. A subsequent request using JSESSIONID=.X causes PersistentManager/FileStore to load that same file and invoke ObjectInputStream.readObject(). Repository logs and a SafeMarker experiment demonstrate this with a marker file, while the PoC supports command-bearing ysoserial payloads. Tomcat 11.0.3 replaces path-derived temporary names with randomized put-part-* files and deletes them immediately, preventing the FileStore filename collision. Repository structure includes vulnerable/ and patched/ Dockerfiles and XML configuration, docker-compose.yml for localhost-bound HTTP and JDWP services, PowerShell lifecycle/verification scripts, poc/poc.py, and extensive analysis notes, runtime logs, request captures, and official/decompiled source diffs. The supplied lab binds services only to localhost, but the underlying vulnerability is network-reachable wherever the required non-default Tomcat configuration and PUT access are exposed.HwangEojin · Disclosed Sep 29, 2026 · python · powershell · network · containerOperationalCVE-2025-24813_POCThis repository contains a proof-of-concept (POC) exploit for CVE-2025-24813, which targets a Java deserialization vulnerability in a web application. The main file, CVE-2025-24813_POC.py, is a Python script that crafts and sends a serialized Java object payload to a specified HTTP endpoint (default: http://localhost:8080/). The exploit uses a DNS logging service (dnslog) to verify successful exploitation: if the target is vulnerable, it will make a DNS request to a domain controlled by the attacker, confirming code execution. The script includes functions for sending the payload, triggering the vulnerability, and checking for DNS log entries. The README provides a brief description and a warning about legal use. The repository is structured simply, with one main exploit script and a README. No hardcoded credentials or static IPs are present; the only fingerprintable endpoint is the default target URL, which can be changed by the user. The exploit is a POC and does not provide a weaponized or post-exploitation payload.N0c1or · Disclosed Mar 14, 2025 · python · networkPoCCVE-2025-24813This repository contains a single Markdown file with an embedded Bash proof-of-concept exploit for CVE-2025-24813, a vulnerability in Apache Tomcat's handling of partial PUT requests. The exploit demonstrates how an attacker can leverage Tomcat's temp file handling when 'allowPartialPut' is enabled to read or inject content into files, potentially leading to information disclosure, file corruption, or remote code execution if the targeted file is an executable script. The script uses curl to perform partial PUT and GET requests to specific file paths on the Tomcat server, exploiting the way Tomcat maps partial PUTs to temp files. The repository is structured as a single PoC script with detailed comments and usage instructions, targeting Tomcat servers with specific configuration settings.gregk4sec · Disclosed Mar 14, 2025 · bash · networkPoCPOC-CVE-2025-24813This repository contains a proof-of-concept (PoC) exploit for CVE-2025-24813, a remote code execution (RCE) vulnerability in Apache Tomcat. The main exploit script, CVE_2025_24813.py, is a Python tool that automates the exploitation process. It checks if the target server is writable via HTTP PUT, generates a malicious Java serialized payload (using ysoserial or a custom Java class), uploads the payload to a session file endpoint, and triggers deserialization by making a GET request to /index.jsp. If successful, this results in arbitrary command execution on the target server. The repository also includes a README with usage instructions and a LICENSE file. The exploit targets Apache Tomcat servers with misconfigured writable directories and insecure deserialization handling. No hardcoded IPs or domains are present; endpoints are constructed based on user-supplied target URLs.absholi7ly · Disclosed Mar 14, 2025 · python · networkPoCCVE-2025-24813-ExploitThis repository contains a Python proof-of-concept exploit for CVE-2025-24813, a remote code execution vulnerability in Apache Tomcat. The main file, CVE-2025-24813-Exploit.py, is a command-line tool that can scan one or more Tomcat servers for the vulnerability. It works by sending a crafted, base64-decoded payload (likely a serialized Java object) to the /msadeghkarimi/session endpoint using an HTTP PUT request. If the server responds with a specific status code (409), the script then sends a GET request to the root endpoint with a special session cookie to check for a 500 error, indicating successful exploitation. The tool supports multi-threaded scanning and batch input from a file. The README provides usage instructions and a disclaimer. No hardcoded IPs or domains are present; endpoints are constructed dynamically from user input. The exploit is a POC and does not provide a post-exploitation shell or similar payload, but demonstrates the vulnerability's presence.msadeghkarimi · Disclosed Mar 18, 2025 · python · networkPoClab-cve-2025-24813This repository provides a proof-of-concept exploit for CVE-2025-24813, targeting a Java web application running on Apache Tomcat 9.0.98. The exploit consists of a Dockerfile that sets up a Tomcat server with a vulnerable application (dummyapp-1.0-SNAPSHOT.war) and modifies the Tomcat web.xml to allow HTTP PUT and partial PUT requests, as well as disabling readonly mode. The application exposes a DeserializeServlet at the /profile endpoint, which is likely vulnerable to Java deserialization attacks. The upload.sh script uploads a serialized Java payload (payload.ser) in 100-byte chunks to the endpoint http://172.31.24.10:8080/xxx-api/gopan.session using HTTP PUT requests with Content-Range headers. The structure includes build artifacts and configuration files, with the main exploit logic in upload.sh and the Dockerfile. The purpose of the repository is to demonstrate and test exploitation of a deserialization vulnerability via chunked PUT requests to a Tomcat-hosted Java application.ps-interactive · Disclosed Mar 19, 2025 · bash · xml · networkPoCCVE-2025-24813-POCThis repository provides a proof-of-concept (PoC) exploit for CVE-2025-24813, a remote code execution (RCE) vulnerability in Apache Tomcat. The main file, 'CVE-2025-24813.py', is a Python script that targets a Tomcat server with specific insecure configurations (PUT/Write access enabled, session persistence, and required Java libraries). The exploit works by uploading a base64-encoded Java serialized payload (generated with ysoserial) to the server via HTTP PUT, then triggering its deserialization to achieve RCE. The payload, as provided, creates a file '/tmp/RCE-success' on the target to demonstrate successful exploitation. The README.md provides detailed setup instructions for configuring a vulnerable Tomcat environment and describes the expected output. The exploit is network-based, requiring only HTTP access to the target server, and is a functional PoC rather than a weaponized or framework-based exploit.Alaatk · Disclosed Mar 21, 2025 · python · networkPoCCVE-2025-24813This repository is a proof-of-concept (POC) exploit for CVE-2025-24813, targeting Apache Tomcat on Unix systems. It consists of two main Bash scripts and a README. The first script (01-prepare-environment.sh) automates the setup of a Tomcat environment: it downloads a specified Tomcat version, modifies configuration files to enable the vulnerable conditions, adds a deserialization gadget (commons-collections-3.1.jar), and prepares a Java deserialization payload using ysoserial. The second script (02-test.sh) generates or loads the payload and sends it via an HTTP PUT request to a Tomcat endpoint, attempting to exploit the vulnerability. Successful exploitation is indicated by the creation of a file in /tmp on the server. The repository is structured for easy testing of multiple Tomcat versions by changing a single variable. No weaponized or framework-based code is present; this is a standalone POC for vulnerability verification.manjula-aw · Disclosed Mar 30, 2025 · bash · networkPoCTomcat-CVE-2025-24813This repository provides a proof-of-concept (POC) exploit for CVE-2025-24813, a deserialization vulnerability in Apache Tomcat (versions 9.0.0.M1-9.0.98, 10.1.0-M1-10.1.34, and 11.0.0-M1-11.0.2). The exploit leverages a misconfigured Tomcat instance (DefaultServlet 'readonly' set to false, file session persistence enabled, and a vulnerable deserialization gadget in the classpath) to achieve remote code execution via a crafted Java serialized payload. The main exploit script (poc.py) sends a base64-decoded serialized payload to the endpoint http://localhost:8080/pocss/session using an HTTP PUT request. The repository includes configuration files (context.xml, docker-compose.yml) to set up a vulnerable Tomcat environment, and detailed instructions in the README.md for generating payloads (using Java-Chains) and exploiting the target. The exploit is network-based and requires specific server-side configuration to be vulnerable. The payload achieves arbitrary code execution, such as spawning a reverse shell, if the exploit is successful.B1gN0Se · Disclosed Mar 31, 2025 · python · xml · networkPoC
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
Apache Software FoundationTomcatapplication
Debian ProjectDebian Linuxoperating_system
NetAppBootstrap Osoperating_system
FAQ

Frequently asked questions

Is CVE-2025-24813 exploited in the wild?
Yes. As of Nov 1, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Apr 1, 2025.
Is there a public exploit for CVE-2025-24813?
Yes. Mallory tracks 45 public exploits or proofs of concept for CVE-2025-24813, the earliest disclosed Mar 10, 2025.
Is there a patch for CVE-2025-24813?
Upgrade to Apache Tomcat 11.0.3, 10.1.35, or 9.0.99 or a later fixed release in the corresponding branch. Migrate affected Tomcat 8.5 and older unsupported installations to a supported, patched branch because no fixed 8.5 release is identified.
What products are affected by CVE-2025-24813?
Apache Software Foundation Tomcat, NetApp Bootstrap Os, and Debian Project Debian Linux.
How severe is CVE-2025-24813?
CVE-2025-24813 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 99.9% (100th percentile) as of Nov 1, 2026.
Activity feed

Recent activity

50 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+16 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signatures5YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity23Community discussion across Reddit, Mastodon, and other social sources.