Rapid7 Vulnerability & Exploit Database

F5 BIG-IP TMUI Directory Traversal and File Upload RCE

Back to Search

F5 BIG-IP TMUI Directory Traversal and File Upload RCE



This module exploits a directory traversal in F5's BIG-IP Traffic Management User Interface (TMUI) to upload a shell script and execute it as the Unix root user. Unix shell access is obtained by escaping the restricted Traffic Management Shell (TMSH). The escape may not be reliable, and you may have to run the exploit multiple times. Sorry! Versions 11.6.1-11.6.5, 12.1.0-12.1.5, 13.1.0-13.1.3, 14.1.0-14.1.2, 15.0.0, and 15.1.0 are known to be vulnerable. Fixes were introduced in,,,, and Tested against the VMware OVA release of 14.1.2.


  • Mikhail Klyuchnikov
  • wvu <wvu@metasploit.com>




cmd, x86, x64


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/linux/http/f5_bigip_tmui_rce
msf exploit(f5_bigip_tmui_rce) > show targets
msf exploit(f5_bigip_tmui_rce) > set TARGET < target-id >
msf exploit(f5_bigip_tmui_rce) > show options
    ...show and set options...
msf exploit(f5_bigip_tmui_rce) > 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