
CVE-2022-1388 | F5 - Big IP Pre Auth RCE через эндпоинт '/mgmt/tm/util/bash'
Эксплойт и скрипт проверки для CVE 2022-1388
bash
_____ _ _ _____ _____ _____ _____ _____ __ _____ _____ _____
/ __ \| | | || ___| / __ \| _ |/ __ \/ __ \ / | |____ || _ || _ |
| / \/| | | || |__ ______`' / /'| |/' |`' / /'`' / /'______`| | / / \ V / \ V /
| | | | | || __||______| / / | /| | / / / / |______|| | \ \ / _ \ / _ \
| \__/\ \_/ /| |___ ./ /___\ |_/ /./ /___./ /___ _| |_.___/ /| |_| || |_| |
\____/ \___/ \____/ \_____/ \___/ \_____/\_____/ \___/\____/ \_____ \_____/
CVE-2022-1388 F5 Exploit [ Valentin Lobstein ]
Usage:
Exploit Host: python3 CVE_2022_1388.py -u target_url -c command
Exploit List: python3 CVE_2022_1388.py -f file -c command
( Command is not required )
Сканирование /mgmt/tm/util/bash как конечной точки, скорее всего, будет в журналах веб-сервера. Или, если у вас есть F5, пропатчите его — затронутые версии указаны ниже, а патч доступен здесь https://support.f5.com/csp/article/K23605346
zoomeye search 'banner:"BIG-IP Configuration Utility"' -num 1000 -filter=ip,port
zoomeye search 'title:"BIG-IP®-+Redirect"+"Server"' -num 10 -filter=ip,port
shodan search 'http.html:"BIG-IP Configuration Utility"' --fields=ip_str,port --separator ":" --limit 10 | grep ''
shodan search 'http.title:"BIG-IP®-+Redirect"+"Server"' --fields=ip_str,port --separator ":" --limit 10 | grep ''