
Script di exploit per CVE-2022-1388 che mira a F5 BIG-IP pre-auth RCE tramite l'endpoint /mgmt/tm/util/bash. Include rilevamento, scansione delle versioni e dorking Shodan/Zoomeye per host vulnerabili.
Exploit e script di controllo per CVE 2022-1388
_____ _ _ _____ _____ _____ _____ _____ __ _____ _____ _____
/ __ \| | | || ___| / __ \| _ |/ __ \/ __ \ / | |____ || _ || _ |
| / \/| | | || |__ ______`' / /'| |/' |`' / /'`' / /'______`| | / / \ 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 )
Scansione di /mgmt/tm/util/bash come endpoint, probabilmente presente nei log del server web. Oppure, se hai un F5, applicala patch, le versioni interessate sono elencate di seguito e la patch è disponibile qui 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 ''