Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-41773_CVE-2021-42013_Exploits — Exploit CVE-2021-41773 and CVE-2021-42013 | Kitploit
Tools/GitHubGitHub/ofriouzan/cve-2021-41773_cve-2021-42013_exploits
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubofriouzan/cve-2021-41773_cve-2021-42013_exploits

CVE-2021-41773_CVE-2021-42013_Exploits

Exploit CVE-2021-41773 and CVE-2021-42013

View RepositoryWebsite
41213 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    989
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    576
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    354
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    339
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    323
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    315

Explore all tools

Browse our collection of tools

View all tools →
Share

Exploiting CVE-2021-41773 and CVE-2021-42013

Overview

This repository focuses on exploiting two vulnerabilities in Apache HTTPD: CVE-2021-41773 and CVE-2021-42013. These CVEs represent path traversal vulnerabilities that can potentially lead to file mapping and remote code execution on Apache HTTPD servers. For in-depth information about these CVEs, including the underlying flaws, vulnerable configurations, exploits, and more, refer to this comprehensive blog post: Dissecting and Exploiting CVE-2021-41773 and CVE-2021-42013.

Requirements and Execution

To successfully exploit these vulnerabilities, you'll need:

  • Python 3.7+
  • Docker

To get started:

  1. Clone the repository:
git clone https://github.com/OfriOuzan/CVE-2021-41773_CVE-2021-42013_Exploits
  1. Build the vulnerable environments and initiate the exploits:
cd CVE-2021-41773_CVE-2021-42013_Exploits
python3 exploit.p

Structure

Directories

This repository comprises four distinct directories, each responsible for constructing a different container for exploitation purposes:

  • HTTPD_2_4_49_Map_Files: Establishes a container based on Apache HTTPD 2.4.49 version, vulnerable to CVE-2021-41773 Path Traversal Map Files attack.
  • HTTPD_2_4_50_Map_Files: Sets up a container using Apache HTTPD 2.4.50 version, vulnerable to CVE-2021-42013 Path Traversal Map Files attack.
  • HTTPD_2_4_49_RCE: Constructs a container using Apache HTTPD 2.4.49 version, vulnerable to CVE-2021-41773 Path Traversal RCE attack.
  • HTTPD_2_4_50_RCE: Builds a container based on Apache HTTPD 2.4.50 version, vulnerable to CVE-2021-42013 Path Traversal RCE attack.

Within each directory, you'll find a Dockerfile to facilitate container creation and a httpd.conf contains the specific vulnerable configurations. This repository aims to provide a practical environment for understanding and studying these vulnerabilities.

Exploit file

The exploit.py file performs the exploitation in two stages:

  • Builds the Vulnerable Environment: It pulls the required Docker images and constructs the containers based on the information provided in the respective directories.
  • Exploits the Vulnerabilities: It exploits the vulnerable containers with CVE-2021-41773 and CVE-2021-42013.
Download Tool