Skip to content
OpenAdvisories
Critical · 9.1 Public exploit CVE-2024-40898 EUVD-2024-38709GHSA-f6mg-hq7f-jw2j

Apache HTTP Server: SSRF with mod_rewrite in server/vhost context on Windows

Published Jul 18, 2024 · Updated Sep 13, 2024 · Assigned by apache

Description

SSRF in Apache HTTP Server on Windows with mod_rewrite in server/vhost context, allows to potentially leak NTML hashes to a malicious server via SSRF and malicious requests.

Users are recommended to upgrade to version 2.4.62 which fixes this issue. 

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache HTTP Server 2.4.0 – ≤ 2.4.61 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache2 2.4.62-1.1 openSUSE-SU-2024:14245-1
ReleasePackageFixed inAdvisory
Alpine v3.24 apache2 2.4.62-r0 —
Alpine v3.23 apache2 2.4.62-r0 —
Alpine v3.22 apache2 2.4.62-r0 —
Alpine v3.21 apache2 2.4.62-r0 —
Alpine v3.20 apache2 2.4.62-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 apache2 2.4.62-r0 —
Alpine v3.18 apache2 2.4.62-r0 —
Alpine v3.17 apache2 2.4.62-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 2 repositories

  • This Python script is a Proof-of-Concept (PoC) scanner for detecting the vulnerability CVE-2024-40898, which affects Apache HTTP Server’s SSL certificate validation.

  • anilpatel199n/CVE-2024-40898 ★ 1 · Jun 14, 2025

    This Python script checks for the presence of CVE-2024-40898, a critical vulnerability in Apache HTTP Server that may allow SSL/TLS certificate verification bypass under certain misconfigurations. It…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 9

References