Bug 1820761 (CVE-2020-1927)

Summary: CVE-2020-1927 httpd: mod_rewrite configurations vulnerable to open redirect
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: anon.amish, csutherl, dmasirka, gzaronik, hhorak, jclere, jdoyle, jkaluza, jlyle, jorton, jwon, kbost, krathod, lgao, luhliari, mbabacek, mturk, mvanderw, myarboro, pahan, pjindal, pslavice, rsvoboda, tcrider, weli
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: httpd 2.4.42 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Apache HTTP Server (httpd) versions 2.4.0 to 2.4.41. Redirects configured with mod_rewrite that were intended to be self-referential might be fooled by encoded newlines and redirected instead to an unexpected URL within the request URL.
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-22 16:32:40 UTC 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: 1820775, 1823258, 1823259, 1823260    
Bug Blocks: 1820777    

Description Guilherme de Almeida Suckevicz 2020-04-03 20:14:17 UTC
In Apache HTTP Server 2.4.0 to 2.4.41, redirects configured with mod_rewrite that were intended to be self-referential might be fooled by encoded newlines and redirect instead to an an unexpected URL within the request URL.

References:
https://httpd.apache.org/security/vulnerabilities_24.html

Comment 1 Guilherme de Almeida Suckevicz 2020-04-03 20:39:41 UTC
Created httpd tracking bugs for this issue:

Affects: fedora-all [bug 1820775]

Comment 4 Huzaifa S. Sidhpurwala 2020-04-13 04:19:39 UTC
Statement:

This issue only affects httpd versions between 2.4.0 and 2.4.41. Therefore Red Hat Enterprise Linux 5 and 6 are not affected by this flaw.

Comment 6 Huzaifa S. Sidhpurwala 2020-04-13 04:34:57 UTC
External References:

https://httpd.apache.org/security/vulnerabilities_24.html

Comment 8 errata-xmlrpc 2020-04-22 14:04:53 UTC
This issue has been addressed in the following products:

  JBoss Core Services Apache HTTP Server 2.4.37 SP2

Via RHSA-2020:1336 https://access.redhat.com/errata/RHSA-2020:1336

Comment 9 errata-xmlrpc 2020-04-22 14:10:28 UTC
This issue has been addressed in the following products:

  JBoss Core Services on RHEL 6
  JBoss Core Services on RHEL 7

Via RHSA-2020:1337 https://access.redhat.com/errata/RHSA-2020:1337

Comment 10 Product Security DevOps Team 2020-04-22 16:32:40 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-1927

Comment 11 errata-xmlrpc 2020-05-26 09:01:43 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6

Via RHSA-2020:2263 https://access.redhat.com/errata/RHSA-2020:2263

Comment 12 errata-xmlrpc 2020-09-29 20:07:28 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:3958 https://access.redhat.com/errata/RHSA-2020:3958

Comment 13 errata-xmlrpc 2020-11-04 03:35:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2020:4751 https://access.redhat.com/errata/RHSA-2020:4751