Bug 1227278 (CVE-2024-38474)

Summary: VUL-0: CVE-2024-38474: apache2: Substitution encoding issue in mod_rewrite
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: David Anes <david.anes>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium CC: thomas.leroy
Version: unspecifiedFlags: david.anes: needinfo? (thomas.leroy)
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/412508/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-38474:8.2:(AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-07-02 10:02:04 UTC
Substitution encoding issue in mod_rewrite in Apache HTTP Server 2.4.59 and earlier allows attacker to execute scripts in
directories permitted by the configuration but not directly reachable by any URL or source disclosure of scripts meant to only to be executed as CGI.

Users are recommended to upgrade to version 2.4.60, which fixes this issue.

Some RewriteRules that capture and substitute unsafely will now fail unless rewrite flag "UnsafeAllow3F" is specified.

References:
https://httpd.apache.org/security/vulnerabilities_24.html
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-38474
https://seclists.org/oss-sec/2024/q3/6
https://www.cve.org/CVERecord?id=CVE-2024-38474
https://bugzilla.redhat.com/show_bug.cgi?id=2295013
Comment 1 Thomas Leroy 2024-07-02 10:03:22 UTC
Affected:
- SUSE:ALP:Source:Standard:1.0
- SUSE:SLE-12-SP2:Update
- SUSE:SLE-12-SP5:Update
- SUSE:SLE-15-SP2:Update
- SUSE:SLE-15-SP4:Update
- SUSE:SLE-15-SP6:Update
- SUSE:SLE-15:Update
- SUSE:SLFO:Main
- openSUSE:Factory