CVE-2020-11985 Security feature bypass in Apache HTTP Server
Attackers can spoof IP addresses in logs and PHP scripts when using mod_remoteip with specific mod_rewrite rules, bypassing IP-based security controls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-11985?
CVE-2020-11985 is a medium-severity vulnerability in Apache Http Server, published on 7 Aug 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
IP address spoofing when proxying using mod_remoteip and mod_rewrite For configurations using proxying with mod_remoteip and certain mod_rewrite rules, an attacker could spoof their IP address for logging and PHP scripts. Note this issue was fixed in Apache HTTP Server 2.4.24 but was retrospectively allocated a low severity CVE in 2020.
Weakness: CWE-345
Which versions are affected by CVE-2020-11985?
1 open source package ship an affected version, including apache. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
apache Bitnami | From 2.4.1 | 2.4.24 |
Linux distribution packages (36)
httpd Red Hat:enterprise_linux:7::client | All versions | 0:2.4.6-40.el7 |
httpd-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:2.4.6-40.el7 |
httpd-devel Red Hat:enterprise_linux:7::client | All versions | 0:2.4.6-40.el7 |
httpd-manual Red Hat:enterprise_linux:7::client | All versions | 0:2.4.6-40.el7 |
httpd-tools Red Hat:enterprise_linux:7::client | All versions | 0:2.4.6-40.el7 |
mod_ldap Red Hat:enterprise_linux:7::client | All versions | 0:2.4.6-40.el7 |
mod_proxy_html Red Hat:enterprise_linux:7::client | All versions | 1:2.4.6-40.el7 |
mod_session Red Hat:enterprise_linux:7::client | All versions | 0:2.4.6-40.el7 |
mod_ssl Red Hat:enterprise_linux:7::client | All versions | 1:2.4.6-40.el7 |
httpd Red Hat:enterprise_linux:7::computenode | All versions | 0:2.4.6-40.el7 |
httpd-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:2.4.6-40.el7 |
httpd-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:2.4.6-40.el7 |
httpd-manual Red Hat:enterprise_linux:7::computenode | All versions | 0:2.4.6-40.el7 |
httpd-tools Red Hat:enterprise_linux:7::computenode | All versions | 0:2.4.6-40.el7 |
mod_ldap Red Hat:enterprise_linux:7::computenode | All versions | 0:2.4.6-40.el7 |
mod_proxy_html Red Hat:enterprise_linux:7::computenode | All versions | 1:2.4.6-40.el7 |
mod_session Red Hat:enterprise_linux:7::computenode | All versions | 0:2.4.6-40.el7 |
mod_ssl Red Hat:enterprise_linux:7::computenode | All versions | 1:2.4.6-40.el7 |
httpd Red Hat:enterprise_linux:7::server | All versions | 0:2.4.6-40.el7 |
httpd-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:2.4.6-40.el7 |
httpd-devel Red Hat:enterprise_linux:7::server | All versions | 0:2.4.6-40.el7 |
httpd-manual Red Hat:enterprise_linux:7::server | All versions | 0:2.4.6-40.el7 |
httpd-tools Red Hat:enterprise_linux:7::server | All versions | 0:2.4.6-40.el7 |
mod_ldap Red Hat:enterprise_linux:7::server | All versions | 0:2.4.6-40.el7 |
mod_proxy_html Red Hat:enterprise_linux:7::server | All versions | 1:2.4.6-40.el7 |
mod_session Red Hat:enterprise_linux:7::server | All versions | 0:2.4.6-40.el7 |
mod_ssl Red Hat:enterprise_linux:7::server | All versions | 1:2.4.6-40.el7 |
httpd Red Hat:enterprise_linux:7::workstation | All versions | 0:2.4.6-40.el7 |
httpd-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:2.4.6-40.el7 |
httpd-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:2.4.6-40.el7 |
httpd-manual Red Hat:enterprise_linux:7::workstation | All versions | 0:2.4.6-40.el7 |
httpd-tools Red Hat:enterprise_linux:7::workstation | All versions | 0:2.4.6-40.el7 |
mod_ldap Red Hat:enterprise_linux:7::workstation | All versions | 0:2.4.6-40.el7 |
mod_proxy_html Red Hat:enterprise_linux:7::workstation | All versions | 1:2.4.6-40.el7 |
mod_session Red Hat:enterprise_linux:7::workstation | All versions | 0:2.4.6-40.el7 |
mod_ssl Red Hat:enterprise_linux:7::workstation | All versions | 1:2.4.6-40.el7 |
Products include Apache Http Server.
How do I fix CVE-2020-11985?
Upgrade apache to 2.4.24 or later.
Is CVE-2020-11985 being exploited?
There is no known exploitation of CVE-2020-11985 in the wild and no public exploit code.
Other vulnerabilities in Apache Http Server
Sources
Also known as BIT-apache-2020-11985, DEBIAN-CVE-2020-11985, GHSA-39vm-h38v-j867, RHBA-2015:2194, UBUNTU-CVE-2020-11985.