SecPod

Learn Search

Search across all Learn content

← Back to Security Research
Wing FTP Under Siege: Critical Vulnerability Actively Exploited

Wing FTP Under Siege: Critical Vulnerability Actively Exploited

A critical vulnerability, CVE-2025-47812, in Wing FTP Server is under active exploitation, allowing unauthenticated remote code execution with root or SYSTEM privileges. This flaw has a CVSS score of 10.0, marking it highly severe.

Jul 15, 2025By Meghana Raatni4 min read

A critical vulnerability, CVE-2025-47812, in Wing FTP Server is under active exploitation, allowing unauthenticated remote code execution with root or SYSTEM privileges. This flaw has a CVSS score of 10.0, marking it highly severe.

Vulnerability Details

The vulnerability, identified as CVE-2025-47812, arises from the improper handling of null bytes in Wing FTP Server’s web interface, particularly within the loginok.html endpoint responsible for processing authentication requests.

Wing FTP Server is a commercial file transfer solution widely used by businesses, MSPs, and hosting providers. It is available on Windows, Linux, and macOS.

Root Cause

CVE-2025-47812 is caused by a null byte injection flaw and Lua code injection. This combination allows attackers to bypass authentication checks and inject arbitrary commands into server session files.

Proof of Concept (PoC)

Security researcher Julien Ahrens disclosed the vulnerability on June 30, 2025, along with two other vulnerabilities (CVE-2025-47811 and CVE-2025-47813), providing proof-of-concept exploits. Huntress Labs also created a PoC demonstrating arbitrary code execution as root on Linux or SYSTEM on Windows. Here’s how the PoC works:

Login Request Exploit

  • An attacker submits a POST to loginok.htmlSupplying a username that includes a %00 character followed by crafted Lua code.
  • The %00 Null-byte truncates expected string parsing, while the trailing Lua payload closes the existing syntax and appends malicious code.
  • The payload ends with -- to comment out any leftover syntax.

Session File Injection

  • Wing FTP stores user session data (username, IP, working directory) in .lua session files.
  • The malformed username uses this file alongside the injected Lua, corrupting the session data and embedding the attack code.

Triggering Code Execution

  • When the server later accesses any session-reflecting endpoint (e.g., dir.html), it unknowingly executes the poisoned session file as Lua script.
  • This results in the attacker’s code running with root or SYSTEM privileges, depending on the OS.

Observations & Artifacts

  • Logs in Log/Domains/.../YYYY-M-D.log show truncated entries like User 'anonymous (missing closing quote), a telltale null byte effect.
  • The session directory contains unusual .lua files, typically oversized due to injected code. Upon inspection, these contain a base? Encoded payloads, which, when decoded, launch commands such as downloading and executing binaries via certutil.

Impact & Exploit Potential

Successful exploitation of CVE-2025-47812 allows attackers to inject Lua code into session files, which executes with elevated privileges when processed by the server. This grants attackers complete control over the system and can be executed via anonymous FTP accounts. According to Censys, approximately 8,103 devices are running Wing FTP Server, with around 5,004 exposing their web interfaces to the internet.

Tactics, Techniques, and Procedures (TTPs)

The following TTPs are associated with the exploitation of CVE-2025-47812:

TA0002 – Execution: Attackers inject arbitrary Lua code to execute commands with root or SYSTEM privileges.

TA0003 – Persistence: Attackers may create new user accounts for persistent access.

T1203 – Exploitation for Client Execution: Exploit the vulnerability to execute malicious code on the server.

T1098 – Account Manipulation: Attackers create new accounts to maintain access to the compromised system.

Affected Products

The vulnerability affects the following products:

  • Wing FTP Server versions before 7.4.4

Mitigation & Recommendations

To mitigate the risk posed by CVE-2025-47812, apply the following measures:

  • Upgrade to Wing FTP Server version 7.4.4.
  • Disable or restrict HTTP/HTTPS access to the Wing FTP web portal.
  • Disable anonymous login functionality.
  • Monitor session directories for suspicious .lua files.
  • Implement network segmentation to limit exposure.

Active Exploitation

Huntress Labs observed actively exploiting this vulnerability starting on July 1, 2025, shortly after the public disclosure.

Observed attacker activity included reconnaissance, system enumeration, user creation, and attempts to download and execute remote malware.

Instantly Fix Risks with Saner Patch Management

Saner patch management is a continuous, automated, and integrated software that instantly fixes risks exploited in the wild. The software supports major operating systems like Windows, Linux, and macOS, as well as 550+ third-party applications.

It also allows you to set up a safe testing area to test patches before deploying them in a primary production environment. Saner patch management additionally supports a patch rollback feature in case of patch failure or a system malfunction.

Experience the fastest and most accurate patching software here.

Featured Posts

Open November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities
November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

CVE Research

November 2026 Linux Security Updates for Debian, Fedora, Red Hat and Ubuntu: Critical Browser, .NET and Enterprise Infrastructure Vulnerabilities

Nov 27, 2026

Open Drupal Installer Flaw Under Attack: Site Takeover Risk Persists
vulnerability researchDrupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE Research

Drupal Installer Flaw Under Attack: Site Takeover Risk Persists

CVE-2026-136716 is a highly critical Drupal core installer access-bypass vulnerability that is under active exploitation. An unauthenticated attacker can take over sites left in unusual or incomplete installation states, including some production sites. The earlier fix for CVE-2026-132165 does not cover every affected state. Fixed releases are Drupal Core 11.4.14, 11.3.23, and 10.6.23. This article covers how the flaw works, its relationship to the prior installer issue, impact, and remediation steps.

Nov 27, 2026

Open GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation
GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

CVE Research

GT13 Campaign Targets 22 Organizations Through Check Point Security Management Server Exploitation

The GT13 campaign targeted at least 22 organizations worldwide by exploiting vulnerabilities in exposed services and Check Point Security Management Servers. The attackers used forged authentication sessions, SSH-based persistence, internal reconnaissance, lateral movement, and data exfiltration techniques to compromise systems and access sensitive information.

Nov 26, 2026

Open GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution
vulnerability researchGeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

CVE Research

GeoServer Flaws Under Attack: Inside the Exploit Chain to Remote Code Execution

Six vulnerabilities in GeoServer’s November 2026 security update can expose sensitive files, bypass service authorization, and enable administrator impersonation. Several of these flaws can be chained for unauthenticated remote code execution with the permissions of the GeoServer process. CVE-2026-120705 and CVE-2026-129243 have been reported as exploited. Fixed releases include GeoServer 3.0.2, 2.28.6, and 2.27.7. This article covers the flaws, the public five-CVE chain, impact, affected versions, and remediation guidance.

Nov 26, 2026