
Exploit and check script for CVE-2022-1388, targeting F5 BIG-IP management interface to execute commands and verify vulnerability.
Exploit and Check Script for CVE 2022-1388
Check against single host
python3 CVE-2022-1388.py -v true -u target_url
Attack host and test command
python CVE_2022_1388.py -a true -u target_url -c command
Attack list of hosts
python CVE_2022_1388.py -s true -f file
masscheck.py will take a file input and check the hosts are vulnerable without exploiting them.
If you have an issue, create a pull request and fix it up, I'm not supporting this tool :).
Scanning for /mgmt/tm/util/bash as an endpoint, likely to be in web server logs. Or if you have a F5 go patch it, the affected versions are shown below and the patch is available here https://support.f5.com/csp/article/K23605346