# CVE-2022-1388
POC for CVE-2022-1388 affecting multiple F5 products.

## Follow the Attack Team on Twitter for the latest security research:
*  [Horizon3 Attack Team](
*  [James Horseman](
*  [Zach Hanley](

## Technical Analysis
A technical root cause analysis of the vulnerability can be found on our blog:

## Summary
Necessary conditions of a request for exploiting this vulnerability:
1. Connection header must include X-F5-Auth-Token
2. X-F5-Auth-Token header must be present
3. Host header must be localhost / or the Connection header must include X-Forwarded-Host
4. Auth header must be set with the admin username and any password

## Usage
root@kali:/home/dev# python3 -t -c id
uid=0(root) gid=0(root) groups=0(root) context=system_u:system_r:initrc_t:s0

## Mitigations
Update to the latest version or mitigate by following the instructions within the F5 Security Advisory

## Disclaimer
This software has been created purely for the purposes of academic research and for the development of effective defensive techniques, and is not intended to be used to attack systems except where explicitly authorized. Project maintainers are not responsible or liable for misuse of the software. Use responsibly.