Bug 2295014 (CVE-2024-38475)

Summary: CVE-2024-38475 httpd: Improper escaping of output in mod_rewrite
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: akapse, alex.wang, charles.koprowski, csutherl, hmatsumo, jclere, pjindal, plodge, szappis
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2295108    
Bug Blocks:    

Description OSIDB Bzimport 2024-07-01 19:22:07 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.

Comment 2 errata-xmlrpc 2024-07-23 08:49:55 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2024:4720 https://access.redhat.com/errata/RHSA-2024:4720

Comment 3 errata-xmlrpc 2024-07-23 08:53:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Extended Update Support

Via RHSA-2024:4719 https://access.redhat.com/errata/RHSA-2024:4719

Comment 4 errata-xmlrpc 2024-07-23 13:18:39 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:4726 https://access.redhat.com/errata/RHSA-2024:4726

Comment 5 errata-xmlrpc 2024-07-24 12:38:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Advanced Update Support

Via RHSA-2024:4820 https://access.redhat.com/errata/RHSA-2024:4820

Comment 6 errata-xmlrpc 2024-07-24 13:10:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.6 Telecommunications Update Service

Via RHSA-2024:4827 https://access.redhat.com/errata/RHSA-2024:4827

Comment 7 errata-xmlrpc 2024-07-24 13:31:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.4 Telecommunications Update Service

Via RHSA-2024:4830 https://access.redhat.com/errata/RHSA-2024:4830

Comment 8 errata-xmlrpc 2024-07-25 08:30:58 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions

Via RHSA-2024:4863 https://access.redhat.com/errata/RHSA-2024:4863

Comment 9 errata-xmlrpc 2024-07-25 08:36:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:4862 https://access.redhat.com/errata/RHSA-2024:4862

Comment 10 errata-xmlrpc 2024-07-31 10:20:07 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.7 Advanced Update Support

Via RHSA-2024:4938 https://access.redhat.com/errata/RHSA-2024:4938

Comment 11 errata-xmlrpc 2024-07-31 14:52:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7 Extended Lifecycle Support

Via RHSA-2024:4943 https://access.redhat.com/errata/RHSA-2024:4943

Comment 12 errata-xmlrpc 2024-08-13 13:06:34 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2024:5240 https://access.redhat.com/errata/RHSA-2024:5240

Comment 13 errata-xmlrpc 2024-08-13 13:08:08 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 7
  JBoss Core Services for RHEL 8

Via RHSA-2024:5239 https://access.redhat.com/errata/RHSA-2024:5239