Server-Side Request Forgery (SSRF) in Apache HTTP Server - CVE-2021-44224

 

Server-Side Request Forgery (SSRF) in Apache HTTP Server - CVE-2021-44224

Published: December 20, 2021 / Updated: January 12, 2022


Vulnerability identifier: #VU59057
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:L/SI:N/SA:N]
CVE-ID: CVE-2021-44224
CWE-ID: CWE-918
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The disclosed vulnerability allows a remote attacker to perform SSRF attacks.

The vulnerability exists due to insufficient validation of user-supplied input in forward proxy configurations. A remote attacker can send a specially crafted HTTP request and trick the web server to initiate requests to arbitrary systems or cause NULL pointer dereference error and crash the web server.

Successful exploitation of this vulnerability may allow a remote attacker gain access to sensitive data, located in the local network or send malicious requests to other servers from the vulnerable system.

SSRF if possible for configuration that mix forward and reverse proxy.


Affected software

Apache HTTP Server
Amazon Linux AMI
SUSE Linux Enterprise Server 15 SP4
Gentoo Linux
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise High Performance Computing 15
SUSE CaaS Platform
SUSE Enterprise Storage
Anolis OS
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for Power, little endian
SUSE OpenStack Cloud
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for x86_64
HPE Helion Openstack
SUSE OpenStack Cloud Crowbar
macOS
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Software Development Kit
Slackware Linux
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Server Applications
SUSE Linux Enterprise Module for Basesystem
openSUSE Leap
openEuler
Fedora
Tenable.sc
jbcs-httpd24-openssl-pkcs11 (Red Hat package)
jbcs-httpd24-openssl-chil (Red Hat package)
jbcs-httpd24-brotli (Red Hat package)
jbcs-httpd24-apr-util (Red Hat package)
jbcs-httpd24-apr (Red Hat package)
jbcs-httpd24-mod_http2 (Red Hat package)
jbcs-httpd24-nghttp2 (Red Hat package)
jbcs-httpd24-mod_md (Red Hat package)
apache2 (Debian package)
httpd24-httpd (Red Hat package)
jbcs-httpd24-httpd (Red Hat package)
jbcs-httpd24-mod_security (Red Hat package)
jbcs-httpd24-jansson (Red Hat package)
jbcs-httpd24-curl (Red Hat package)
SUSE Linux Enterprise Module for Packagehub Subpackages
jbcs-httpd24-mod_proxy_cluster (Red Hat package)
mod_http2
mod_md
apache2-prefork
apache2-utils
apache2-utils-debuginfo
apache2-prefork-debuginfo
apache2-worker
apache2-doc
apache2
apache2-debuginfo
apache2-example-pages
apache2-debugsource
apache2-worker-debuginfo
apache2-bin (Ubuntu package)
apache2 (Ubuntu package)
apache2-devel
httpd-manual
httpd-filesystem
mod_ssl
mod_session
mod_proxy_html
mod_ldap
httpd-tools
httpd-devel
httpd
httpd-help
httpd-debugsource
httpd-debuginfo
apache2-event-debuginfo
apache2-event
app-admin/apache-tools
www-servers/apache
IBM Security SiteProtector System
Dell Secure Connect Gateway
Oracle HTTP Server
IBM Power Hardware Management Console (HMC)
Traffix SDC
JBoss Core Services
EMC ECS
Maximo Application Suite - IoT Component
IBM Hardware Management Console
Gaia

How to mitigate CVE-2021-44224

Install updates from vendor's website.

