CVE-2025-47812 — Wing Ftp Server
CRITICALCVE-2025-47812 is a critical-severity (CVSS 10) CWE-158 vulnerability in wftpserver wing ftp server. 4 public exploit references exist, so weaponization risk is real. A fix is available — see the affected versions and patch details below.
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…
Exploitation Status
Actively exploited in the wild
- CISA’s SSVC triage classifies this CVE as under active exploitation.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA’s SSVC triage for CVE-2025-47812.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2025-47812 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 395,308 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
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
wing ftp serverwftpserverResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Wing FTP Server 7.4.3 - Unauthenticated Remote Code Execution (RCE)
by 4m3rr0r · Jul 2, 2025
Detection & mitigation playbook
Vendor / applianceDetect
Inventory every wftpserver wing ftp server deployment and check each version against the affected-products list above.
Fix
Apply the wftpserver wing ftp server security patch or hotfix for CVE-2025-47812 on the affected version, following the vendor advisory for your exact build.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
How to detect CVE-2025-47812
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2025-47812 -u https://target- Template
- Wing FTP Server <= 7.4.3 - Remote Code Execution
- Severity
- critical
- Impact
- Unauthenticated attackers can inject and execute Lua code through NULL byte handling in the username parameter when anonymous login is enabled, achieving remote code execution with elevated privileges.
- Remediation
- Upgrade Wing FTP Server to version 7.4.4 or later that properly handles NULL bytes in authentication parameters.
Template by ProjectDiscovery nuclei-templates (rcesecurity, 4m3rr0r), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2025-47812 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.