Skip to content
OpenAdvisories
Critical · 9.0 Known exploited · Ransomware Scanner template Public exploit CVE-2021-40438 EUVD-2021-27615GHSA-rwxq-58vm-3v2j

mod_proxy SSRF

Published Sep 16, 2021 · Updated Aug 6, 2026 · Assigned by apache

Description

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

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache HTTP Server Apache HTTP Server 2.4 – ≤ 2.4.48 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 apache2 2.4.49-1 —
Debian 13 apache2 2.4.49-1 —
Debian 12 apache2 2.4.49-1 —
Debian 11 apache2 2.4.51-1~deb11u1 DSA-4982-1
Debian 10 apache2 2.4.38-3+deb10u6 DSA-4982-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 9 apache2 2.4.25-3+deb9u11 DLA-2776-1
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS apache2 2.4.41-4ubuntu3.6 USN-5090-1
Ubuntu 18.04 LTS apache2 2.4.29-1ubuntu4.18 USN-5090-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS apache2 2.4.18-2ubuntu3.17+esm3 USN-5090-2
Ubuntu Pro 14.04 LTS apache2 2.4.7-1ubuntu4.22+esm2 USN-5090-2
ReleasePackageFixed inAdvisory
RHEL 8 httpd +6 2.4.37-39.module+el8.4.0+12865+a7065a39.1 RHSA-2021:3816
RHEL 8 mod_http2 1.15.7-3.module+el8.4.0+8625+d397f3da RHSA-2021:3816
RHEL 8 mod_md 1:2.0.8-8.module+el8.3.0+6814+67d1e611 RHSA-2021:3816
RHEL 8 mod_ssl +1 1:2.4.37-39.module+el8.4.0+12865+a7065a39.1 RHSA-2021:3816
RHEL 7 httpd +5 2.4.6-97.el7_9.1 RHSA-2021:3856
RHEL 7 mod_ssl +1 1:2.4.6-97.el7_9.1 RHSA-2021:3856
RHEL 3 httpd24-httpd +5 2.4.34-22.el7.1 RHSA-2021:3754
RHEL 3 httpd24-mod_ssl +1 1:2.4.34-22.el7.1 RHSA-2021:3754
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.2 EUS httpd +6 2.4.37-21.module+el8.2.0+12904+53ee7aba.1 RHSA-2021:3836
RHEL 8.2 EUS mod_http2 1.11.3-3.module+el8.2.0+7758+84b4ca3e.1 RHSA-2021:3836
RHEL 8.2 EUS mod_md 1:2.0.8-7.module+el8.2.0+5531+7e4d69a2 RHSA-2021:3836
RHEL 8.2 EUS mod_ssl +1 1:2.4.37-21.module+el8.2.0+12904+53ee7aba.1 RHSA-2021:3836
RHEL 8.1 EUS httpd +7 2.4.37-16.module+el8.1.0+12900+7e6e5641.1 RHSA-2021:3837
RHEL 8.1 EUS mod_http2 1.11.3-3.module+el8.1.0+7763+babdfe5b.1 RHSA-2021:3837
RHEL 8.1 EUS mod_ssl +1 1:2.4.37-16.module+el8.1.0+12900+7e6e5641.1 RHSA-2021:3837
RHEL 7.7 TUS httpd +5 2.4.6-90.el7_7.1 RHSA-2021:3856
RHEL 7.7 TUS mod_ssl +1 1:2.4.6-90.el7_7.1 RHSA-2021:3856
RHEL 7.7 E4S httpd +5 2.4.6-90.el7_7.1 RHSA-2021:3856
RHEL 7.7 E4S mod_ssl +1 1:2.4.6-90.el7_7.1 RHSA-2021:3856
RHEL 7.7 AUS httpd +5 2.4.6-90.el7_7.1 RHSA-2021:3856
RHEL 7.7 AUS mod_ssl +1 1:2.4.6-90.el7_7.1 RHSA-2021:3856
RHEL 7.6 TUS httpd +5 2.4.6-89.el7_6.2 RHSA-2021:3856
RHEL 7.6 TUS mod_ssl +1 1:2.4.6-89.el7_6.2 RHSA-2021:3856
RHEL 7.6 E4S httpd +5 2.4.6-89.el7_6.2 RHSA-2021:3856
RHEL 7.6 E4S mod_ssl +1 1:2.4.6-89.el7_6.2 RHSA-2021:3856
RHEL 7.6 AUS httpd +5 2.4.6-89.el7_6.2 RHSA-2021:3856
RHEL 7.6 AUS mod_ssl +1 1:2.4.6-89.el7_6.2 RHSA-2021:3856
RHEL 7.4 AUS httpd +5 2.4.6-67.el7_4.7 RHSA-2021:3856
RHEL 7.4 AUS mod_ssl +1 1:2.4.6-67.el7_4.7 RHSA-2021:3856
RHEL 7.3 AUS httpd +5 2.4.6-45.el7_3.6 RHSA-2021:3856
RHEL 7.3 AUS mod_ssl +1 1:2.4.6-45.el7_3.6 RHSA-2021:3856
RHEL 7.2 AUS httpd +5 2.4.6-40.el7_2.7 RHSA-2021:3856
RHEL 7.2 AUS mod_ssl +1 1:2.4.6-40.el7_2.7 RHSA-2021:3856
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.37-76.el8jbcs RHSA-2021:3746
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_cluster-native 1.3.16-7.Final_redhat_2.el8jbcs RHSA-2021:3746
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_http2 1.15.7-19.el8jbcs RHSA-2021:3746
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_jk +2 1.2.48-18.redhat_1.el8jbcs RHSA-2021:3746
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_md 1:2.0.8-38.el8jbcs RHSA-2021:3746
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_security 2.9.2-65.GA.el8jbcs RHSA-2021:3746
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.37-76.el8jbcs RHSA-2021:3746

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 httpd +6 2.4.37-43.module_el8.5.0+2597+c4b14997.alma ALSA-2021:4537
AlmaLinux 8 mod_http2 1.15.7-3.module_el8.5.0+2609+b30d9eec ALSA-2021:4537, ALSA-2021:3816, ALBA-2021:4604
AlmaLinux 8 mod_md 1:2.0.8-8.module_el8.5.0+2609+b30d9eec ALSA-2021:4537, ALSA-2021:3816, ALBA-2021:4604
AlmaLinux 8 mod_ssl +1 1:2.4.37-43.module_el8.5.0+2597+c4b14997.alma ALSA-2021:4537

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 httpd 2.4.37-39.module+el8.4.0+571+fd70afb1 RLSA-2021:3816
Rocky Linux 8 mod_http2 1.15.7-3.module+el8.4.0+553+7a69454b RLSA-2021:3816
Rocky Linux 8 mod_md 1:2.0.8-8.module+el8.4.0+553+7a69454b RLSA-2021:3816
ReleasePackageFixed inAdvisory
SLES 15 SP3 apache2 2.4.43-3.32.1 SUSE-SU-2021:3522-1
SLES 15 SP2 apache2 2.4.43-3.32.1 SUSE-SU-2021:3522-1
SLES 15 SP1 apache2 2.4.33-3.55.1 SUSE-SU-2021:3335-1
SLES 15 apache2 2.4.33-3.55.1 SUSE-SU-2021:3335-1
SLES 12 SP5 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
Show 16 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
SLES 12 SP3 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
SLES 12 SP2 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
SLES for SAP 15 SP1 apache2 2.4.33-3.55.1 SUSE-SU-2021:3335-1
SLES for SAP 15 apache2 2.4.33-3.55.1 SUSE-SU-2021:3335-1
SLES for SAP 12 SP5 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
SLES for SAP 12 SP4 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
SLES for SAP 12 SP3 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
SLE HPC 15 SP1 apache2 2.4.33-3.55.1 SUSE-SU-2021:3335-1
SLE HPC 15 apache2 2.4.33-3.55.1 SUSE-SU-2021:3335-1
SUSE OpenStack Cloud Crowbar 9 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
SUSE OpenStack Cloud Crowbar 8 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
SUSE OpenStack Cloud 9 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
SUSE OpenStack Cloud 8 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
SUSE HPE Helion OpenStack 8 apache2 2.4.23-29.80.1 SUSE-SU-2021:3299-1
SUSE Enterprise Storage 6 apache2 2.4.33-3.55.1 SUSE-SU-2021:3335-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed owasp-modsecurity-crs 4.9.0-1.1 openSUSE-SU-2025:14708-1
openSUSE Leap 15.3 apache2 2.4.43-3.32.1 openSUSE-SU-2021:3522-1
openSUSE Leap 15.2 apache2 2.4.43-lp152.2.21.1 openSUSE-SU-2021:1438-1
ReleasePackageFixed inAdvisory
Alpine v3.24 apache2 2.4.49-r0 —
Alpine v3.23 apache2 2.4.49-r0 —
Alpine v3.22 apache2 2.4.49-r0 —
Alpine v3.21 apache2 2.4.49-r0 —
Alpine v3.20 apache2 2.4.49-r0 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 apache2 2.4.49-r0 —
Alpine v3.18 apache2 2.4.49-r0 —
Alpine v3.17 apache2 2.4.49-r0 —
Alpine v3.16 apache2 2.4.49-r0 —
Alpine v3.15 apache2 2.4.49-r0 —
Alpine v3.14 apache2 2.4.49-r0 —
Alpine v3.13 apache2 2.4.49-r0 —
Alpine v3.12 apache2 2.4.49-r0 —
Alpine v3.11 apache2 2.4.49-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 httpd +7 2.4.51-1.amzn2 ALAS2-2021-1716
Amazon Linux 2 mod_ssl +1 1:2.4.51-1.amzn2 ALAS2-2021-1716

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) httpd 2.4.52-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 httpd +6 2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 ELSA-2021-3816
Oracle Linux 8 mod_http2 1.15.7-3.module+el8.4.0+20024+b87b2deb ELSA-2021-3816
Oracle Linux 8 mod_md 1:2.0.8-8.module+el8.3.0+7816+49791cfd ELSA-2021-3816
Oracle Linux 8 mod_ssl +1 1:2.4.37-39.0.1.module+el8.4.0+20372+b87b2deb.1 ELSA-2021-3816
Oracle Linux 7 httpd +5 2.4.6-97.0.1.el7_9.1 ELSA-2021-3856
Oracle Linux 7 mod_ssl +1 1:2.4.6-97.0.1.el7_9.1 ELSA-2021-3856

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 11 repositories · most starred shown

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Advisories 28

References