Recently, NSFOCUS CERT monitored that F5 had released a security announcement to fix a remote code execution vulnerability in BIG-IP (CVE-2023-46747). Due to the problem of F5 BIG-IP forwarding AJP protocol through Apache httpd, requests were smuggled, which could bypass permission verification. Unauthenticated remote attackers can access the BIG-IP system through the BIG-IP management interface or their own IP address, enabling arbitrary system command execution. The CVSS score is 9.8, affected users should take measures as soon as possible.
Reference link: https://my.f5.com/manage/s/article/K000137353
Scope of Impact
- 17. x<=BIG-IP<=17.1.0
- BIG-IP-F5>=220.127.116.11+Hotfix BIGIP-18.104.22.168.0.75.4-ENG3
- BIG-IP-F5>=22.214.171.124+Hotfix BIGIP-126.96.36.199.0.50.5-ENG3
- BIG-IP-F5>=188.8.131.52+Hotfix BIGIP-184.108.40.206.0.44.2-ENG3
- BIG-IP-F5>=220.127.116.11+Hotfix BIGIP-18.104.22.168.0.10.6-ENG3
- BIG-IP-F5>=22.214.171.124+Hotfix BIGIP 126.96.36.199.0.20.2-ENG3
1. Users can view the currently used version by entering the following command in the TMOS shell (tmsh):
2. Users can also log in to the web management interface to view the current version of BIG-IP, if the version is within the affected range, there is a security risk.
Currently, the official F5 has released a secure version that fixes this vulnerability. Affected users are requested to upgrade the version as soon as possible to protect themselves. The official download link is: https://support.f5.com/csp/article/K9502
For upgrade guidelines and precautions, please refer to: https://support.f5.com/csp/article/K13123
If the relevant users are temporarily unable to perform the upgrade operation, the following measures can be carried out:
1. Download the script from the following link and save it to the affected BIG-IP system:
Log in as root to the affected BIG-IP system
Rename the script downloaded in the first step to the. sh extension
|Mv<path to script>/initiation.txt<path to script>/initiation.sh|
Executing scripts by using the chmod command
|Chmod+x<path to script>/promotion. sh&&touch<path to script>/promotion. sh|
2. Run the script using the following command syntax:
|<path to script>/initiation.sh|
Before upgrading and installing a new version, temporary protection can also be achieved by blocking or restricting network access to related programs:
- Prevent access to the BIG-IP system through its own IP address: https://my.f5.com/manage/s/article/K000137353#selfip
- Restrict network access to the BIG-IP system management interface: https://my.f5.com/manage/s/article/K000137353#mgmt
Note: The above script cannot be used on BIG-IP versions prior to 14.1.0. It is recommended that users with FIPS 140-2 compatibility mode licenses do not use this measure, as it may cause FIPS integrity checks to fail.
For more detailed operations, please refer to the official document: https://my.f5.com/manage/s/article/K000137353
This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.
NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.
NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA).
A wholly owned subsidiary of NSFOCUS Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.