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

Tamil has a great interest in the fields of Cyber Security, OSINT, and CTF projects. Currently, he is deeply involved in researching and publishing various security tools with Kali Linux Tutorials, which is quite fascinating.

Recent Posts

The Strength Of Signed App Control Policies

Before delving into the topic, let's first clarify the role of an Administrator within the…

3 hours ago

Embassy : Revolutionizing Embedded Systems With Rust And Asynchronous Programming

Embassy is the next-generation framework for embedded applications. Write safe, correct and energy-efficient embedded code…

3 hours ago

AttackRuleMap : Bridging Adversary Simulations And Detection Rules For Enhanced Cybersecurity

This repository provides a mapping of Atomic Red Team attack simulations to open-source detection rules,…

5 hours ago

Qdrant : A High-Performance Vector Similarity Search Engine

Qdrant (read: quadrant) is a vector similarity search engine and vector database. It provides a…

6 hours ago

ShadowHound : Leveraging PowerShell For Stealthy Active Directory Enumeration

ShadowHound is a set of PowerShell scripts for Active Directory enumeration without the need for…

8 hours ago

Awesome EDR Bypass : A Comprehensive Guide For Ethical Hackers

EDR bypass technology is not just for attackers. Many malware now have EDR bypass capabilities,…

1 day ago