CVE-2024-38475

CriticalActively exploited (CISA KEV)

Description

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.

SeverityCritical
CVSS9.1
Exploit probability—
ProductApache HTTP Server
PublishedJul 1, 2024
First seenJul 1, 2024
Added to KEVMay 1, 2025
Weakness typeCWE-116CWE-116

How to fix

CISA required action

Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

CISA due date: May 22, 2025
Update
  • apache http_server2.4.60 or later
  • sonicwall sma_200_firmware10.2.1.14-75sv or later
  • sonicwall sma_210_firmware10.2.1.14-75sv or later
  • sonicwall sma_400_firmware10.2.1.14-75sv or later
  • sonicwall sma_410_firmware10.2.1.14-75sv or later
  • sonicwall sma_500v_firmware10.2.1.14-75sv or later

Affected products

ProductAffected versionsFixed in
apache http_server2.4.0 ≤ v < 2.4.602.4.60
netapp ontap_9No range specified—
sonicwall sma_200_firmwarev < 10.2.1.14-75sv10.2.1.14-75sv
sonicwall sma_210_firmwarev < 10.2.1.14-75sv10.2.1.14-75sv
sonicwall sma_400_firmwarev < 10.2.1.14-75sv10.2.1.14-75sv
sonicwall sma_410_firmwarev < 10.2.1.14-75sv10.2.1.14-75sv
sonicwall sma_500v_firmwarev < 10.2.1.14-75sv10.2.1.14-75sv

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-38475 · Apache HTTP Server · Dark Radar