Description
In Wing FTP Server before 7.4.4. the user and admin web interfaces mishandle '\0' bytes, ultimately allowing injection of arbitrary Lua code into user session files. This can be used to execute arbitrary system commands with the privileges of the FTP service (root or SYSTEM by default). This is thus a remote code execution vulnerability that guarantees a total server compromise. This is also exploitable via anonymous FTP accounts.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| wftpserver | Wing FTP Server | < 7.4.4 | 7.4.4 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 2 modules
-
Wing FTP Server Authenticated Command Execution
exploit/windows/ftp/wing_ftp_admin_exec
-
Wing FTP Server NULL-byte Authentication Bypass (CVE-2025-47812)
exploit/multi/http/wingftp_null_byte_rce
Exploit-DB 1
- Wing FTP Server 7.4.3 - Unauthenticated Remote Code Execution (RCE) EDB-52347 · remote · Jul 2, 2025
GitHub 18 repositories · most starred shown
-
4m3rr0r/CVE-2025-47812-poc ★ 54 · Jul 1, 2025
Wing FTP Server Remote Code Execution (RCE) Exploit (CVE-2025-47812)
-
0xcan1337/CVE-2025-47812-poC ★ 13 · Jul 1, 2025
Simple exploit for Wing FTP Server RCE (CVE-2025-47812) to run commands and get a reverse shell. For educational use only.
-
0xgh057r3c0n/CVE-2025-47812 ★ 3 · Jul 2, 2025
Wing FTP Server RCE via Lua Injection
-
estebanzarate/CVE-2025-47812-Wing-FTP-Server-7.4.3-Unauthenticated-RCE-PoC ★ 2 · Feb 19, 2026
Unauthenticated remote code execution vulnerability in Wing FTP Server <= 7.4.3.
-
shadowgit30/CVE-2025-47812 ★ 2 · Feb 17, 2026
CVE-2025-47812 POC
-
r0otk3r/CVE-2025-47812 ★ 2 · Jul 27, 2025
-
Majdae/CVE-2025-47812-Research ★ 1 · Apr 9, 2026
-
0xjuarez/CVE-2025-47812 ★ 1 · Feb 24, 2026
-
blindma1den/CVE-2025-47812 ★ 1 · Jul 17, 2025
-
ill-deed/WingFTP-CVE-2025-47812-illdeed ★ 0 · Jul 4, 2025
Remote Command Execution exploit for Wing FTP Server (CVE-2025-47812)
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Wing FTP Server <= 7.4.3 - Remote Code Execution http/cves/2025/CVE-2025-47812.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 1
- NCSC-2025-0230 Kwetsbaarheid verholpen in Wing FTP Server NCSC-NL (Netherlands) · Jul 14, 2025
References
- https://www.wftpserver.com
- https://www.rcesecurity.com/2025/06/what-the-null-wing-ftp-server-rce-cve-2025-47812/
- https://www.vicarius.io/vsociety/posts/cve-2025-47812-mitigation-script-remote-code-execution-vulnerability-in-wing-ftp-server
- https://www.vicarius.io/vsociety/posts/cve-2025-47812-detection-script-remote-code-execution-vulnerability-in-wing-ftp-server