Bug 2095020 (CVE-2022-31813) - CVE-2022-31813 httpd: mod_proxy: X-Forwarded-For dropped by hop-by-hop mechanism
Summary: CVE-2022-31813 httpd: mod_proxy: X-Forwarded-For dropped by hop-by-hop mechanism
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2022-31813
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2095021 2098247 2098248 2098249
Blocks: 2095023
TreeView+ depends on / blocked
 
Reported: 2022-06-08 19:51 UTC by Guilherme de Almeida Suckevicz
Modified: 2024-03-18 13:37 UTC (History)
52 users (show)

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.
Clone Of:
Environment:
Last Closed: 2022-12-10 17:03:01 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2022:6753 0 None None None 2022-09-29 13:33:57 UTC
Red Hat Product Errata RHSA-2022:7647 0 None None None 2022-11-08 10:00:02 UTC
Red Hat Product Errata RHSA-2022:8067 0 None None None 2022-11-15 10:09:04 UTC
Red Hat Product Errata RHSA-2022:8840 0 None None None 2022-12-08 13:07:09 UTC
Red Hat Product Errata RHSA-2022:8841 0 None None None 2022-12-08 13:21:59 UTC

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


Note You need to log in before you can comment on or make changes to this bug.