CVE-2021-22986: F5 BIG-IP and BIG-IQ Centralized Management iControl REST Remote Code Execution Vulnerability
F5 BIG-IP and BIG-IQ Centralized Management contain a remote code execution vulnerability in the iControl REST interface that allows unauthenticated attackers with network access to execute system…
CVE-2021-22986 is a remote code execution vulnerability in the iControl REST interface of F5 BIG-IP and BIG-IQ Centralized Management. Unauthenticated attackers with network access can execute system commands, create or delete files, and disable services. It matters because these platforms often sit at the edge of networks controlling traffic and security policy; successful abuse can give an attacker deep control of critical infrastructure. Public reporting also links this issue to ransomware activity, raising the urgency of rapid response.
How it works
The weakness is classified as CWE-863 (Incorrect Authorization). In plain terms, the iControl REST interface fails to enforce proper authorization checks on certain requests. An attacker who can reach the interface over the network does not need valid credentials to invoke functionality that should be restricted. Once that barrier is bypassed, the attacker can run system-level commands, manipulate files, or shut down services on the device. Exact request formats and any preconditions must be confirmed against the vendor advisory; defenders should treat any unauthenticated reachability to iControl REST as high risk for this class of flaw.
Am I affected? How to find it in your systems
F5 BIG-IP appliances and virtual editions commonly terminate TLS, load-balance applications, or enforce access policy; BIG-IQ Centralized Management is used to administer fleets of those devices. Inventory every BIG-IP and BIG-IQ instance, including those in lab, DR, and cloud environments. Confirm the exact software versions and whether the iControl REST interface is enabled and reachable from untrusted networks; specifics on vulnerable builds must be checked against the vendor advisory.
- Query configuration management and network discovery tools for hosts identifying as BIG-IP or BIG-IQ.
- Review management-plane ACLs and firewall rules that permit access to the iControl REST port or self-IP addresses.
- Inspect device logs and any central SIEM for unexpected REST calls, command execution artifacts, sudden service stops, or file-system changes around the management interface.
- Look for new or altered admin accounts, unexpected configuration saves, or outbound connections initiated from the management plane.
Absence of obvious log entries does not prove safety; many exploitation attempts leave minimal traces if logging was not tuned for the interface.
How to remediate
Patch first. Apply the updates published by F5 for BIG-IP and BIG-IQ Centralized Management exactly as described in the vendor advisory. CISA’s required action is to apply those updates per vendor instructions. After patching, verify the interface is no longer vulnerable and that management access is restricted to authorized networks only.
- Schedule maintenance windows promptly; these devices often require careful change control because they sit in the traffic path.
- After the update, re-harden management access: disable unused services, enforce strong authentication, and limit source IP ranges that can reach iControl REST.
- Rotate any credentials or certificates that may have been exposed on affected systems.
- Re-baseline configurations and monitor for drift that could re-introduce the exposure.
If you can't patch immediately
Reduce the attack surface until the vendor update can be installed. Compensating controls for this class of unauthenticated management-plane RCE include:
- Segment and firewall the management interfaces so that iControl REST is reachable only from a tightly controlled jump-host or management network; block it from the internet and from general user VLANs.
- If the business can tolerate it, temporarily disable the iControl REST interface or the specific features that expose it, confirming the impact with F5 documentation first.
- Deploy virtual patching or WAF/IPS rules that detect and block anomalous requests to the REST endpoint; tune them against the vendor’s guidance to avoid false positives on legitimate automation.
- Increase monitoring and alerting on authentication failures, unusual REST methods, process creation, and service state changes on the devices.
- Ensure out-of-band management and console access remain available so you can still recover the device if the primary interface is abused.
These steps lower risk but do not eliminate it; treat them as temporary bridges to full patching.
If your data may have been exposed
Actively exploited vulnerabilities, especially those with known ransomware use, frequently lead to broader compromise and data theft. If you have evidence of exploitation or simply cannot rule it out, follow your incident-response plan: isolate affected devices, preserve logs and memory images, and engage forensic support. As one quick external check, you can run a free exposure scan of your email addresses against known breach data sets to see whether credentials or personal information have already appeared in public leaks.
AICompiled with AI assistance from public sources and published under our editorial standards.