Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
cve-2021-41773 — cve-2021-41773.py is a python script that will help in finding Path Traversal or Remote Code Execution vulnerability in Apache 2.4.49 | Kitploit
Tools/GitHubGitHub/walnutsecurity/cve-2021-41773
ReconnaissanceVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubwalnutsecurity/cve-2021-41773

cve-2021-41773

cve-2021-41773.py is a python script that will help in finding Path Traversal or Remote Code Execution vulnerability in Apache 2.4.49

View Repository
233 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Apache 2.4.49 - Path Traversal or Remote Code Execution

cve-2021-41773.py is a python script that will help in finding Path Traversal or Remote Code Execution vulnerability in Apache 2.4.49. Vulnerable instance of Docker is provided to get your hands dirty on CVE-2021-41773

If CGI-BIN is enabled than, we can perform Remote Code Execution but not Path Traversal, so "icons" directory has been added under Alias section in httpd.conf for checking Path Traversal vulnerability.

Vulnerable Configurations in httpd.conf

root@kitploit:~
1. Enable CGI-BIN
2. Add "icons" directory in Alias section
3. <Directory>Require all granted</Directory>

Lab for CVE-2021-41773

Build Docker

root@kitploit:~
$ docker build -t cve-2021-41773 .

Run Docker

root@kitploit:~
$ docker run -it cve-2021-41773

Usage cve-2021-41773.py

Check for Path Traversal and Remote Code Execution

root@kitploit:~
$ python3 cve-2021-41773.py -u http://172.17.0.2

Path Traversal PoC

root@kitploit:~
$ python3 cve-2021-41773.py -u http://172.17.0.2 -pt

Remote Code Execution PoC

root@kitploit:~
$ python3 cve-2021-41773.py -u http://172.17.0.2 -rce

For bulk scanning, provide a text file containing IPs:

root@kitploit:~
$ python3 cve-2021-41773.py -l list.txt
root@kitploit:~
$ python3 cve-2021-41773.py -l list.txt -pt
root@kitploit:~
$ python3 cve-2021-41773.py -l list.txt -rce

More information can be found here.

References

  • https://nvd.nist.gov/vuln/detail/CVE-2021-41773
  • https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-41773
  • https://httpd.apache.org/security/vulnerabilities_24.html
  • https://www.cve.org/CVERecord?id=CVE-2021-41773
  • https://walnutsecurity.com/path-traversal-remote-code-execution-in-apache/
Download Tool