CVE-2024-38472·Apache vulnerability
SSRF in Apache HTTP Server on Windows allows to potentially leak NTLM hashes to a malicious server via SSRF and malicious requests or content Users are recommended to upgrade to version 2.4.60 which fixes this issue. Note: Existing configurations that access UNC paths will have to configure new directive "UNCList" to allow access during request processing.
- Severity
- high
- Software
- Apache
- Fixed in
- 2.4.60
- Published
- 2024-07-01
Affected versions
From: 2.4.0
Until: 2.4.60
Fixed in: 2.4.60
How to fix this CVE
Upgrade Apache HTTP Server to version 2.4.60 or later to patch this Server-Side Request Forgery (SSRF) vulnerability on Windows systems. If your configuration uses UNC paths, you must configure the new 'UNCList' directive to maintain access to those resources after upgrading. Test the upgrade in a staging environment first to ensure compatibility with your existing directives and network policies.
sudo dnf update httpdDefensia detects this vulnerability
How to check if you are affected
- Check installed Apache version with: apache2ctl -v (Ubuntu/Debian) or httpd -v (RHEL/CentOS)
- Verify if your Apache is running on Windows by checking the platform in the version output and reviewing your system OS
- Search Apache access and error logs for suspicious UNC path requests or unusual outbound connections: grep -i 'unc\|\\\\' /var/log/apache2/access.log
- After patching, confirm version with apache2ctl -v or httpd -v and verify the UNCList directive is properly configured if you use UNC paths
FAQ
What is CVE-2024-38472?
CVE-2024-38472 is a Server-Side Request Forgery (SSRF) vulnerability in Apache HTTP Server on Windows that allows attackers to trigger NTLM hash leakage by crafting malicious requests that force the server to authenticate to an attacker-controlled SMB server.
Is CVE-2024-38472 being actively exploited?
No, CVE-2024-38472 is not listed on the CISA Known Exploited Vulnerabilities (KEV) catalog and no public exploits are currently available, though the vulnerability has been disclosed.
What versions of Apache are affected by CVE-2024-38472?
Apache HTTP Server versions 2.4.0 through 2.4.59 are vulnerable. Version 2.4.60 and later contain the fix.
How do I check if my server is vulnerable to CVE-2024-38472?
Run httpd -v or apache2ctl -v and check the version number. If it shows 2.4.59 or earlier AND the server is running on Windows, your installation is vulnerable.
Does Defensia detect CVE-2024-38472?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Apache is installed on a monitored server, CVE-2024-38472 will appear in your dashboard with remediation steps.
Related Apache CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2024-38472. Free for 1 server.
Get started free