PoC Monitor
← All CVEs
CVE-2025-47812published 10 Jul 2025 00:00 UTCData: JSON · API

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.

First public PoC 8.5 days beforebefore publication · 1 Jul 2025
Public PoCs2117 on GitHub · 4 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-158
CISA KEV 14 Jul 20254 days after publication

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

wftpserver Wing FTP Server
  • < 7.4.4

Fixed in 7.4.4

Mitigation

Upgrade Wing FTP Server to 7.4.4 or later.

Timeline

Days relative to CVE publication
-10-8-6-4-2t=0+2+4+6+8First public PoC1 Jul 2025 · t−8.5dCVE published10 Jul 2025 · t = 0Added to CISA KEV14 Jul 2025 · t+4d

First 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
RepositoryCreatedStarsAssessment
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
RepositoryCreatedStarsAssessment
B1ack4sh/Blackash-CVE-2025-47812 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 1
RepositoryCreatedStarsAssessment
Majdae/CVE-2025-47812-Research 9 Apr 2026 +274 d 1 Informational · write-up
Not a PoC 1
RepositoryCreatedStarsAssessment
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.

PoC characteristics

What to hunt for in your logs · from 17 PoC repos

POST /loginok.html

Key headers
# no uid "connection": keep-alive Accept: 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.7 Accept: */* Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Language: fr-FR,fr;q=0.9 Accept-Language: en-US,en;q=0.9 Accept-Language: en-US,en;q=0.5 Cache-Control: max-age=0 Cookie: client_lang=french Cookie: client_lang=english Origin: {var} Origin: http://localhost Priority: u=0, i Referer: {var}/login.html Referer: http://localhost/login.html?lang=french Referer: {var}/login.html?lang=english Referer: {var}/loginok.html Sec-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: ?0 Sec-Ch-Ua-Platform: "Linux" Sec-Ch-Ua-Platform: "Windows" Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: same-origin Sec-Fetch-User: ?1 Upgrade-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=anonymous password_val= username=anonymous�]] local h = io.popen("ipconfig") local r = h:read("*a") h:close() print(r) -- 1 username=anonymous�]] local h = io.popen(" username= in application/x-www-form-urlencoded
Ports
5466, 8080
PoC User-Agent
Mozilla/5.0 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36 Mozilla/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.36 Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0 Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0 Mozilla/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 /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

POST /dir.html

Key headers
Accept: */* Accept-Language: fr-FR,fr;q=0.9 Cookie: client_lang=french; viewmode=0; UID= Origin: http://localhost Referer: http://localhost/main.html Sec-Ch-Ua: "Not-A.Brand";v="24", "Chromium";v="146" Sec-Ch-Ua-Mobile: ?0 Sec-Ch-Ua-Platform: "Windows" Sec-Fetch-Dest: empty Sec-Fetch-Mode: cors Sec-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-US Cookie: client_lang=english Referer: 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-US Cookie: client_lang=english Referer: 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.

POST /loginok.html
(?i)^/loginok\.html(?:[?#].*)?$
GET /dir.html
(?i)^/dir\.html(?:[?#].*)?$
GET /login.html
(?i)^/login\.html\?(?:.*&)?lang=english
GET /logout.html
(?i)^/logout\.html(?:[?#].*)?$
POST /dir.html
(?i)^/dir\.html(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /loginok.html
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;)
GET /dir.html
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;)
GET /login.html
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;)
GET /logout.html
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;)
POST /dir.html
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.

POST /loginok.html
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
GET /dir.html
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
GET /login.html
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
GET /logout.html
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
POST /dir.html
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