Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
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.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2025-47812-Wing-FTP-Server-7.4.3-Unauthenticated-RCE-PoC — Proof-of-concept exploit for CVE-2025-47812: unauthenticated remote code execution in Wing FTP Server <= 7.4.3 via NULL byte injection in the username parameter, providing root/ SYSTEM shell access. | Kitploit
Tools/GitHubGitHub/estebanzarate/cve-2025-47812-wing-ftp-server-7.4.3-unauthenticated-rce-poc
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRemote Access ToolPayload Development
GitHubestebanzarate/cve-2025-47812-wing-ftp-server-7.4.3-unauthenticated-rce-poc

CVE-2025-47812-Wing-FTP-Server-7.4.3-Unauthenticated-RCE-PoC

Proof-of-concept exploit for CVE-2025-47812: unauthenticated remote code execution in Wing FTP Server <= 7.4.3 via NULL byte injection in the username parameter, providing root/ SYSTEM shell access.

View Repository
216 months agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2025-47812 — Wing FTP Server <= 7.4.3 Unauthenticated RCE (PoC)

Unauthenticated remote code execution vulnerability in Wing FTP Server <= 7.4.3. A NULL byte injected into the username parameter during login causes Lua code to be written into the session file. When /dir.html is accessed with the resulting session cookie, the injected code is executed — as root on Linux or SYSTEM on Windows.


How it works

  1. A crafted POST to /loginok.html injects a NULL byte followed by Lua code into the username field.
  2. The server creates a session file containing the unsanitized username (including the Lua payload).
  3. A GET request to /dir.html with the returned UID cookie triggers execution of the injected Lua code.
  4. The script logs out between commands to avoid hitting the server's concurrent session limit.

Requirements

  • Python 3
  • Install dependencies:
root@kitploit:~
python3 -m venv venv
source venv/bin/activate
python3 -m pip install requests prompt_toolkit

Usage

root@kitploit:~
python3 exploit.py -u http://TARGET

Example:

root@kitploit:~
$ python3 exploit.py -u http://10.10.10.10
[*] Targeting http://10.10.10.10
[*] Logging in with injected payload...
[*] Triggering payload...
[+] Target is vulnerable! Command output:
uid=0(root) gid=0(root) groups=0(root)

[+] Shell opened. Type 'exit' or Ctrl+C to quit.

Shell> whoami
root

References

  • CVE-2025-47812
  • Wing FTP Server 7.4.4 release (fix)
  • Original PoC by 4m3rr0r

Credits

  • Discovery & original exploit: Sheikh Mohammad Hasan aka 4m3rr0r
  • Cleanup & simplification: Esteban Zárate
Download Tool