CVE-2025-47812: Wing FTP Server · Remote code execution
Exploitation: In the wild · CVSS 10.0 Critical · Unauthenticated · Published 2025-07-10
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.
Enclave's analysis
Wing FTP Server before 7.4.4 mishandles NUL bytes in its web interfaces. That lets an attacker inject Lua code into session files and run system commands as root or SYSTEM. Anonymous FTP accounts are enough to trigger it. CISA lists it as actively exploited, and EPSS is very high. Upgrade to 7.4.4 or later. Until then, restrict the web interfaces and disable anonymous access.
Fix
Upgrade to 7.4.4.
Affected versions
| Product | Vulnerable | Fixed in |
|---|---|---|
| Wing FTP Server | 0 before 7.4.4 | 7.4.4 |