Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-25329 — Tomcat FileStore deserialization fix for CVE-2020-9484 was incomplete. Fixed in 9.0.42/8.5.62/7.0.108. Differential: traversal on vuln, refused on fixed | Kitploit
Tools/GitHubGitHub/googlesky/cve-2021-25329
Vulnerability AnalysisExploitationWeb Application ExploitationLabs & Practice
GitHubgooglesky/cve-2021-25329

CVE-2021-25329

Tomcat FileStore deserialization fix for CVE-2020-9484 was incomplete. Fixed in 9.0.42/8.5.62/7.0.108. Differential: traversal on vuln, refused on fixed

View Repository
Nov 26, 2026Not yet reviewed

Related Tools

  • nuclei

    Fast YAML-based vulnerability scanner with template-driven detection engine for automated security testing across web apps, APIs, networks, DNS, and cloud infrastructure.

  • zaproxy

    Open-source web application security scanner for automated vulnerability detection, manual penetration testing, and API security testing with a proxy-based interception engine.

  • openvas-scanner

    This repository contains the scanner component for Greenbone Community Edition.

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    796
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    735
  • 3

    IMSIcatcher

    28zaaky/imsicatcher

    IMSI Catcher platform that deploys a rogue GSM cell to intercept SMS, inject messages and track mobile devices

    721
  • 4

    opencti

    opencti-platform/opencti

    Open Cyber Threat Intelligence Platform

    535
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    424
  • 6

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    419

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2021-25329 — Tomcat FileStore incomplete deserialization fix

License: MIT Research status: validated

CVECVE-2021-25329
ComponentApache Tomcat — PersistentManager FileStore
Affected9.0.0.M1-9.0.41; 8.5.0-8.5.61; 7.0.0-7.0.107
Fixed in9.0.42 / 8.5.62 / 7.0.108
CWECWE-502 (Deserialization of Untrusted Data)
ImpactThe earlier fix for CVE-2020-9484 was incomplete in an edge-case configuration, again allowing a crafted session id to select a file for deserialization.
Vectorcrafted JSESSIONID with path separators
Triggersession id naming a file outside the store

The vulnerable path:

# pre-fix (model from Apache Tomcat security advisory)
attacker input accepted without the required protection

The derived guard:

# derived from observed behaviour, not copied from a vendor fix
fully validate the session id before building the file path

1. Root cause

The path check did not cover every separator and dot form. The fix validates all of them.

2. Reproduction environment

serviceimagerole
t29-vulncve-2021-25329:vulnvulnerable behaviour present
t29-guardcve-2021-25329:guardfixed behaviour
poccve-2021-25329-poc:localstdlib-only Python driver

Both sides are Python 3.12 images. The vulnerable behaviour is modelled from Apache Tomcat security advisory; the guard is derived from the lab observation that the impact is reproduced. The fixed build applies the published upstream change.

3. Running the environment

./run-lab.sh build
./run-lab.sh up
./run-lab.sh sweep
./run-lab.sh down

The lab uses the isolated cve25329lab network and bounded containers.

4. The PoC

poc/poc.py takes a mode and an optional --host=...:

moderesult
checkexit 1 when the traversal succeeds, 0 when the id is refused
exploitruns the full chain and reports the observed impact
probeprints the traversal flag
mitigationexplains the derived guard

A standalone exploit ships at exploit/exploit.py:

python3 exploit/exploit.py --host=t29-vuln

It exits 1 on a confirmed finding and 0 on a guarded target.

5. Expected results

t29-vuln (pre-fix)t29-guard (derived)
crafted requestdeserializationrefused
ordinary requestworksworks

Captured runs are in evidence/check-*-run.txt, evidence/exploit-*-run.txt, evidence/probe-*-run.txt, evidence/mitigation-*-run.txt, evidence/exploit-standalone-run.txt, evidence/exploit-standalone-fixed-run.txt, evidence/versions.txt and evidence/0day-sweep.txt.

6. Environment preconditions

Podman or Docker with the cve25329lab network. No production system is involved. Real-world exploitation needs an affected installation.

7. Additional findings (0-day sweep on the guarded build)

Ordinary requests still succeed on the fixed build.

8. Repository layout

README.md             this write-up
run-lab.sh            environment driver (build / up / sweep / down)
Makefile              convenience targets
poc/poc.py            the PoC (check / exploit / probe / mitigation)
exploit/exploit.py    standalone exploit
lab/harness-*.py      vulnerable behaviour / derived guard
lab/lab.Dockerfile    builds both sides
lab/service.py        HTTP wrapper (POST /check)
evidence/             captured runs on both sides
TRACKING.md           working record, excluded from the repo

9. References

  • CVE record — https://www.cve.org/CVERecord?id=CVE-2021-25329
  • Upstream advisory Apache Tomcat security advisory — https://nvd.nist.gov/vuln/detail/CVE-2021-25329
Download Tool