CVE Database›Document archive›CVE-2024-38475

CVE-2024-38475

httpd: Improper escaping of output in mod_rewrite

Loading…

Severity

Important

Red Hat Product Security

9.1

CVSS 3.1

Review impact separately from score.

Published · July 1, 2024

Updated · September 21, 2026

Description

A flaw was found in the mod_rewrite module of httpd. Improper escaping of output allows an attacker to map URLs to filesystem locations permitted to be served by the server but are not intentionally or directly reachable by any URL. This issue results in code execution or source code disclosure.

Statement

This issue affects configurations with substitution rules used in the RewriteRule directive using backreferences or variables as the first segment of the substitution.

Additionally, this flaw requires mod_rewrite to be loaded and used. This module can be disabled if its functionality is not needed.

Red Hat Enterprise Linux 6 is not affected by this vulnerability because the vulnerable code was introduced in a newer version of httpd.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.

CVSS / CWE

CVSS 3.1 · 9.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CWE-116 · Improper Encoding or Escaping of Output