CVE-2024-43394
NoneCVSS
—
EPSS
1.3%
Published
Jul 10, 2025
CISA due date
—
Cloudanix analysis
A flaw in the web server software on Windows could let attackers trick the server into sending login credentials to a machine they control.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Network Service
- Class
- SSRF
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
SSRF via unvalidated request input in mod_rewrite or Apache expressions allows the server on Windows to initiate SMB connections to attacker-controlled UNC paths, resulting in NTLM hash leakage.
Why it matters to the business
Attackers may obtain Windows credentials that enable lateral movement or privilege escalation inside the network; the flaw affects all Windows deployments of the server from version 2.4.0 onward and requires prompt patching to prevent credential theft.
How an attack unfolds
An attacker supplies crafted request data that reaches mod_rewrite rules or expression evaluations, causing the server to attempt an SMB connection to a malicious UNC path; the resulting NTLM authentication attempt leaks hashes to the attacker-controlled host.
How to fix it
Upgrade Apache HTTP Server on Windows to a build containing commit 7e926454793abd7d71b6afc8bd1ec1648752c6ad or later; restrict SMB outbound connections from the server to only trusted hosts and disable NTLM where possible.
How to confirm the fix worked
Confirm the installed version is newer than 2.4.63 and contains the referenced commit; test by submitting requests that would previously trigger UNC connections and verify they are now rejected or logged as blocked.
Typical attack path
- Identify a vulnerable Apache instance on Windows that uses mod_rewrite or expressions processing user-controlled input
- Craft a request containing a UNC path that triggers an outbound SMB connection
- Receive the NTLM authentication attempt and capture or relay the hashes
- Use the obtained hashes for further attacks such as pass-the-hash or credential stuffing
How to detect it
Review web server access and error logs for requests containing UNC paths or backslashes; inspect Windows event logs and network flows for unexpected SMB connections or NTLM authentication attempts originating from the Apache process.
- UNC paths containing \\ in request URIs or rewrite targets
- Outbound SMB traffic (port 445) from httpd.exe or apache.exe
- NTLMSSP authentication packets with target names matching attacker-controlled hosts
What your security team should do
- Apply the fixed commit or subsequent release immediately on all Windows installations
- Audit mod_rewrite rules and expression usage for any unvalidated external input
- Implement network controls limiting SMB traffic from web servers to untrusted destinations
- Monitor for unexpected outbound SMB or NTLM authentication events from the server
The record
Server-Side Request Forgery (SSRF) in Apache HTTP Server on Windows allows to potentially leak NTLM hashes to a malicious server via mod_rewrite or apache expressions that pass unvalidated request input. This issue affects Apache HTTP Server: from 2.4.0 through 2.4.63. Note: The Apache HTTP Server Project will be setting a higher bar for accepting vulnerability reports regarding SSRF via UNC paths. The server offers limited protection against administrators directing the server to open UNC paths. Windows servers should limit the hosts they will connect over via SMB based on the nature of NTLM authentication.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Alpine:v3.19 | apache2 | 0 | 2.4.64-r0 |
| Alpine:v3.20 | apache2 | 0 | 2.4.64-r0 |
| Alpine:v3.21 | apache2 | 0 | 2.4.64-r0 |
| Alpine:v3.22 | apache2 | 0 | 2.4.64-r0 |
| Bitnami | apache | 2.4.0 | 2.4.64 |
| Debian:11 | apache2 | 0 | 2.4.65-1~deb11u1 |
| openSUSE:Tumbleweed | apache2 | 0 | 2.4.64-1.1 |
Related vulnerabilities
- CVE-2025-49630 In certain proxy configurations, a denial of service attack against Apache HTTP Server… Also affects apache2
- CVE-2025-49812 In some mod_ssl configurations on Apache HTTP Server versions through to 2.4.63, an HTTP… Also affects apache2
- CVE-2025-53020 Late Release of Memory after Effective Lifetime vulnerability in Apache HTTP Server. Also affects apache2
- CVE-2024-47252 Insufficient escaping of user-supplied data in mod_ssl in Apache HTTP Server 2.4.63 and… Also affects apache2
- CVE-2025-23048 In some mod_ssl configurations on Apache HTTP Server 2.4.35 through to 2.4.63, an access… Also affects apache2
- CVE-2024-42516 HTTP response splitting in the core of Apache HTTP Server allows an attacker who can… Also affects apache2
- CVE-2024-43204 SSRF in Apache HTTP Server with mod_proxy loaded allows an attacker to send outbound… Also affects apache2
- CVE-2021-41773 A flaw was found in a change made to path normalization in Apache HTTP Server 2.4.49. Also affects apache2