Join our Newsletter — 33% off our NHI Course
Home› Guides› F5 BIG-IP Hardening Guide: Locking Down TMUI, iControl…
Guide Network Security

F5 BIG-IP Hardening Guide: Locking Down TMUI, iControl REST and Self IPs

PDF for newsletter subscribers · free to read online

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 27 October 2026 12 min read
On this page

F5 BIG-IP devices front critical applications, yet the most damaging BIG-IP vulnerabilities have been in the management plane: the Configuration utility (TMUI) and iControl REST, reached through the management port or through self IP addresses that were never locked down. CVE-2020-5902, CVE-2021-22986, CVE-2022-1388 and CVE-2023-46747 all gave unauthenticated attackers system command execution and all sit in the CISA Known Exploited Vulnerabilities catalogue. In October 2025 F5 disclosed that a nation-state actor had stolen BIG-IP source code and information about undisclosed vulnerabilities, and CISA's Emergency Directive 26-01 told US federal agencies to inventory devices, check management interface exposure and patch within a week. This guide covers BIG-IP administrator and API identity, the management plane settings that shrink exposure, logging, and the mistakes behind most compromises. It is for application delivery engineers, network architects and SOC analysts. For the generic view, see the Load Balancer Security Guide.

Key takeaways

  • Self IPs are a management path. KEV entries for CVE-2023-46747 and CVE-2023-46748 describe exploitation through the management port and/or self IP addresses; set Port Lockdown to Allow None on every self IP that does not need management or control traffic.
  • The httpd allow list defaults to All. Restrict sys httpd allow (and the SSH equivalent) to management subnets so TMUI and iControl REST answer only to administrators.
  • Use the narrowest role. BIG-IP has more than fifteen built-in roles, from Administrator to Operator, Auditor and Guest, scoped by partition; most people and automation need far less than Administrator.
  • iControl REST tokens are short by default; keep them so. Tokens expire after 1200 seconds and can be extended to 36,000; automation should use token authentication against a dedicated account rather than basic authentication with an admin password.
  • Assume attackers know the code. After the 2025 source code theft, patch cadence and management exposure decide risk; treat new BIG-IP advisories as urgent and keep the management plane unreachable.

How identity and access work in F5 BIG-IP

BIG-IP runs TMOS on hardware, VELOS and rSeries chassis (with F5OS underneath), and as BIG-IP Virtual Edition. Management reaches the system in several ways.

InterfaceReached throughIdentity usedExposure control
Configuration utility (TMUI)HTTPS on the management port, or on a self IP whose Port Lockdown allows itLocal or remote user with a rolesys httpd allow, Port Lockdown, management network ACLs
iControl RESTSame HTTPS service under /mgmt/Basic authentication (local accounts) or token from /mgmt/shared/authn/loginSame as TMUI
SSH (tmsh or advanced shell)Management port, or self IP if allowedLocal or remote user with terminal access; rootsys sshd allow, Port Lockdown, terminal access per user
F5OS platform layer (VELOS, rSeries)Separate management interfacesSeparate F5OS accountsTreat as its own management plane
BIG-IQ Centralized ManagementBIG-IQ console and APIBIG-IQ users; BIG-IQ holds credentials for managed devicesSame protection as BIG-IP; CVE-2021-22986 affected both

Data plane users (application users, and remote users of BIG-IP Access Policy Manager) authenticate through access policies on virtual servers. APM flaws are a separate KEV stream (CVE-2025-53521 and an OAuth-related APM overflow added in 2026), so the APM virtual server needs the same patch urgency as the management plane.

Machine identities on BIG-IP include iControl REST tokens and the accounts behind them, remote authentication bind accounts and shared secrets, SNMP credentials, certificates and private keys for every client SSL and server SSL profile, device trust certificates between HA peers, and the credentials BIG-IQ or automation tools (Ansible, Terraform, AS3 pipelines) hold. UCS archives contain the configuration and keys, so backups are as sensitive as the device.

Admin roles and privileged access

BIG-IP roles to use

RoleWhat it can doTypical holder
AdministratorFull control of all objects, all partitionsVery few people; break-glass
Resource AdministratorNearly all objects except other user accountsSenior ADC engineers
ManagerVirtual servers, pools, nodes, profiles, monitors, iRules in assigned partitions; TMSH onlyApplication delivery team per partition
Certificate ManagerCertificates, keys and FIPS operationsPKI team or certificate automation
Application Editor, OperatorPools and members; enable or disable nodes and membersRelease automation, operations staff
Auditor, Log Manager, GuestRead-only access (Log Manager can also edit logging settings)Auditors, SOC, monitoring integrations
No AccessBlocks all accessDefault for remote users not mapped to a role

