Skip to content

Apache HTTP Server

Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.

CVE-2024-38475Published 1 Jul 2024, 18:15 UTC

Real-world risk

8.0/ 10High

Act now: it is being exploited.

PreliminaryFrom the CVSS vector only · confidence low

CVSS

9.1

scored by CISA, CVSS 3.1

In plain words

No plain-language summary yet. The original description is below.

Original description (from apache)

Improper escaping of output in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows an attacker to map URLs to filesystem locations that are permitted to be served by the server but are not intentionally/directly reachable by any URL, resulting in code execution or source code disclosure. Substitutions in server context that use a backreferences or variables as the first segment of the substitution are affected.  Some unsafe RewiteRules will be broken by this change and the rewrite flag "UnsafePrefixStat" can be used to opt back in once ensuring the substitution is appropriately constrained.

Am I affected?

ProductAffected versions (from the sources)Fixed in
Apache HTTP ServerUbiquitous>= 2.4.0, <= 2.4.59—
ONTAP 9Common< *—

What to do

Check the vendor advisory in the references below for fixed versions and workarounds.

Why this score

FactorValueEvidence×
ImpactMajor data exposureReads secrets, credentials, databases, arbitrary filesFrom the CVSS vector0.80
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T5: Exploited in the wild (× 1.00)

On CISA KEV or VulnCheck KEV, flagged exploited by ENISA's EUVD, CISA's SSVC says active, or the vendor's or CNA's own page says it is exploited

  • On CISA’s Known Exploited Vulnerabilities list
  • Public proof of concept on GitHub
  • Public proof of concept on GitHub
  • Nuclei scanner template (link)
  • CISA SSVC: exploitation active

EPSS 100.0% chance of exploitation in 30 days (percentile 100), as of 2026-12-03.

The arithmetic
  1. Prerequisites multiplied together1.000
  2. Threat T5: Exploited in the wild1.000
  3. 10 × impact 0.8 × prerequisites 1 × threat 18.000
  4. Rounded to one decimal between 0.1 and 108.0

How the score works

Exploitation and evidence timeline

  1. 1 Jul 2024 Published
  2. 1 May 2025 Added to CISA KEV
  3. 3 Dec 2026 Public proof of concept on GitHub first seen
  4. 3 Dec 2026 Public proof of concept on GitHub first seen
  5. 3 Dec 2026 Nuclei scanner template first seen
  6. 3 Dec 2026 CISA SSVC: exploitation active first seen
  7. 3 Dec 2026 Risk 8.0 (cvss fallback)

Weakness

CWE-116

References

Get alerts for Apache HTTP Server

Free email or text alerts when a vulnerability in Apache HTTP Server reaches risk 8 or higher. Nothing else.