CVE-2021-40438: mod_proxy SSRF

Published Sep 16, 2021
·
Updated

A crafted request uri-path can cause modproxy to forward the request to an origin server choosen by the remote user. This issue affects Apache HTTP Server 2.4.48 and earlier.

Other sources

A Server-Side Request Forgery (SSRF) flaw was found in modproxy of httpd. This flaw allows a remote, unauthenticated attacker to make the httpd server forward requests to an arbitrary server. The attacker could get, modify, or delete resources on other services that may be behind a firewall and inaccessible otherwise. The impact of this flaw varies based on what services and resources are available on the httpd network.

Affected Software

100 affected componentsFixes available
redhat/jbcs-httpd24-httpd<0:2.4.37-76.el8
0:2.4.37-76.el8
redhat/jbcs-httpd24-httpd<0:2.4.37-76.jbcs.el7
0:2.4.37-76.jbcs.el7
redhat/httpd<0:2.4.6-97.el7_9.1
0:2.4.6-97.el7_9.1
redhat/httpd<0:2.4.6-40.el7_2.7
0:2.4.6-40.el7_2.7
redhat/httpd<0:2.4.6-45.el7_3.6
0:2.4.6-45.el7_3.6
redhat/httpd<0:2.4.6-67.el7_4.7
0:2.4.6-67.el7_4.7
redhat/httpd<0:2.4.6-89.el7_6.2
0:2.4.6-89.el7_6.2
redhat/httpd<0:2.4.6-90.el7_7.1
0:2.4.6-90.el7_7.1
redhat/httpd24-httpd<0:2.4.34-22.el7.1
0:2.4.34-22.el7.1
debian/apache2
2.4.38-3+deb10u82.4.38-3+deb10u102.4.56-1~deb11u22.4.56-1~deb11u12.4.57-22.4.57-32.4.58-1
redhat/httpd<2.4.49
2.4.49
Apache Apache
Apache HTTP Server<=2.4.48
Fedoraproject Fedora=34
Fedoraproject Fedora=35
Debian Debian Linux=9.0
Debian Debian Linux=10.0
Debian Debian Linux=11.0
NetApp Cloud Backup
NetApp Clustered Data ONTAP
NetApp Storagegrid
F5 F5os>=1.1.0<=1.1.4
F5 F5os>=1.2.0<=1.2.1
Oracle Enterprise Manager Ops Center=12.4.0.0
Oracle HTTP Server=12.2.1.3.0
Oracle HTTP Server=12.2.1.4.0
Oracle Instantis Enterprisetrack=17.1
Oracle Instantis Enterprisetrack=17.2
Oracle Instantis Enterprisetrack=17.3
Oracle Secure Global Desktop=5.6
Oracle ZFS Storage Appliance Kit=8.8
Siemens SINEC NMS
Siemens SINEMA Server=14.0
Resf Rocky Linux=8.0
All of the following
redhat JBoss Core Services=1.0
Any of the following
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
All of the following
redhat Software Collections=1.0
Any of the following
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Workstation=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux Eus=8.1
redhat Enterprise Linux Eus=8.2
redhat Enterprise Linux Eus=8.4
redhat Enterprise Linux Eus=8.6
redhat Enterprise Linux Eus=8.8
redhat Enterprise Linux For Arm 64=8.0
redhat Enterprise Linux For Arm 64 Eus=8.6
redhat Enterprise Linux For Arm 64 Eus=8.8
redhat Enterprise Linux For Ibm Z Systems=7.0_s390x
redhat Enterprise Linux For Ibm Z Systems=8.0
redhat Enterprise Linux For Ibm Z Systems Eus=8.1
redhat Enterprise Linux For Ibm Z Systems Eus=8.4
redhat Enterprise Linux For Ibm Z Systems Eus=8.8
redhat Enterprise Linux For Ibm Z Systems Eus S390x=8.2
redhat Enterprise Linux For Power Big Endian=7.0
redhat Enterprise Linux For Power Little Endian=7.0
redhat Enterprise Linux For Power Little Endian=8.0
redhat Enterprise Linux For Power Little Endian Eus=8.1
redhat Enterprise Linux For Power Little Endian Eus=8.2
redhat Enterprise Linux For Power Little Endian Eus=8.4
redhat Enterprise Linux For Power Little Endian Eus=8.6
redhat Enterprise Linux For Power Little Endian Eus=8.8
redhat Enterprise Linux For Scientific Computing=7.0
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.2
redhat Enterprise Linux Server Aus=7.3
redhat Enterprise Linux Server Aus=7.4
redhat Enterprise Linux Server Aus=7.6
redhat Enterprise Linux Server Aus=7.7
redhat Enterprise Linux Server Aus=8.2
redhat Enterprise Linux Server Aus=8.4
redhat Enterprise Linux Server Aus=8.6
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=7.6
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=7.7
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.1
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.2
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.4
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.6
redhat Enterprise Linux Server For Power Little Endian Update Services For Sap Solutions=8.8
redhat Enterprise Linux Server Tus=7.6
redhat Enterprise Linux Server Tus=7.7
redhat Enterprise Linux Server Tus=8.2
redhat Enterprise Linux Server Tus=8.4
redhat Enterprise Linux Server Tus=8.6
redhat Enterprise Linux Server Tus=8.8
redhat Enterprise Linux Server Update Services For Sap Solutions=7.6
redhat Enterprise Linux Server Update Services For Sap Solutions=7.7
redhat Enterprise Linux Update Services For Sap Solutions=8.1
redhat Enterprise Linux Update Services For Sap Solutions=8.2
redhat Enterprise Linux Update Services For Sap Solutions=8.4
redhat Enterprise Linux Update Services For Sap Solutions=8.6
redhat Enterprise Linux Update Services For Sap Solutions=8.8
redhat Enterprise Linux Workstation=7.0
Broadcom Brocade Fabric Operating System Firmware
Siemens Ruggedcom Nms
Siemens SINEC NMS<1.0.3
Siemens SINEMA Remote Connect Server<3.1
Siemens SINEMA Remote Connect Server=3.2
Tenable Tenable.Sc<=5.19.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/jbcs-httpd24-httpd to a version that resolves this vulnerability.

    Fixed in 0:2.4.37-76.el8
  2. Upgrade

    Upgrade redhat/jbcs-httpd24-httpd to a version that resolves this vulnerability.

    Fixed in 0:2.4.37-76.jbcs.el7
  3. Upgrade

    Upgrade redhat/httpd to a version that resolves this vulnerability.

    Fixed in 0:2.4.6-97.el7_9.1
  4. Upgrade

    Upgrade redhat/httpd to a version that resolves this vulnerability.

    Fixed in 0:2.4.6-40.el7_2.7
  5. Upgrade

    Upgrade redhat/httpd to a version that resolves this vulnerability.

    Fixed in 0:2.4.6-45.el7_3.6
  6. Upgrade

    Upgrade redhat/httpd to a version that resolves this vulnerability.

    Fixed in 0:2.4.6-67.el7_4.7
  7. Upgrade

    Upgrade redhat/httpd to a version that resolves this vulnerability.

    Fixed in 0:2.4.6-89.el7_6.2
  8. Upgrade

    Upgrade redhat/httpd to a version that resolves this vulnerability.

    Fixed in 0:2.4.6-90.el7_7.1
  9. Upgrade

    Upgrade redhat/httpd24-httpd to a version that resolves this vulnerability.

    Fixed in 0:2.4.34-22.el7.1
  10. Upgrade

    Upgrade debian/apache2 to a version that resolves this vulnerability.

    Fixed in 2.4.38-3+deb10u8Fixed in 2.4.38-3+deb10u10Fixed in 2.4.56-1~deb11u2Fixed in 2.4.56-1~deb11u1Fixed in 2.4.57-2Fixed in 2.4.57-3Fixed in 2.4.58-1
  11. Upgrade

    Upgrade redhat/httpd to a version that resolves this vulnerability.

    Fixed in 2.4.49
  12. Upgrade

    Upgrade Apache HTTP Server (httpd) mod_proxy to a version that resolves this vulnerability.

    Fixed in 2.4.49

Event History

Sep 16, 2021
CVE Published
12:00 AM
CVE Published
via MITRE·02:40 PM
Data Sourced
via MITRE·02:40 PM
DescriptionWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·08:17 PM
DescriptionSeverityAffected Software
Dec 1, 2021
Known Exploited
via CISA·12:00 AM
Known Ransomware
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-40438?

CVE-2021-40438 is a Server-Side Request Forgery (SSRF) vulnerability found in Apache HTTP Server (httpd) that allows a remote attacker to make the server forward requests to an arbitrary server.

2

How severe is CVE-2021-40438?

CVE-2021-40438 has a severity level of critical, with a CVSS score of 9.0.

3

Which software versions are affected by CVE-2021-40438?

CVE-2021-40438 affects Apache HTTP Server (httpd) versions up to and including 2.4.49.

4

How can I fix CVE-2021-40438?

To fix CVE-2021-40438, upgrade to Apache HTTP Server (httpd) version 2.4.49 or apply the recommended patches provided by your software vendor.

5

Where can I find more information about CVE-2021-40438?

You can find more information about CVE-2021-40438 on the Apache HTTP Server security vulnerabilities page and the Red Hat Bugzilla page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203