Vulnerability · Published Jun 8, 2022 · Assigned by apache

CVE-2022-31813mod_proxy X-Forwarded-For dropped by hop-by-hop mechanism

Critical 9.8

In plain English

A critical-severity security flaw in Apache HTTP Server from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.5% (higher than 89% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)3.5%top 10.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack tooling1Public PoC

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8httpd2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9httpd2.4.53-7.el9ALSA-2022:8067
AlmaLinux:9httpd-core2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8httpd-devel2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9httpd-devel2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8httpd-filesystem2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9httpd-filesystem2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8httpd-manual2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9httpd-manual2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8httpd-tools2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9httpd-tools2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8mod_http21.15.7-5.module_el8.6.0+2872+fe0ff7aaALSA-2022:7647
AlmaLinux:8mod_http21.15.7-5.module_el8.6.0+3031+fb177b09ALSA-2022:7647
AlmaLinux:8mod_ldap2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9mod_ldap2.4.53-7.el9ALSA-2022:8067
AlmaLinux:9mod_lua2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8mod_md1:2.0.8-8.module_el8.6.0+3031+fb177b09ALSA-2022:7647
AlmaLinux:8mod_md1:2.0.8-8.module_el8.6.0+2872+fe0ff7aaALSA-2022:7647
AlmaLinux:8mod_proxy_html1:2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9mod_proxy_html1:2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8mod_session2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9mod_session2.4.53-7.el9ALSA-2022:8067
AlmaLinux:8mod_ssl1:2.4.37-51.module_el8.7.0+3281+01e58653ALSA-2022:7647
AlmaLinux:9mod_ssl1:2.4.53-7.el9ALSA-2022:8067
Alpine:v3.20apache22.4.54-r0ALPINE-CVE-2022-31813
Alpine:v3.21apache22.4.54-r0ALPINE-CVE-2022-31813
Alpine:v3.22apache22.4.54-r0ALPINE-CVE-2022-31813
Alpine:v3.23apache22.4.54-r0ALPINE-CVE-2022-31813
Alpine:v3.24apache22.4.54-r0ALPINE-CVE-2022-31813
Debian:12apache22.4.54-1DEBIAN-CVE-2022-31813
Debian:13apache22.4.54-1DEBIAN-CVE-2022-31813
Debian:14apache22.4.54-1DEBIAN-CVE-2022-31813
Rocky Linux:8httpd0:2.4.37-51.module+el8.7.0+1059+126e9251RLSA-2022:7647
Rocky Linux:9httpd0:2.4.53-7.el9RLSA-2022:8067
Rocky Linux:8mod_http20:1.15.7-5.module+el8.6.0+823+f143cee1RLSA-2022:7647
Rocky Linux:8mod_md1:2.0.8-8.module+el8.4.0+553+7a69454bRLSA-2022:7647
Rocky Linux:8mod_md1:2.0.8-8.module+el8.5.0+695+1fa8055eRLSA-2022:7647
Ubuntu:22.04:LTSapache22.4.52-1ubuntu4.1USN-5487-1
Ubuntu:22.04:LTSapache22.4.52-1ubuntu4.1UBUNTU-CVE-2022-31813

Affected products (as reported)

VendorProductVersions
Apache Software Foundation Apache HTTP Server Apache HTTP Server 2.4 – through 2.4.53

Weakness: CWE-348

References