Bug 1227268 (CVE-2024-38475) - VUL-0: CVE-2024-38475: apache2,apache2-tls13: httpd: Improper escaping of output in mod_rewrite
Summary: VUL-0: CVE-2024-38475: apache2,apache2-tls13: httpd: Improper escaping of out...
Status: IN_PROGRESS
Alias: CVE-2024-38475
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P2 - High : Major
Target Milestone: ---
Assignee: David Anes
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/412507/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-38475:8.2:(AV:...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-02 08:04 UTC by SMASH SMASH
Modified: 2024-07-17 12:41 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-07-02 08:04:05 UTC
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.

References:
https://httpd.apache.org/security/vulnerabilities_24.html
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-38475
https://seclists.org/oss-sec/2024/q3/7
https://www.cve.org/CVERecord?id=CVE-2024-38475
https://bugzilla.redhat.com/show_bug.cgi?id=2295014