Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/horizon3ai/CVE-2022-1388
POC for CVE-2022-1388
https://github.com/horizon3ai/CVE-2022-1388
Last synced: 3 months ago
JSON representation
POC for CVE-2022-1388
- Host: GitHub
- URL: https://github.com/horizon3ai/CVE-2022-1388
- Owner: horizon3ai
- Created: 2022-05-09T11:46:45.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-05-09T20:52:07.000Z (over 2 years ago)
- Last Synced: 2024-06-06T20:03:22.350Z (5 months ago)
- Language: Python
- Size: 4.88 KB
- Stars: 234
- Watchers: 6
- Forks: 41
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-hacking-lists - horizon3ai/CVE-2022-1388 - POC for CVE-2022-1388 (Python)
README
# CVE-2022-1388
POC for CVE-2022-1388 affecting multiple F5 products.## Follow the Horizon3.ai Attack Team on Twitter for the latest security research:
* [Horizon3 Attack Team](https://twitter.com/Horizon3Attack)
* [James Horseman](https://twitter.com/JamesHorseman2)
* [Zach Hanley](https://twitter.com/hacks_zach)## Technical Analysis
A technical root cause analysis of the vulnerability can be found on our blog:
https://www.horizon3.ai/f5-icontrol-rest-endpoint-authentication-bypass-technical-deep-dive/## 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 / 127.0.0.1 or the Connection header must include X-Forwarded-Host
4. Auth header must be set with the admin username and any password## Usage
```bash
root@kali:/home/dev# python3 CVE-2022-1388.py -t 192.168.0.221 -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
* https://support.f5.com/csp/article/K23605346## 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.