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 pe...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Ubuntu:Pro:14.04:LTSapache2 |
< 2.4.7-1ubuntu4.22+esm10→ 2.4.7-1ubuntu4.22+esm10 |
2.4.7-1ubuntu4.22+esm10 |
| Ubuntu:Pro:16.04:LTSapache2 |
< 2.4.18-2ubuntu3.17+esm13→ 2.4.18-2ubuntu3.17+esm13 |
2.4.18-2ubuntu3.17+esm13 |
| Ubuntu:Pro:18.04:LTSapache2 |
< 2.4.29-1ubuntu4.27+esm3→ 2.4.29-1ubuntu4.27+esm3 |
2.4.29-1ubuntu4.27+esm3 |
| Ubuntu:20.04:LTSapache2 |
< 2.4.41-4ubuntu3.19→ 2.4.41-4ubuntu3.19 |
2.4.41-4ubuntu3.19 |
| Ubuntu:22.04:LTSapache2 |
< 2.4.52-1ubuntu4.10→ 2.4.52-1ubuntu4.10 |
2.4.52-1ubuntu4.10 |
| Ubuntu:24.04:LTSapache2 |
< 2.4.58-1ubuntu8.2→ 2.4.58-1ubuntu8.2 |
2.4.58-1ubuntu8.2 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory ubuntu.com
- advisory ubuntu.com
- advisory ubuntu.com
- report ubuntu.com
- report cve.org
- report httpd.apache.org
- report httpd.apache.org
- report cisa.gov