Bug 2095020 (CVE-2022-31813)

Summary: CVE-2022-31813 httpd: mod_proxy: X-Forwarded-For dropped by hop-by-hop mechanism
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, asoldano, bbaranow, bmaxwell, brian.stansberry, caswilli, cdewolf, cfeng, chazlett, csutherl, darran.lofthouse, dkreling, dosoudil, fduarte, fjansen, fjuma, hhorak, iweiss, jburrell, jclere, jkaluza, jkoehler, jochrist, jorton, jwong, jwon, kaycoth, kyoshida, lclark, lgao, luhliari, micjohns, mmadzin, mosmerov, msochure, msvehla, mturk, nwallace, peholase, pjindal, plodge, pmackay, rbeyl, rstancel, rsvoboda, saroy, sid, smaestri, sthirugn, suwu, szappis, tom.jenkinson
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: httpd 2.4.54 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the mod_proxy module of httpd. The server may remove the X-Forwarded-* headers from a request based on the client-side Connection header hop-by-hop mechanism.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-10 17:03:01 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: 2095021, 2098247, 2098248, 2098249    
Bug Blocks: 2095023    

Description Guilherme de Almeida Suckevicz 2022-06-08 19:51:34 UTC
Apache HTTP Server 2.4.53 and earlier may not send the X-Forwarded-* headers to the origin server based on client side Connection header hop-by-hop mechanism. This may be used to bypass IP based authentication on the origin server/application.

References:
https://httpd.apache.org/security/vulnerabilities_24.html
https://www.openwall.com/lists/oss-security/2022/06/08/8

Comment 1 Guilherme de Almeida Suckevicz 2022-06-08 19:51:52 UTC
Created httpd tracking bugs for this issue:

Affects: fedora-all [bug 2095021]

Comment 5 Leon 2022-07-19 13:32:11 UTC
Is there mitigation steps we can take in the mean time?

Comment 8 errata-xmlrpc 2022-09-29 13:33:51 UTC
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7

Via RHSA-2022:6753 https://access.redhat.com/errata/RHSA-2022:6753

Comment 11 errata-xmlrpc 2022-11-08 09:59:57 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2022:7647 https://access.redhat.com/errata/RHSA-2022:7647

Comment 12 errata-xmlrpc 2022-11-15 10:09:01 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2022:8067 https://access.redhat.com/errata/RHSA-2022:8067

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

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

Via RHSA-2022:8840 https://access.redhat.com/errata/RHSA-2022:8840

Comment 14 errata-xmlrpc 2022-12-08 13:21:55 UTC
This issue has been addressed in the following products:

  Red Hat JBoss Core Services

Via RHSA-2022:8841 https://access.redhat.com/errata/RHSA-2022:8841

Comment 15 Product Security DevOps Team 2022-12-10 17:02:56 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-2022-31813