<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Wftpserver - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/vendors/wftpserver/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Fri, 30 Oct 2026 08:32:29 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/vendors/wftpserver/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Wing FTP Server: Unauthenticated Lua injection remote code execution (CVE-2025-47812)</title><link>https://feed.craftedsignal.io/briefs/2026-10-wing-ftp-rce/</link><pubDate>Fri, 30 Oct 2026 08:32:29 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-10-wing-ftp-rce/</guid><description>An unauthenticated remote code execution vulnerability (CVE-2025-47812) in Wing FTP Server &lt;= 7.4.3 allows attackers to execute arbitrary code via Lua injection into session files by leveraging a NULL byte truncation flaw in username handling.</description><content:encoded><![CDATA[<p>Wing FTP Server versions 7.4.3 and earlier are vulnerable to a critical unauthenticated remote code execution (RCE) flaw. The vulnerability exists within the <code>c_CheckUser()</code> function, where the username is truncated at the first NULL byte for authentication checks. However, the session creation process writes the full, unsanitized username into a Lua-based session file. By injecting a specially crafted payload containing Lua syntax, an attacker can cause the server to write malicious code into this session file. Accessing any authenticated endpoint subsequently triggers <code>loadfile()</code> on the session file, executing the injected Lua code with the privileges of the Wing FTP process (typically SYSTEM on Windows or root on Linux).</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker sends a crafted request to the server containing a NULL byte injected into the username parameter (e.g., <code>anonymous%00]]&lt;lua&gt;--</code>).</li>
<li>The <code>c_CheckUser()</code> authentication function truncates the input at the NULL byte, allowing the request to proceed.</li>
<li>The server writes the full, unsanitized username string into a persistent session file.</li>
<li>The malicious Lua payload is successfully stored within the session file.</li>
<li>The attacker requests an authenticated endpoint, such as <code>dir.html</code>.</li>
<li>The server loads the session file via <code>loadfile()</code>, inadvertently executing the attacker-supplied Lua code.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation allows for full system compromise, granting the attacker the same privileges as the Wing FTP Server process, which is often running as root or SYSTEM.</p>
<h2 id="recommendation">Recommendation</h2>
<ol>
<li>Upgrade Wing FTP Server to version 7.4.4 or later immediately.</li>
<li>Inventory all instances of Wing FTP Server in the environment to identify systems running version 7.4.3 or earlier.</li>
<li>Monitor web server logs for requests containing NULL bytes or suspicious Lua syntax in the username field.</li>
<li>Restrict access to the Wing FTP administrative and web interface ports (defaulting to 5466/5467) to authorized networks only.</li>
</ol>
]]></content:encoded><category domain="severity">critical</category><category domain="type">advisory</category></item></channel></rss>