Description
Wing FTP Server allows arbitrary Lua code injection via a NULL-byte (%00) truncation bug (CVE-2025-47812). Supplying <valid-user>%00<lua-payload> as the username makes the C++ authentication routine validate only the prefix, while the full string is written unfiltered into the session file and later executed with root/SYSTEM privileges, leading to Remote Code Execution.
Module options
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use exploit/multi/http/wingftp_null_byte_rcemsf undefined(wingftp_null_byte_rce) > show actions ...actions...msf undefined(wingftp_null_byte_rce) > set ACTION < action-name >msf undefined(wingftp_null_byte_rce) > show options ...show and set options...msf undefined(wingftp_null_byte_rce) > runPrioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub