Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path. (Apache Software Foundation Apache HTTP Server)
En bref
- Source
- NVD
- EPSS
- EPSS 99.96 % · centile 100 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- apache
- Statut NVD
- Analyzed
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.
Faiblesses (CWE)
- CWE-116 — Encodage ou échappement incorrect de la sortie
Références
- https://httpd.apache.org/security/vulnerabilities_24.html
- https://security.netapp.com/advisory/ntap-20240712-0001/
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-38475
- https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227
- https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf
- http://www.openwall.com/lists/oss-security/2024/07/01/8
- https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2024-0018
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | CISA-ADP |
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD · nvd@nist.gov (Primary) |
| CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2024-37356
- GCVE · GCVE-0-2024-38475
Avis du CERT-FR
- CERTFR-2024-AVI-1042 — Multiples vulnérabilités dans Sonicwall Secure Mobile Access · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0750 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0676 — Multiples vulnérabilités dans Tenable Security Center · cert.ssi.gouv.fr
- CERTFR-2024-AVI-0533 — Multiples vulnérabilités dans Apache HTTP Server · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*≥ 2.4.0 < 2.4.60cpe:2.3:a:netapp:ontap_9:-:*:*:*:*:*:*:*cpe:2.3:o:sonicwall:sma_200_firmware:*:*:*:*:*:*:*:*< 10.2.1.14-75svcpe:2.3:o:sonicwall:sma_210_firmware:*:*:*:*:*:*:*:*< 10.2.1.14-75svcpe:2.3:o:sonicwall:sma_400_firmware:*:*:*:*:*:*:*:*< 10.2.1.14-75svcpe:2.3:o:sonicwall:sma_410_firmware:*:*:*:*:*:*:*:*< 10.2.1.14-75svcpe:2.3:o:sonicwall:sma_500v_firmware:*:*:*:*:*:*:*:*< 10.2.1.14-75sv
Produits affectés
| Produit | Versions |
|---|---|
| Apache Software Foundation · Apache HTTP Server | affected 2.4.0 ≤ 2.4.59 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| CISA Known Exploited Vulnerabilities | CC0 1.0 |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |