← Back to CVE List
Vulnerability Intelligence Report
Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.

CVE-2024-38475

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.

CISA KEV Nuclei Template SSVC: Active Exploitation Automatable
CVSS Base Score
9.1
CRITICAL
Exploitability:3.9
Impact Score:5.2
EPSS Probability:99.96%
Executive Threat Verdict
Evaluating...
Evaluating Threat Landscape...
Assessing known weaponization, exploitation telemetry, and federal advisories.
Attack Surface
—
Authentication
—
Weaponization
—
SSVC Action
—

Weaknesses (CWE)

CWE-116 ↗CWE-116 Improper Encoding or Escaping of Output

Affected Products & Versions

Vendor Product Affected Versions
Apache Software Foundation Apache HTTP Server 2.4.0 <= 2.4.59 (affected)

References & Technical Advisories

No reference links found.

Threat Intelligence Signals

CISA KEV
ACTIVE IN CATALOG
Nuclei Template
SCANNER AVAILABLE
EPSS Score
99.957%

Identity & Timeline

StatusPUBLISHED
Assigning AuthorityApache Software Foundation · Vendor · USA
Reserved2024-06-17T11:09:56
Published2024-07-01T18:15:12
Last Updated2025-11-03T21:55:40

LINK COPIED TO CLIPBOARD