Improper Authentication in Apache HTTP Server - CVE-2022-31813

 

Improper Authentication in Apache HTTP Server - CVE-2022-31813

Published: June 8, 2022 / Updated: April 21, 2023


Vulnerability identifier: #VU64089
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-31813
CWE-ID: CWE-287
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass authentication process.

The vulnerability exists due to an error in mod_proxy implementation, where the web server may not send the X-Forwarded-* headers to the origin server based on client side Connection header hop-by-hop mechanism. A remote attacker can bypass IP based authentication on the origin server/application and gain access to otherwise restricted functionality.


Affected software

Apache HTTP Server
IBM HTTP Server
Gentoo Linux
Amazon Linux AMI
Oracle Linux
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
QuTScloud
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise Server 15
F5OS
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Enterprise Storage
SUSE Linux Enterprise Storage
IBM i
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for IBM z Systems
SUSE OpenStack Cloud Crowbar
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
SUSE OpenStack Cloud
HPE Helion Openstack
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Server for SAP Applications
Slackware Linux
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Server Applications
SUSE Linux Enterprise Desktop
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
openEuler
Fedora
QuTS hero
PowerScale OneFS
Tenable.sc
httpd24-httpd (Red Hat package)
SUSE Linux Enterprise Module for Packagehub Subpackages
jbcs-httpd24-openssl-pkcs11 (Red Hat package)
jbcs-httpd24-openssl-chil (Red Hat package)
jbcs-httpd24-mod_proxy_cluster (Red Hat package)
jbcs-httpd24-apr-util (Red Hat package)
jbcs-httpd24-mod_http2 (Red Hat package)
jbcs-httpd24-nghttp2 (Red Hat package)
jbcs-httpd24-mod_md (Red Hat package)
apache2
apache2-debuginfo
apache2-worker-debuginfo
apache2-debugsource
apache2-worker
apache2-utils-debuginfo
apache2-example-pages
apache2-utils
apache2-prefork-debuginfo
apache2-prefork
apache2-doc
apache2 (Ubuntu package)
apache2-bin (Ubuntu package)
apache2-devel
mod_ldap
mod_md
httpd-tools
mod_ssl
mod_proxy_html
httpd
httpd-debuginfo
httpd-devel
mod_session
httpd-debugsource
httpd-filesystem
httpd-help
jbcs-httpd24-httpd (Red Hat package)
apache2-event
apache2-event-debuginfo
httpd (Red Hat package)
app-admin/apache-tools
www-servers/apache
jbcs-httpd24-mod_security (Red Hat package)
jbcs-httpd24-curl (Red Hat package)
JBoss Core Services
IBM Security SiteProtector System
QNAP QTS
Oracle Enterprise Operations Monitor
Traffix SDC
MELSOFT iQ AppPortal
IBM Aspera Faspex for Linux
IBM Aspera Faspex for Windows
Oracle Communications Element Manager
RecoverPoint Classic
Oracle Communications User Data Repository
Oracle Secure Backup
HP-UX
EMC ECS
Watson Studio on Cloud Pak for Data
Maximo Application Suite - IoT Component
IBM Tivoli Monitoring
IBM Rational Build Forge
Oracle Communications Diameter Signaling Router
Oracle HTTP Server
IBM Aspera Orchestrator
App Connect Enterprise Certified Container
Oracle Enterprise Manager Ops Center
IBM Cloud Pak System
Communications Unified Assurance

How to mitigate CVE-2022-31813

Install updates from vendor's website.

