Cyber security

Apache HTTP Server Vulnerability Testing Tool

This repository provides a Proof of Concept (PoC) for testing various vulnerabilities in the Apache HTTP Server, including Filename Confusion Attacks, SSRF, Denial of Service, and others related to recent CVEs.

The tool sends crafted HTTP requests to assess whether the server is vulnerable to certain types of attacks.

Features

  • Tests for multiple vulnerabilities including:
    • CVE-2024-38472: Apache HTTP Server on Windows UNC SSRF
    • CVE-2024-39573: mod_rewrite proxy handler substitution
    • CVE-2024-38477: Crash resulting in Denial of Service in mod_proxy
    • CVE-2024-38476: Exploitable backend application output causing internal redirects
    • CVE-2024-38475: mod_rewrite weakness with filesystem path matching
    • CVE-2024-38474: Weakness with encoded question marks in backreferences
    • CVE-2024-38473: mod_proxy proxy encoding problem
    • CVE-2023-38709: HTTP response splitting
  • Provides an easy-to-use command-line interface for testing various endpoints.

How It Works

The tool performs HTTP requests to potential endpoints that might be vulnerable to confusion attacks or misconfigurations. It checks for specific patterns and encodings that could lead to unauthorized access or system failures.

Testing Targets

The tool checks for vulnerabilities on the following paths:

  • php-info.php
  • xmlrpc.php
  • adminer.php
  • bin/cron.php
  • cache/index.tpl.php
  • cgi-bin/redir.cgi
  • Others with encoded URLs for potential bypass.

Getting Started

Prerequisites

  • Python 3.x installed on your system.
  • Requests library for Python to send HTTP requests.

You can install the required Python library using:

pip install requests

Installation

Clone this repository:

git clone https://github.com/mrmtwoj/apache-vulnerability-testing.git
cd apache-vulnerability-testing

Usage

To use the tool, provide the target URL you want to test:

python3 poc_vulnerability_testing.py --target http://<target-ip>

For example:

python3 poc_vulnerability_testing.py --target http://192.168.1.10

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

Playwright-MCP : A Powerful Tool For Browser Automation

Playwright-MCP (Model Context Protocol) is a cutting-edge tool designed to bridge the gap between AI…

2 weeks ago

JBDev : A Tool For Jailbreak And TrollStore Development

JBDev is a specialized development tool designed to streamline the creation and debugging of jailbreak…

2 weeks ago

Kereva LLM Code Scanner : A Revolutionary Tool For Python Applications Using LLMs

The Kereva LLM Code Scanner is an innovative static analysis tool tailored for Python applications…

2 weeks ago

Nuclei-Templates-Labs : A Hands-On Security Testing Playground

Nuclei-Templates-Labs is a dynamic and comprehensive repository designed for security researchers, learners, and organizations to…

2 weeks ago

SSH-Stealer : The Stealthy Threat Of Advanced Credential Theft

SSH-Stealer and RunAs-Stealer are malicious tools designed to stealthily harvest SSH credentials, enabling attackers to…

2 weeks ago

ollvm-unflattener : A Tool For Reversing Control Flow Flattening In OLLVM

Control flow flattening is a common obfuscation technique used by OLLVM (Obfuscator-LLVM) to transform executable…

2 weeks ago