Exploit database

Vulnerability

CVE-2022-41800

Appliance mode iControl REST vulnerability

Vulnerability details

Score
8.7
Severity
high

CVSS 3.1 · f5

Vector string

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N

Description

In all versions of BIG-IP, when running in Appliance mode, an authenticated user assigned the Administrator role may be able to bypass Appliance mode restrictions, utilizing an undisclosed iControl REST endpoint. A successful exploit can allow the attacker to cross a security boundary. Note: Software versions which have reached End of Technical Support (EoTS) are not evaluated.

CVE Program

Exploit source choices

4 sources
F5 BIG-IP iControl Authenticated RCE via RPM Creator
MSF-linux--http--f5_icontrol_rpmspec_rce_cve_2022_41800MetasploitLinux,Unix / remotePreferred

This module exploits a newline injection into an RPM .rpmspec file that permits authenticated users to remotely execute commands. Successful exploitation results in remote code execution as the root user.

2022-11-16f5_icontrol_rpmspec_rce_cve_2022_41800.rb
F5 BIG-IP iControl CSRF File Write SOAP API
MSF-linux--http--f5_icontrol_soap_csrf_rce_cve_2022_41622MetasploitLinux,Unix / remote

This module exploits a cross-site request forgery (CSRF) vulnerability in F5 Big-IP's iControl interface to write an arbitrary file to the filesystem. While any file can be written to any location as root, the exploitability is limited by SELinux; the vast majority of writable locations are unavailable. By default, we write to a script that executes at reboot, which means the payload will execute the next time the server boots. An alternate target - Login - will add a backdoor that executes next time a user logs in interactively. This overwrites a file, but we restore it when we get a session Note that because this is a CSRF vulnerability, it starts a web server, but an authenticated administrator must visit the site, which redirects them to the target.

2022-11-16f5_icontrol_soap_csrf_rce_cve_2022_41622.rb
F5 Big-IP Create Admin User
MSF-linux--local--f5_create_userMetasploitLinux,Python,Unix / remote

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

2022-11-16f5_create_user.rb
j-baines/tippa-my-tongue
GH-ac67adb9858d0ae84a1c5f0b8e568b4bGitHubUnofficial GitHub source

F5 BIG-IP Exploit Using CVE-2022-1388 and CVE-2022-41800

2023-04-124 files · 1 stars