Apache HTTP Server - update to 2.4.52
Tenable.sc - addressed in versions Patch 202201.1, 5.20.0
jbcs-httpd24-openssl-pkcs11 (Red Hat package) - addressed in versions 0.4.10-31.el7jbcs, 0.4.10-31.el8jbcs
jbcs-httpd24-openssl-chil (Red Hat package) - addressed in versions 1.0.0-16.el7jbcs, 1.0.0-16.el8jbcs
jbcs-httpd24-brotli (Red Hat package) - addressed in versions 1.0.9-2.el7jbcs, 1.0.9-2.el8jbcs
jbcs-httpd24-apr-util (Red Hat package) - addressed in versions 1.6.1-98.el7jbcs, 1.6.1-98.el8jbcs
jbcs-httpd24-apr (Red Hat package) - addressed in versions 1.7.0-6.el7jbcs, 1.7.0-6.el8jbcs
jbcs-httpd24-mod_http2 (Red Hat package) - addressed in versions 1.15.19-17.el7jbcs, 1.15.19-17.el8jbcs
jbcs-httpd24-nghttp2 (Red Hat package) - addressed in versions 1.43.0-10.el7jbcs, 1.43.0-10.el8jbcs
jbcs-httpd24-mod_md (Red Hat package) - addressed in versions 2.4.0-15.el7jbcs, 2.4.0-15.el8jbcs
apache2 (Debian package) - addressed in versions 2.4.38-3+deb10u7, 2.4.52-1~deb11u2
httpd24-httpd (Red Hat package) - update to 2.4.34-23.el7.5
jbcs-httpd24-httpd (Red Hat package) - addressed in versions 2.4.51-28.el7jbcs, 2.4.51-28.el8jbcs
jbcs-httpd24-mod_security (Red Hat package) - addressed in versions 2.9.3-19.el7jbcs, 2.9.3-19.el8jbcs
jbcs-httpd24-jansson (Red Hat package) - addressed in versions 2.14-1.el7jbcs, 2.14-1.el8jbcs
IBM Security SiteProtector System - update to 3.1.1.18
Dell Secure Connect Gateway - update to 5.12.00.10
jbcs-httpd24-curl (Red Hat package) - addressed in versions 7.83.1-6.el7jbcs, 7.83.1-6.el8jbcs
macOS - addressed in versions 10.15.7 19H1922, 11.6.6 20G624, 12.4 21F79
jbcs-httpd24-mod_proxy_cluster (Red Hat package) - addressed in versions 1.3.17-9.el7jbcs, 1.3.17-9.el8jbcs
mod_http2 - update to 1.15.7-5
mod_md - update to 2.0.8-8
apache2-prefork - addressed in versions 2.4.23-29.83.1, 2.4.33-3.61.1, 2.4.51-3.37.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
apache2-utils - addressed in versions 2.4.23-29.83.1, 2.4.33-3.61.1, 2.4.51-3.37.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
apache2-utils-debuginfo - addressed in versions 2.4.23-29.83.1, 2.4.33-3.61.1, 2.4.51-3.37.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
apache2-prefork-debuginfo - addressed in versions 2.4.23-29.83.1, 2.4.33-3.61.1, 2.4.51-3.37.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
apache2-worker - addressed in versions 2.4.23-29.83.1, 2.4.33-3.61.1, 2.4.51-3.37.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
apache2-doc - addressed in versions 2.4.23-29.83.1, 2.4.33-3.61.1, 2.4.51-3.37.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
apache2 - addressed in versions 2.4.23-29.83.1, 2.4.33-3.61.1, 2.4.51-3.37.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
apache2-debuginfo - addressed in versions 2.4.23-29.83.1, 2.4.33-3.61.1, 2.4.51-3.37.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
apache2-example-pages - addressed in versions 2.4.23-29.83.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
apache2-debugsource - addressed in versions 2.4.23-29.83.1, 2.4.33-3.61.1, 2.4.51-3.37.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
apache2-worker-debuginfo - addressed in versions 2.4.23-29.83.1, 2.4.33-3.61.1, 2.4.51-3.37.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
apache2-bin (Ubuntu package) - addressed in versions 2.4.29-1ubuntu4.21, 2.4.41-4ubuntu3.9, 2.4.46-4ubuntu1.5, 2.4.48-3.1ubuntu3.2, 2.4.182ubuntu3.17+esm4
apache2 (Ubuntu package) - addressed in versions 2.4.29-1ubuntu4.21, 2.4.41-4ubuntu3.9, 2.4.46-4ubuntu1.5, 2.4.48-3.1ubuntu3.2, 2.4.182ubuntu3.17+esm4
apache2-devel - addressed in versions 2.4.33-3.61.1, 2.4.51-3.37.1, 2.4.51-35.7.1, 2.4.66-150400.6.57.1
httpd-manual - update to 2.4.37-47.0.1
httpd-filesystem - update to 2.4.37-47.0.1
mod_ssl - update to 2.4.37-47.0.1
mod_session - update to 2.4.37-47.0.1
mod_proxy_html - update to 2.4.37-47.0.1
mod_ldap - update to 2.4.37-47.0.1
httpd-tools - update to 2.4.37-47.0.1
httpd-devel - update to 2.4.37-47.0.1
httpd - update to 2.4.37-47.0.1
mod_ldap - update to 2.4.43-12
httpd-help - update to 2.4.43-12
httpd-filesystem - update to 2.4.43-12
httpd-tools - update to 2.4.43-12
httpd - update to 2.4.43-12
httpd-devel - update to 2.4.43-12
mod_md - update to 2.4.43-12
httpd-debugsource - update to 2.4.43-12
mod_ssl - update to 2.4.43-12
mod_session - update to 2.4.43-12
httpd-debuginfo - update to 2.4.43-12
mod_proxy_html - update to 2.4.43-12
JBoss Core Services - update to 2.4.51
apache2-event-debuginfo - addressed in versions 2.4.51-3.37.1, 2.4.66-150400.6.57.1
apache2-event - addressed in versions 2.4.51-3.37.1, 2.4.66-150400.6.57.1
httpd - addressed in versions 2.4.52-1.fc35, 2.4.53-1.fc34, 2.4.53-1.fc35, 2.4.53-1.fc36
app-admin/apache-tools - update to 2.4.54
www-servers/apache - update to 2.4.54
httpd - update to 2.4.54-3
EMC ECS - update to 3.7.0.2
Maximo Application Suite - IoT Component - addressed in versions 8.7.20, 8.8.16, 9.0.6
IBM Hardware Management Console - addressed in versions 9.2.950.0 SP3 ppc, 10.1.1020.0 SP1 ppc, 10.1.1020.0 SP1 x86
IBM Power Hardware Management Console (HMC) - addressed in versions 9.2.950.0 SP3, 10.1.1020.0 SP1
Gaia - update to R81.10 Take 55

External References

Related Security Bulletins