Rapid7

module

F5 Big-IP Create Admin User

Disclosed
Nov 16, 2022
Created
Feb 3, 2023

Description

This creates a local user with a username/password and root-level
privileges. Note that a root-level account is not required to do this,
which makes it a privilege escalation issue.

Note that this is pretty noisy, since it creates a user account and
creates log files and such. Additionally, most (if not all)
vulnerabilities in F5 grant root access anyways.

Adapted from https://github.com/rbowes-r7/refreshing-mcp-tool/blob/main/mcp-privesc.rb

Author

Ron Bowes

Platform

Linux,Python,Unix

Architectures

cmd, python

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

Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.