9.1Crítica KEV

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

Apache Software Foundation Apache HTTP Server; apache http_server; netapp ontap_9 Publicada: (hace 2 años)

Explotación conocida — Apache HTTP Server Improper Escaping of Output Vulnerability

CISA confirmó el 01.05.2025 que esta vulnerabilidad se usa en ataques reales. Plazo para las agencias federales de EE. UU.: 22.05.2025.

Acción requerida: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. This vulnerability affects a common open-source component, third-party library, or a protocol used by different products. Please check with specific vendors for information on patching status. For more information, please see: https://httpd.apache.org/security/vulnerabilities_24.html ; https://nvd.nist.gov/vuln/detail/CVE-2024-38475

Descripción

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.

Debilidad (CWE): CWE-116

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Apache Software Foundation Apache HTTP Server 2.4.0 – ≤ 2.4.59
apache http_server 2.4.0 – ≤ 2.4.59
netapp ontap_9 0
sonicwall sma 200 firmware < 10.2.1.14-75sv
sonicwall sma 210 firmware < 10.2.1.14-75sv
sonicwall sma 400 firmware < 10.2.1.14-75sv
sonicwall sma 410 firmware < 10.2.1.14-75sv
sonicwall sma 500v firmware < 10.2.1.14-75sv

Referencias y parches

Coincidencias CPE (NVD) (7)

  • cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:* ≥ 2.4.0 < 2.4.60
  • cpe:2.3:a:netapp:ontap_9:-:*:*:*:*:*:*:*
  • cpe:2.3:o:sonicwall:sma_200_firmware:*:*:*:*:*:*:*:* < 10.2.1.14-75sv
  • cpe:2.3:o:sonicwall:sma_210_firmware:*:*:*:*:*:*:*:* < 10.2.1.14-75sv
  • cpe:2.3:o:sonicwall:sma_400_firmware:*:*:*:*:*:*:*:* < 10.2.1.14-75sv
  • cpe:2.3:o:sonicwall:sma_410_firmware:*:*:*:*:*:*:*:* < 10.2.1.14-75sv
  • cpe:2.3:o:sonicwall:sma_500v_firmware:*:*:*:*:*:*:*:* < 10.2.1.14-75sv