CVE-2022-31813CWE-348

mod_proxy X-Forwarded-For dropped by hop-by-hop mechanism

published June 8, 2022

CVSS
—
EPSS
4%
Percentile
89.2
In the wild
Unconfirmed
What it is

⚠️ A pesky oversight in Apache HTTP Server could let attackers slip past IP-based authentication unnoticed! Think of this as a restaurant where the waiter forgets to pass your order to the kitchen because they didn’t check the special instructions. If that happens, certain guests may get in without proper clearance! Without the X-Forwarded-* headers being sent to the origin server, an attacker might gain access to protected resources by exploiting this gap. It's like leaving the back door slightly ajar, making it easier for unwanted guests to sneak into the party!

Put simply

Think of this as a restaurant where the waiter forgets to pass your order to the kitchen because they didn’t check the special instructions. If that happens, certain guests may get in without proper clearance! Apache HTTP Server versions 2.4.53 and earlier may fail to send X-Forwarded-* headers due to a misunderstanding of the Connection header, which is a hop-by-hop mechanism. This oversight can be manipulated to bypass IP-based authentication mechanisms on the origin server.

What to do

Without the X-Forwarded-* headers being sent to the origin server, an attacker might gain access to protected resources by exploiting this gap. It's like leaving the back door slightly ajar, making it easier for unwanted guests to sneak into the party! Update to Apache HTTP Server version 2.4.54 or later immediately to close this gap. Review your server configuration to ensure proper handling of X-Forwarded-* headers and consider implementing additional authentication layers. 🛡️ You’ve got this! By addressing this issue, you’ll be one step closer to securing your server. 🦸‍♂️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03543 · 89.2th percentile
Weakness
CWE-348 · Use of Less Trusted Source
Published
2022-06-08T10:00Z
EPSS history
Timeline
  • 08 JUN 10:00Z
    mod_proxy X-Forwarded-For dropped by hop-by-hop mechanism
    cvelistv5