Skip to content

F5 BIG-IP iControl REST RCE Detection ​

FieldValue
Module ID443
DifficultyHard
TierTier I
CategoryDefensive
Estimated Time1 hours
Cubes Earned10
Experience Points420
Creatorsletsdefendio
Last Updated2026-06-24T18:41:36.000000Z
URLhttps://academy.hackthebox.com/app/module/443

Module Includes ​

  • 6 Sections
  • 1 Interactive Exercises
  • 0 Assessments
  • 10 Cubes

Module Description ​

The module "F5 BIG-IP iControl REST RCE Detection" is designed to provide participants with a comprehensive understanding of detecting Remote Code Execution (RCE) vulnerabilities within the F5 BIG-IP application delivery controller using the iControl REST API. Through a combination of theoretical lectures and hands-on exercises, participants will learn how to recognize common security pitfalls and vulnerabilities that might be exploited by attackers.

Module Summary ​

The F5 BIG-IP iControl REST RCE Detection module is designed for security Professionals: Individuals working in the field of cybersecurity, including security analysts, engineers, consultants, and managers, who are responsible for safeguarding F5 BIG-IP systems and infrastructure, Information Security Students: Students pursuing degrees or certifications in information security, looking to focus on practical applications related to F5 BIG-IP security and RCE detection, and Penetration Testers: Ethical hackers and penetration testers interested in gaining insights into F5 BIG-IP security, particularly focusing on identifying and exploiting RCE vulnerabilities using the iControl REST API. Throughout this module, students will develop tool Utilization: Familiarity with relevant tools and techniques for vulnerability scanning, detection, and prevention in the context of F5 BIG-IP iControl REST APIs, vulnerability Recognition: The ability to recognize common security issues and vulnerabilities that could lead to RCE in the context of the iControl REST API, and hands-on Experience: Practical experience through hands-on exercises and simulations, enabling participants to apply their knowledge in a controlled environment.

  • Basic Networking Knowledge: Familiarity with networking concepts, protocols, and terminology, as the module may delve into networking components and their interaction with F5 BIG-IP

  • Web Application Security Fundamentals: An understanding of fundamental web application security concepts, including common vulnerabilities like SQL injection, cross-site scripting (XSS), and authentication mechanisms

  • Understanding of APIs: A basic understanding of Application Programming Interfaces (APIs) and their role in software and system interaction, as the module will focus on the iControl REST API

Sections ​

6 sections - 1 Interactive

#GroupTypeTitle
1NonetheoryIntroduction to CVE-2022-1388
2theoryWhat is the Impact of the CVE-2022-1388 Vulnerability?
3theoryCheck If You’re Vulnerable - BIG-IP
4theoryExample Payloads
5theoryMitigation and IOCs
6interactiveCVE-2022-1388 and SOC Analysts

Conclusion ​

In this module, we covered CVE-2022-1388, a critical authentication bypass vulnerability (CVSS 9.8) in the F5 BIG-IP iControl REST API, including its exploitation mechanics, real-world impact, detection through log analysis, and mitigation strategies for SOC analysts and security engineers.

Module key takeaways:

  • CVE-2022-1388 affects the /mgmt/tm/util/bash endpoint of F5 BIG-IP's iControl REST API, which allows executing commands as root without any authentication; because F5 products are used by 48 of the Fortune 50, exploitation of this vulnerability has extremely broad potential impact
  • The vulnerability is exploited by sending a POST request to /mgmt/tm/util/bash with specific headers: X-F5-Auth-Token (set to any value, e.g., 0), Authorization (Base64-encoded admin credentials with any password), Connection: X-F5-Auth-Token, and Host set to localhost or 127.0.0.1
  • Successful exploitation grants attackers complete control over the BIG-IP device, enabling arbitrary command execution, webshell installation as persistent backdoors, and post-exploitation activities within the network
  • Detection is straightforward from a SOC perspective: monitoring Nginx access logs or audit logs for POST requests to the /mgmt/tm/util/bash path is the primary indicator; the regex pattern \S+.POST\s/mgmt/tm/util/bash\b. matches exploitation attempts while minimizing false positives (GET requests to the same path are not exploitation attempts)
  • Audit trail IOCs include entries in /var/log/audit showing icrd_child executing bash commands as admin, and entries in /var/log/restjavad-audit.0.log recording POST requests to http://localhost:8100/mgmt/tm/util/bash with status 200
  • Temporary mitigations include blocking iControl REST access through both the self IP address and the management interface until patched versions can be deployed; permanent remediation requires upgrading to F5 BIG-IP versions released after the May 2022 advisory