Rapid7 Vulnerability & Exploit Database

Wing FTP Server Authenticated Command Execution

Back to Search

Wing FTP Server Authenticated Command Execution

Disclosed
06/19/2014
Created
05/30/2018

Description

This module exploits the embedded Lua interpreter in the admin web interface for versions 3.0.0 and above. When supplying a specially crafted HTTP POST request an attacker can use os.execute() to execute arbitrary system commands on the target with SYSTEM privileges.

Author(s)

  • Nicholas Nam <nick@executionflow.org>
  • Imran E. Dawoodjee <imrandawoodjee.infosec@gmail.com>

Platform

Windows

Architectures

x86

Development

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/windows/ftp/wing_ftp_admin_exec
msf exploit(wing_ftp_admin_exec) > show targets
    ...targets...
msf exploit(wing_ftp_admin_exec) > set TARGET < target-id >
msf exploit(wing_ftp_admin_exec) > show options
    ...show and set options...
msf exploit(wing_ftp_admin_exec) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;