F5's documentation notes that when terminal access is granted to most roles, the user reaches TMSH but not the advanced shell. Grant terminal access only where needed, and keep advanced shell (bash) access to the smallest group possible, because bash bypasses role controls.

  1. Remote authentication: configure RADIUS, TACACS+ or LDAP and AD remote authentication with MFA at the provider, and use remote role mapping so directory groups map to BIG-IP roles and partitions. Set the default role for unmapped remote users to No Access.
  2. Local accounts: keep the local admin account and root as vaulted break-glass credentials with long unique passwords; disable root SSH login where your operations allow it, and on platforms licensed for Appliance mode consider enabling it to remove advanced shell and root access entirely. See the Break-Glass Account Guide.
  3. Partitions: use administrative partitions so application teams manage only their own objects.
  4. Session controls: the GUI idle timeout (auth-pam-idle-timeout) defaults to 1200 seconds; auth-pam-validate-ip (on by default) ties a GUI session to its source IP, so leave it on. auth-pam-dashboard-timeout is off by default, meaning an open dashboard never times out; turn it on.
  5. Jump hosts: reach the management network only from recorded administrative jump hosts. See the Privileged Session Management Guide.

Integrations, API tokens and service accounts

  • Token authentication: POST credentials to /mgmt/shared/authn/login with a loginProviderName (tmos for local, or the remote provider), then send the token in the X-F5-Auth-Token header. Tokens last 1200 seconds by default and can be extended by PATCH up to 36,000 seconds. Basic authentication works only for local accounts, so remote-authenticated automation must use tokens. Delete tokens when a job finishes rather than letting them run to expiry.
  • Dedicated automation accounts: each pipeline (AS3, Declarative Onboarding, Ansible, Terraform) gets its own account with the narrowest role and partition. Declarative Onboarding has no credentials of its own and needs administrator credentials for the BIG-IP, so run it from a controlled pipeline and rotate those credentials after use. Store all of them in a secrets manager. See the API Key Management Guide.
  • BIG-IQ: holds credentials for every managed BIG-IP. Treat it as a tier-0 system: same patching urgency, management isolation and MFA as the devices.
  • Remote authentication secrets: RADIUS and TACACS+ shared secrets and LDAP bind accounts need owners and rotation; use LDAPS. See the RADIUS Security Guide.
  • Certificates and keys: inventory every SSL profile key, use the Certificate Manager role or automation for renewal, and consider hardware or FIPS key protection for high value keys. After a confirmed compromise, re-issue them all.
  • Backups: UCS archives and qkview files contain configuration and, for UCS, keys. Encrypt UCS archives with a passphrase, restrict storage access and remove old copies.

Logging and detection

Send BIG-IP logs to a remote syslog collector or SIEM. The audit log records configuration changes made through TMUI, TMSH and iControl REST with the user; authentication events record logins and failures; the REST framework logs show API calls.

SignalWhat it can meanResponse
TMUI or iControl REST requests from addresses outside the management rangehttpd allow list or Port Lockdown gap; exploitation attemptFix exposure immediately; hunt for prior access
New local users, role changes, or remote role mapping changesAttacker persistence (the CVE-2022-1388 and CVE-2023-46747 class allowed system command execution)Verify against change records; treat unexplained as compromise
Changes to sys httpd allow, sys sshd allow or Port LockdownManagement exposure widenedAlert and review
Root or advanced shell loginsBreak-glass use or attacker activityEvery event should match an approved ticket
Unexpected files, cron entries or modified iRulesWeb shell or traffic manipulation after exploitationIsolate, collect a qkview and disk image, rebuild
Log forwarding stopsTampering or failureSilence alert per device

For the 2025 incident, F5 described a highly sophisticated nation-state actor with long-term access, and press coverage citing Bloomberg linked the intrusion to BRICKSTORM malware; see the BRICKSTORM Backdoor Guide for that family. For network device log use in general, see the Network Device Syslog and Configuration Change Detection Guide.

Metrics

  • Self IP lockdown: percentage of self IPs set to Allow None or an explicit Allow Custom list (target: none left on Allow All).
  • Management reachability: BIG-IP and BIG-IQ management services reachable from the internet or user networks (target: zero).
  • Patch latency: days from an F5 Critical or High advisory to fixed code on every device, measured against the one-week window ED 26-01 set.
  • Privileged accounts: number of Administrator role holders and accounts with advanced shell access.
  • Automation hygiene: automation accounts using tokens and dedicated roles versus admin basic authentication.

