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-44790-lab — Dockerized Apache mod_lua lab with a Python PoC reproducing the CVE-2021-44790 multipart boundary buffer overflow for local defensive testing and research. | Kitploit
Tools/GitHubGitHub/mohammadalimehri/cve-2021-44790-lab
Vulnerability AnalysisExploitationWeb Application ExploitationWeb SecurityFuzzingPenetration TestingLearning & EducationLabs & Practice
GitHub
mohammadalimehri/cve-2021-44790-lab

cve-2021-44790-lab

Dockerized Apache mod_lua lab with a Python PoC reproducing the CVE-2021-44790 multipart boundary buffer overflow for local defensive testing and research.

View Repository
1 day 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

CVE-2021-44790 Lab

This repository contains a small local lab and proof-of-concept tooling for reproducing the Apache HTTP Server vulnerability tracked as CVE-2021-44790.

Overview

CVE-2021-44790 is a vulnerability in Apache HTTP Server 2.4.51/2.4.52 involving the mod_lua multipart request parser. A crafted multipart boundary can trigger a buffer overflow condition in the server when the boundary is processed by the Lua handler.

This lab is intended for learning, defensive testing, and controlled local reproduction in a non-production environment only.

Repository contents

  • CVE-2021-44790.py — Python PoC / exploit helper for testing the vulnerability against a target.
  • cve-2021-44790-lab/ — Dockerized Apache + Lua lab environment reproducing the vulnerable behavior.
    • Dockerfile
    • httpd.conf
    • lua/upload.lua

Lab setup

From the repository root:

root@kitploit:~
docker build -t cve-2021-44790-lab ./cve-2021-44790-lab

docker run --rm -it -p 80:80 cve-2021-44790-lab

The lab exposes a simple upload endpoint at:

root@kitploit:~
http://127.0.0.1/upload

The Apache configuration enables the vulnerable mod_lua handler and sets a large request body limit so multipart payloads can be sent to the server.

Using the PoC

Run the Python script against the target:

root@kitploit:~
python CVE-2021-44790.py --help

Example:

root@kitploit:~
python CVE-2021-44790.py --url http://127.0.0.1/upload --boundary-size 9000 --payload-size 10000000

The script supports options for:

  • target URL
  • payload boundary size
  • payload length
  • custom pattern generation
  • verbose logging

Notes

  • This project is for educational and cybersecurity research purposes only.
  • Do not run against any system without explicit authorization.
  • Only use this lab in isolated local environments.

Disclaimer

The material in this repository is provided for lawful security research, lab-based testing, and vulnerability education. The author and contributors are not responsible for misuse of the code or any destructive activity performed with it.

Download Tool