Apache HTTP Server - update to 2.4.54
Tenable.sc - update to Patch 202206.1
F5OS - update to 1.3.2
httpd24-httpd (Red Hat package) - update to 2.4.34-23.el7.5
JBoss Core Services - update to 2.4.51 SP1
IBM Security SiteProtector System - update to 3.1.1.19
QNAP QTS - addressed in versions 4.5.4.2125 20220810, 5.0.0.2131 20220815
IBM Aspera Faspex for Linux - update to 4.4.2 PL2
IBM Aspera Faspex for Windows - update to 4.4.2 PL2
RecoverPoint Classic - update to 5.1 SP4 P4
IBM Rational Build Forge - update to 8.0.0.24
Oracle Secure Backup - update to 18.1.0.2.0
HP-UX - update to b.11.31
jbcs-httpd24-openssl-pkcs11 (Red Hat package) - addressed in versions 0.4.10-32.el7jbcs, 0.4.10-32.el8jbcs
jbcs-httpd24-openssl-chil (Red Hat package) - addressed in versions 1.0.0-17.el7jbcs, 1.0.0-17.el8jbcs
jbcs-httpd24-mod_proxy_cluster (Red Hat package) - addressed in versions 1.3.17-13.el7jbcs, 1.3.17-13.el8jbcs
jbcs-httpd24-apr-util (Red Hat package) - addressed in versions 1.6.1-99.el7jbcs, 1.6.1-99.el8jbcs
jbcs-httpd24-mod_http2 (Red Hat package) - addressed in versions 1.15.19-20.el7jbcs, 1.15.19-20.el8jbcs
MELSOFT iQ AppPortal - update to 1.32J
jbcs-httpd24-nghttp2 (Red Hat package) - addressed in versions 1.43.0-11.el7jbcs, 1.43.0-11.el8jbcs
IBM Cloud Pak System - update to 2.3.4.0
jbcs-httpd24-mod_md (Red Hat package) - addressed in versions 2.4.0-18.el7jbcs, 2.4.0-18.el8jbcs
apache2 - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-debuginfo - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-worker-debuginfo - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-debugsource - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-worker - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-utils-debuginfo - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-example-pages - addressed in versions 2.4.23-29.91.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-utils - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-prefork-debuginfo - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-prefork - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-doc - addressed in versions 2.4.23-29.91.1, 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2 (Ubuntu package) - addressed in versions 2.4.29-1ubuntu4.24, 2.4.29-1ubuntu4.25, 2.4.41-4ubuntu3.12, 2.4.48-3.1ubuntu3.5, 2.4.52-1ubuntu4.1, 2.4.71ubuntu4.22+esm6
apache2-bin (Ubuntu package) - addressed in versions 2.4.29-1ubuntu4.24, 2.4.29-1ubuntu4.25, 2.4.41-4ubuntu3.12, 2.4.48-3.1ubuntu3.5, 2.4.52-1ubuntu4.1, 2.4.71ubuntu4.22+esm6
apache2-devel - addressed in versions 2.4.33-150000.3.69.1, 2.4.51-35.19.1, 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
mod_ldap - update to 2.4.43-16
mod_md - update to 2.4.43-16
httpd-tools - update to 2.4.43-16
mod_ssl - update to 2.4.43-16
mod_proxy_html - update to 2.4.43-16
httpd - update to 2.4.43-16
httpd-debuginfo - update to 2.4.43-16
httpd-devel - update to 2.4.43-16
mod_session - update to 2.4.43-16
httpd-debugsource - update to 2.4.43-16
httpd-filesystem - update to 2.4.43-16
httpd-help - update to 2.4.43-16
jbcs-httpd24-httpd (Red Hat package) - addressed in versions 2.4.51-37.el7jbcs, 2.4.51-37.el8jbcs
apache2-event - addressed in versions 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
apache2-event-debuginfo - addressed in versions 2.4.51-150200.3.48.1, 2.4.51-150400.6.3.1, 2.4.66-150400.6.57.1
httpd (Red Hat package) - update to 2.4.53-7.el9
app-admin/apache-tools - update to 2.4.54
www-servers/apache - update to 2.4.54
httpd - addressed in versions 2.4.54-1.fc35, 2.4.54-3.fc36
httpd - update to 2.4.54-3
jbcs-httpd24-mod_security (Red Hat package) - addressed in versions 2.9.3-22.el7jbcs, 2.9.3-22.el8jbcs
EMC ECS - update to 3.7.0.3
IBM Aspera Orchestrator - update to 4.0.1.2b9681
Watson Studio on Cloud Pak for Data - addressed in versions 4.8.7, 5.1.0
App Connect Enterprise Certified Container - addressed in versions 5.0.1, 6.1.0
Communications Unified Assurance - update to 5.5.7
jbcs-httpd24-curl (Red Hat package) - addressed in versions 7.86.0-2.el7jbcs, 7.86.0-2.el8jbcs
Maximo Application Suite - IoT Component - addressed in versions 8.7.20, 8.8.16, 9.0.6
PowerScale OneFS - addressed in versions 9.1.0.28, 9.2.1.22, 9.4.0.13, 9.5.0.1

External References

Related Security Bulletins