Hardening baseline

  1. Inventory (week 1): every BIG-IP, VE, F5OS chassis and BIG-IQ, with version, modules (LTM, APM, ASM), support status and which interfaces and self IPs exist. Disconnect or replace end-of-life devices, as ED 26-01 required for federal agencies.
  2. Close management exposure (week 1): set Port Lockdown to Allow None on external and user-facing self IPs, Allow Custom with only required ports (for example BGP or HA) elsewhere; restrict sys httpd allow and sys sshd allow to management subnets; confirm by external and internal scans that TMUI, iControl REST and SSH do not answer. Change one HA pair first and confirm config sync and failover still work, because device trust and sync use self IPs; roll back by restoring the Port Lockdown setting or a UCS taken beforehand.
  3. Patch (week 1 to 2): move to fixed releases for all KEV-listed BIG-IP and BIG-IQ vulnerabilities, upgrading the standby device of a pair first. Take a UCS before each upgrade.
  4. Rebuild administration (weeks 2 to 6): remote authentication with MFA and role mapping, default No Access for unmapped users, partitions, minimal terminal and advanced shell access, vaulted admin and root.
  5. Machine credentials (weeks 4 to 8): dedicated automation accounts using tokens, secrets in a vault, rotated remote authentication secrets, SNMPv3, encrypted UCS archives.
  6. TLS on the management service: replace the self-signed management certificate, remove 3DES from ssl-ciphersuite and older protocols from ssl-protocol (the default only removes SSLv2 and SSLv3), and turn on the dashboard idle timeout.
  7. Logging (weeks 2 to 8): remote syslog for audit, authentication and REST logs, alerts on the signals above, and a monthly configuration comparison against a baseline.

Framework mapping

Control areaNIST SP 800-53 Rev. 5NIST CSF 2.0CIS Controls v8.1ATT&CK technique addressed
Self IP lockdown and httpd allow listSC-7, CM-7PR.PS-014.1, 4.8, 12.3T1190 Exploit Public-Facing Application
Patching BIG-IP, BIG-IQ and APMSI-2ID.RA-01, PR.PS-027.7T1190 Exploit Public-Facing Application
Roles, partitions, remote auth with MFAAC-6, IA-2, AC-2PR.AA-01, PR.AA-055.4, 6.5, 6.8T1078 Valid Accounts, T1098 Account Manipulation
Token and automation credential hygieneIA-5PR.AA-013.11T1552 Unsecured Credentials
Web shell and change detectionSI-4, CM-3, AU-6DE.CM-098.2, 8.11T1505.003 Web Shell
Log forwarding and silence alertsAU-9PR.PS-048.9T1685 Disable or Modify Tools

ISO/IEC 27001:2022 Annex A equivalents are A.8.2, A.8.5, A.8.8, A.8.9, A.8.15, A.8.20 and A.8.24.

Common misconfigurations

  • Self IPs left on Allow Default or Allow All: the management service then answers on application-facing addresses, which is how management plane flaws such as CVE-2023-46747 reach devices whose management port is isolated.
  • Isolated management port, open httpd allow list: the allow list defaults to All, so the only protection is the network path. Set it explicitly as a second layer.
  • Automation using the admin account with basic authentication: one leaked script exposes full control, and the audit log cannot distinguish pipelines from people. CVE-2022-1388 showed how much an iControl REST authentication bypass is worth to an attacker.
  • Everyone given Administrator and bash: role controls are only as strong as the advanced shell population.
  • Forgetting BIG-IQ and F5OS: BIG-IQ shared CVE-2021-22986 with BIG-IP and stores device credentials; F5OS chassis management is a separate plane with separate accounts.
  • Patching without hunting: fixing the flaw does not remove accounts, iRules or files an attacker added. Compare configuration with a pre-incident UCS and rotate every secret if there is any doubt. The same lesson came out of the Ivanti Connect Secure exploitation of 2024 on another vendor's appliance.

Practitioner checklist

  • Inventory every BIG-IP, VE, F5OS chassis and BIG-IQ with version, modules and support status; retire end-of-life devices.
  • Set Port Lockdown to Allow None on all self IPs that do not need management or control traffic.
  • Restrict sys httpd allow and sys sshd allow to management subnets and verify by scanning.
  • Run fixed releases for every KEV-listed BIG-IP, BIG-IQ and APM vulnerability.
  • Use remote authentication with MFA and role mapping; default unmapped users to No Access; use partitions.
  • Keep Administrator and advanced shell access to a handful of named people; vault admin and root.
  • Give each automation pipeline its own least-privilege account using iControl REST tokens, with secrets in a vault.
  • Remove 3DES and old TLS versions from the management service, replace its certificate and enable the dashboard idle timeout.
  • Forward audit, authentication and REST logs to the SIEM and alert on user, role and exposure changes.
  • Encrypt UCS archives and keep a pre-change UCS for comparison and rollback.

Standards and references

Related NHI Mgmt Group resources: Load Balancer Security Guide · Network Device Management Plane Hardening Guide · NetScaler ADC and Gateway Hardening Guide · Edge Device Security Guide

PDF for subscribers

Take this guide with you

Every section, table and checklist in one PDF, with links to the sources and related guides. Subscribe to our weekly NHI & AI Identity Journal and we’ll email you a download link.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 27 October 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org

PDF Downloads for Newsletter Subscribers

Get the guide

Enter your details and we’ll email you a download link.

The full guide is free to read online. The PDF is a thank you for subscribing.

Fill in all fields marked * and tick the PDF box to continue.