
A sophisticated Python-based proof-of-concept (PoC) exploit for CVE-2021-41773. This tool automates the process of testing Apache 2.4.49 servers for path traversal and remote code execution (RCE) vulnerabilities.
This tool is for educational purposes only and for use in authorized security auditing and penetration testing. Accessing or attempting to exploit target systems without explicit prior permission is illegal and unethical. The developer assumes no liability for misuse or damage caused by this program.
In Apache HTTP Server 2.4.49, a flaw was found in the way path normalization was performed. An attacker could use a path traversal attack to map URLs to files outside the expected document root. If files outside of the document root are not protected by "require all denied" and CGI scripts are enabled (such as mod_cgi), this can lead to Remote Code Execution (RCE).
/bin/sh and sending a POST request with a specific payload, an attacker can execute arbitrary system commands.requests library.
git clone [https://github.com/im2nerd/CVE-2021-41773.git](https://github.com/your-username/CVE-2021-41773.git)
cd CVE-2021-41773
pip install requests colorama urllib3