CVE-2024-38475

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*

Configuration 2 (hide)

cpe:2.3:a:netapp:ontap_9:-:*:*:*:*:*:*:*

History

02 May 2025, 15:43

Type Values Removed Values Added
References () https://httpd.apache.org/security/vulnerabilities_24.html - () https://httpd.apache.org/security/vulnerabilities_24.html - Vendor Advisory
References () https://security.netapp.com/advisory/ntap-20240712-0001/ - () https://security.netapp.com/advisory/ntap-20240712-0001/ - Third Party Advisory
References () http://www.openwall.com/lists/oss-security/2024/07/01/8 - () http://www.openwall.com/lists/oss-security/2024/07/01/8 - Third Party Advisory
References () https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf - () https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf - Patch
References () https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227 - () https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227 - Third Party Advisory
CPE cpe:2.3:a:apache:http_server:*:*:*:*:*:*:*:*
cpe:2.3:a:netapp:ontap_9:-:*:*:*:*:*:*:*
First Time Apache
Netapp ontap 9
Apache http Server
Netapp

21 Nov 2024, 09:26

Type Values Removed Values Added
References
  • () http://www.openwall.com/lists/oss-security/2024/07/01/8 -
  • () https://github.com/apache/httpd/commit/9a6157d1e2f7ab15963020381054b48782bc18cf -
  • () https://www.blackhat.com/us-24/briefings/schedule/index.html#confusion-attacks-exploiting-hidden-semantic-ambiguity-in-apache-http-server-pre-recorded-40227 -
References () https://httpd.apache.org/security/vulnerabilities_24.html - () https://httpd.apache.org/security/vulnerabilities_24.html -
References () https://security.netapp.com/advisory/ntap-20240712-0001/ - () https://security.netapp.com/advisory/ntap-20240712-0001/ -

12 Jul 2024, 14:15

Type Values Removed Values Added
References
  • () https://security.netapp.com/advisory/ntap-20240712-0001/ -

08 Jul 2024, 14:18

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.1

02 Jul 2024, 12:09

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-01 19:15

Updated : 2025-05-02 15:43


NVD link : CVE-2024-38475

Mitre link : CVE-2024-38475

CVE.ORG link : CVE-2024-38475


JSON object : View

Products Affected

apache

  • http_server

netapp

  • ontap_9
CWE
CWE-116

Improper Encoding or Escaping of Output