First published: Mon Jul 01 2024(Updated: )
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.
Affected Software | Affected Version | How to fix |
---|---|---|
Apache Http Server | <2.4.59 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
REHAT-BUG-2295014 is considered a high severity vulnerability due to the potential for code execution and source code disclosure.
REHAT-BUG-2295014 allows attackers to improperly map URLs to filesystem locations, potentially exposing sensitive files.
To remediate REDHAT-BUG-2295014, update the Apache HTTP Server to version 2.4.60 or later, which contains the necessary security patches.
REHAT-BUG-2295014 affects Apache HTTP Server versions up to and including 2.4.59.
Exploitation of REDHAT-BUG-2295014 may involve leveraging mod_rewrite to improperly access and serve protected filesystem locations.