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: NEW
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: 2098247 2098248 2098249 2095021
Blocks: 2095023
TreeView+ depends on / blocked
 
Reported: 2022-06-08 19:51 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-08-01 19:41 UTC (History)
51 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:


Attachments (Terms of Use)

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?


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