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 — Python exploit for Apache 2.4.49 path traversal and RCE (CVE-2021-41773) that sends crafted requests to execute arbitrary commands on vulnerable servers. | Kitploit
Tools/GitHubGitHub/azkosdev/cve-2021-41773
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRemote Access Tool
GitHubazkosdev/cve-2021-41773

CVE-2021-41773

Python exploit for Apache 2.4.49 path traversal and RCE (CVE-2021-41773) that sends crafted requests to execute arbitrary commands on vulnerable servers.

View Repository
31 year 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 + Remote Code Execution (CVE-2021-41773)

Vulnerability Description

This vulnerability affects versions of Apache HTTP Server 2.4.49. A path validation error allows remote attackers to perform Path Traversal using sequences like .%2e/ to access paths outside the configured root directory.

When the mod_cgi module is enabled, an attacker can execute arbitrary commands by sending specially crafted requests to a CGI file. This allows remote code execution (RCE).

  • CVE: CVE-2021-41773
  • Severity: High
  • Attack vector: Remote, unauthenticated
  • Requirements: mod_cgi enabled

Exploit Usage

This script allows exploiting the vulnerability by sending remote commands to the affected server.

Dependencies

  • Python 3
  • curl installed

Execution

root@kitploit:~
python3 exploit.py -i <IP_DEL_SERVIDOR> -c <COMANDO>

Examples

root@kitploit:~
python3 exploit.py -i 172.17.0.2 -c "id"
python3 exploit.py -i 172.17.0.2 -c "whoami"
python3 exploit.py -i 172.17.0.2 -c "cd ../../../ && ls -la"

Download Tool