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
CS4277-CVE-Path-Traversal-Apache-HTTP-Server — We hope to reproduce CVE-2021-41773 to deepen our understanding of real-world cybersecurity vulnerabilities so that we can be knowledgeable about exploits in industry and academic work. | Kitploit
Tools/GitHubGitHub/jkim72403/cs4277-cve-path-traversal-apache-http-server
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityPenetration TestingLearning & Education
GitHubjkim72403/cs4277-cve-path-traversal-apache-http-server

CS4277-CVE-Path-Traversal-Apache-HTTP-Server

We hope to reproduce CVE-2021-41773 to deepen our understanding of real-world cybersecurity vulnerabilities so that we can be knowledgeable about exploits in industry and academic work.

View Repository
4 months 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

CS4277-CVE-Path-Traversal-Apache-HTTP-Server

Team Members: Emily Nguyen, Jonathan Kim, Joon Jang

Project Topic Selection: Project 1: Recreate and Exploit a Real-World CVE: Path Traversal (CVE-2021-41773) in the Apache HTTP Server.

Project Goal: We hope to reproduce CVE-2021-41773 to deepen our understanding of real-world cybersecurity vulnerabilities so that we can be knowledgeable about exploits in industry and academic work.

Project Overview

This project recreates and analyzes the Apache HTTP Server vulnerability CVE-2021-41773, a path traversal vulnerability that allows attackers to access files outside of the intended web directory.

The project is designed to go beyond simply demonstrating the exploit. We break the work into three parts:

  • Part 1 - Vulnerable System + Exploit: Build a vulnerable Apache 2.4.49 server and create a working path traversal exploit that can access files outside the web root.
  • Part 2 - Patch Analysis + Comparison: Run the same exploit against both vulnerable (2.4.49) and patched (2.4.51) servers to show that the patch blocks the attack.
  • Part 3 - Mitigation Hardening: Apply Apache configuration changes to block the exploit and verify that normal web traffic still works.

Vulnerability Summary

CVE-2021-41773 is caused by incorrect path normalization in Apache’s request handling. Certain encoded traversal patterns are not properly interpreted, allowing attackers to bypass directory restrictions.

Key Results

  • Vulnerable server successfully leaks sensitive files using encoded traversal payloads.
  • Patched server blocks malicious requests with a 400 Bad Request response.
  • Mitigated server blocks traversal attempts while still allowing normal web traffic.

How to Run

Prerequisites:

  • Docker
  • Python 3
  • Python requests library (pip install requests)

Part 1: Run Vulnerable Server + Exploit

root@kitploit:~
sudo docker build -t vulnerable-apache .
sudo docker run -d -p 8000:80 --name vuln-server vulnerable-apache
python3 exploit.py

Part 2: Run Patch Comparison

root@kitploit:~
sudo bash patch-analysis/start_part2_servers.sh
python3 patch-analysis/test_patch.py

Part 3: Mitigation Hardening

root@kitploit:~
sudo bash mitigation-hardening/start_mitigation_servers.sh
python3 mitigation-hardening/test_mitigation.py

Reset Environment

root@kitploit:~
# Stop all running containers
sudo docker stop vuln-server patched-server mitigated-server

# Remove containers
sudo docker rm vuln-server patched-server mitigated-server

# (Optional) Remove Docker images
sudo docker rmi vulnerable-apache patched-apache mitigated-apache

Team Contributions

Jonathan Kim - Built the vulnerable Apache environment, configured the server, and implemented the path traversal exploit script.

Emily Nguyen - Implemented patch analysis by setting up a patched Apache server and developing a comparison script to test exploit behavior across versions.

Joon Jang - Implemented mitigation hardening using Apache configuration changes and created scripts to test that the exploit is blocked while normal traffic is allowed.

Download Tool