Lucene search

K
cvelistApacheCVELIST:CVE-2024-38475
HistoryJul 01, 2024 - 6:15 p.m.

CVE-2024-38475 Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.

2024-07-0118:15:12
CWE-116
apache
www.cve.org
1
apache http server
mod_rewrite
url mapping
filesystem path
code execution
source code disclosure

0.0004 Low

EPSS

Percentile

9.2%

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.

CNA Affected

[
  {
    "defaultStatus": "unaffected",
    "product": "Apache HTTP Server",
    "vendor": "Apache Software Foundation",
    "versions": [
      {
        "lessThanOrEqual": "2.4.59",
        "status": "affected",
        "version": "2.4.0",
        "versionType": "semver"
      }
    ]
  }
]

0.0004 Low

EPSS

Percentile

9.2%