Rapid7 Vulnerability & Exploit Database

F5 BIG-IP iControl RCE via REST Authentication Bypass

Back to Search

F5 BIG-IP iControl RCE via REST Authentication Bypass

Disclosed
05/04/2022
Created
05/12/2022

Description

This module exploits an authentication bypass vulnerability in the F5 BIG-IP iControl REST service to gain access to the admin account, which is capable of executing commands through the /mgmt/tm/util/bash endpoint. Successful exploitation results in remote code execution as the root user.

Author(s)

  • Heyder Andrade
  • alt3kx <alt3kx@protonmail.com>
  • James Horseman
  • Ron Bowes

Platform

Linux,Unix

Architectures

cmd, x86, x64

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

;