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.
Overview
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.
- Published
- 7/1/2024
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
Known exploited · CISA KEV
The source record flags evidence of exploitation in the wild. Whether a specific system is affected depends on the product, version, and advisory conditions.
Added to KEV: Not available
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
http server apache | ≥ 2.4.0, < 2.4.60 | Verify advisory | Source |
ontap 9 netapp | Range not specified — verify advisory | Verify advisory | Source |
sma 200 firmware sonicwall | < 10.2.1.14-75sv | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
sma 210 firmware sonicwall | < 10.2.1.14-75sv | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
sma 400 firmware sonicwall | < 10.2.1.14-75sv | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
sma 410 firmware sonicwall | < 10.2.1.14-75sv | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
sma 500v firmware sonicwall | < 10.2.1.14-75sv | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Apache HTTP Server Apache Software Foundation | ≥ 2.4.0, ≤ 2.4.59 | Verify advisory | Source |
http_server apache | ≥ 2.4.0, ≤ 2.4.59 | Verify advisory | Source |
ontap_9 netapp | < * | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 9.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.