
CVE-2021-41773 Apache
This repository contains a Python-based proof-of-concept exploit for the Apache HTTP Server path traversal vulnerability identified as CVE-2021-41773. The script is designed for security research, defensive testing, and authorized evaluations of vulnerable systems.
CVE-2021-41773 is a path traversal vulnerability affecting Apache HTTP Server versions 2.4.49 and related configurations where the server improperly handles encoded traversal sequences in certain CGI request paths. This project provides a basic PoC implementation that can be used to verify exposure and interact with a vulnerable target.
This repository is intended for:
This project requires Python 3 and the following dependency:
Install dependencies with:
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Run the script with a target host or IP address.
python3 exploit.py -t 192.168.1.100 -v
python3 exploit.py -t 192.168.1.100 -c "whoami"
python3 exploit.py -t 192.168.1.100
The script supports the following modes:
This project is provided for educational and authorized security research purposes only. The author is not responsible for any misuse, unauthorized access, or illegal activity conducted with this software. You are solely responsible for ensuring that your use complies with all applicable laws, regulations, and policies.
Screenshots and supporting evidence can be placed in the images directory as needed.
Developed for research and demonstration purposes related to CVE-2021-41773.