Cloudanix VulnDB

CVE-2017-3167

Critical · 9.8

CVSS

9.8

EPSS

20.2%

Published

Jun 20, 2017

CISA due date

—

Cloudanix analysis

Next patch cycle SSVC: Track

A bug in widely used web server software can let attackers skip login checks and reach areas that should be protected.

Chainable
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Privilege Gain
Component
Network Service
Class
Authentication Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Third-party modules calling ap_get_basic_auth_pw() outside the authentication phase can bypass configured authentication requirements on Apache httpd.

Why it matters to the business

Attackers may gain unauthorized access to protected web resources and data, increasing breach risk across any systems using the affected server software.

How an attack unfolds

An attacker identifies a vulnerable Apache httpd deployment and sends HTTP requests that trigger third-party modules to invoke the function outside its intended phase, thereby skipping authentication checks and reaching restricted content.

How to fix it

Upgrade Apache httpd to version 2.2.33 or 2.4.26 or later. Update mapproxy packages on Debian and Ubuntu to the listed fixed versions (1.10.4-1 or 1.11.0-1). Review all third-party modules to ensure they only call the function during authentication.

How to confirm the fix worked

Confirm the running httpd binary and module versions meet or exceed the fixed releases, then test that previously bypassable authentication-protected paths now enforce credentials.

Typical attack path

  1. Scan for publicly reachable Apache httpd instances running versions before 2.2.33 or 2.4.26
  2. Craft requests that invoke third-party modules using ap_get_basic_auth_pw() outside the authentication phase
  3. Bypass authentication and access protected resources or perform further actions

How to detect it

Examine web server access and error logs for successful requests to authenticated paths that lack corresponding authentication records or contain unusual user-agent or request patterns.

What your security team should do

  • Prioritize upgrade of all affected Apache httpd and mapproxy instances to the specified fixed versions
  • Audit custom and third-party modules for misuse of ap_get_basic_auth_pw() outside authentication
  • Implement compensating controls such as web application firewalls until patches are applied

The record

In Apache httpd 2.2.x before 2.2.33 and 2.4.x before 2.4.26, use of the ap_get_basic_auth_pw() by third-party modules outside of the authentication phase may lead to authentication requirements being bypassed.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.10 apache2 0 2.4.26-r0
Alpine:v3.11 apache2 0 2.4.26-r0
Alpine:v3.12 apache2 0 2.4.26-r0
Alpine:v3.13 apache2 0 2.4.26-r0
Alpine:v3.14 apache2 0 2.4.26-r0
Alpine:v3.15 apache2 0 2.4.26-r0
Alpine:v3.16 apache2 0 2.4.26-r0
Alpine:v3.17 apache2 0 2.4.26-r0
Alpine:v3.18 apache2 0 2.4.26-r0
Alpine:v3.19 apache2 0 2.4.26-r0
Alpine:v3.20 apache2 0 2.4.26-r0
Alpine:v3.21 apache2 0 2.4.26-r0
Alpine:v3.22 apache2 0 2.4.26-r0
Alpine:v3.3 apache2 0 2.4.26-r0
Alpine:v3.4 apache2 0 2.4.26-r0
Alpine:v3.5 apache2 0 2.4.26-r0
Alpine:v3.6 apache2 0 2.4.26-r0
Alpine:v3.7 apache2 0 2.4.26-r0
Alpine:v3.8 apache2 0 2.4.26-r0
Alpine:v3.9 apache2 0 2.4.26-r0
Debian:11 apache2 0 2.4.25-4
Debian:12 apache2 0 2.4.25-4
Debian:13 apache2 0 2.4.25-4
Debian:7 apache2 0 2.2.22-13+deb7u9
Debian:8 apache2 0 2.4.10-10+deb8u9
Debian:9 apache2 0 2.4.25-3+deb9u1
Mageia:5 apache 0 2.4.10-16.7.mga5
Red Hat:enterprise_linux:6::client httpd 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::client httpd-debuginfo 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::client httpd-devel 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::client httpd-manual 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::client httpd-tools 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::client mod_ssl 0 1:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::computenode httpd 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::computenode httpd-debuginfo 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::computenode httpd-devel 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::computenode httpd-manual 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::computenode httpd-tools 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::computenode mod_ssl 0 1:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::server httpd 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::server httpd-debuginfo 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::server httpd-devel 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::server httpd-manual 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::server httpd-tools 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::server mod_ssl 0 1:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::workstation httpd 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::workstation httpd-debuginfo 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::workstation httpd-devel 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::workstation httpd-manual 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::workstation httpd-tools 0 0:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:6::workstation mod_ssl 0 1:2.2.15-60.el6_9.5
Red Hat:enterprise_linux:7::client httpd 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client httpd-debuginfo 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client httpd-devel 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client httpd-manual 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client httpd-tools 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client mod_ldap 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client mod_proxy_html 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client mod_session 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::client mod_ssl 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode httpd 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode httpd-debuginfo 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode httpd-devel 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode httpd-manual 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode httpd-tools 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode mod_ldap 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode mod_proxy_html 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode mod_session 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::computenode mod_ssl 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server httpd 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server httpd-debuginfo 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server httpd-devel 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server httpd-manual 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server httpd-tools 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server mod_ldap 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server mod_proxy_html 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server mod_session 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::server mod_ssl 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation httpd 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation httpd-debuginfo 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation httpd-devel 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation httpd-manual 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation httpd-tools 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation mod_ldap 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation mod_proxy_html 0 1:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation mod_session 0 0:2.4.6-67.el7_4.2
Red Hat:enterprise_linux:7::workstation mod_ssl 0 1:2.4.6-67.el7_4.2
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-httpd 0 0:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-httpd-debuginfo 0 0:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-httpd-devel 0 0:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-httpd-libs 0 0:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-httpd-manual 0 0:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-httpd-selinux 0 0:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-httpd-tools 0 0:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-mod_bmx 0 0:0.9.6-15.GA.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-mod_bmx-debuginfo 0 0:0.9.6-15.GA.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-mod_cluster-native 0 0:1.3.8-1.Final_redhat_1.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-mod_cluster-native-debuginfo 0 0:1.3.8-1.Final_redhat_1.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-mod_ldap 0 0:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-mod_proxy_html 0 1:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-mod_session 0 0:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6 jbcs-httpd24-mod_ssl 0 1:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd 0 0:2.4.23-125.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-debuginfo 0 0:2.4.23-125.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-devel 0 0:2.4.23-125.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-libs 0 0:2.4.23-125.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-manual 0 0:2.4.23-125.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-selinux 0 0:2.4.23-125.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-httpd-tools 0 0:2.4.23-125.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_bmx 0 0:0.9.6-15.GA.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_bmx-debuginfo 0 0:0.9.6-15.GA.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_cluster-native 0 0:1.3.8-1.Final_redhat_1.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_cluster-native-debuginfo 0 0:1.3.8-1.Final_redhat_1.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_ldap 0 0:2.4.23-125.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_proxy_html 0 1:2.4.23-125.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_session 0 0:2.4.23-125.jbcs.el7
Red Hat:jboss_core_services:1::el7 jbcs-httpd24-mod_ssl 0 1:2.4.23-125.jbcs.el7
Red Hat:rhel_eus:6.7::computenode httpd 0 0:2.2.15-47.el6_7.5
Red Hat:rhel_eus:6.7::computenode httpd-debuginfo 0 0:2.2.15-47.el6_7.5
Red Hat:rhel_eus:6.7::computenode httpd-devel 0 0:2.2.15-47.el6_7.5
Red Hat:rhel_eus:6.7::computenode httpd-manual 0 0:2.2.15-47.el6_7.5
Red Hat:rhel_eus:6.7::computenode httpd-tools 0 0:2.2.15-47.el6_7.5
Red Hat:rhel_eus:6.7::computenode mod_ssl 0 1:2.2.15-47.el6_7.5
Red Hat:rhel_eus:6.7::server httpd 0 0:2.2.15-47.el6_7.5
Red Hat:rhel_eus:6.7::server httpd-debuginfo 0 0:2.2.15-47.el6_7.5
Red Hat:rhel_eus:6.7::server httpd-devel 0 0:2.2.15-47.el6_7.5
Red Hat:rhel_eus:6.7::server httpd-manual 0 0:2.2.15-47.el6_7.5
Red Hat:rhel_eus:6.7::server httpd-tools 0 0:2.2.15-47.el6_7.5
Red Hat:rhel_eus:6.7::server mod_ssl 0 1:2.2.15-47.el6_7.5
Red Hat:rhel_eus:7.2::computenode httpd 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode httpd-debuginfo 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode httpd-devel 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode httpd-manual 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode httpd-tools 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode mod_ldap 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode mod_proxy_html 0 1:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode mod_session 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::computenode mod_ssl 0 1:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server httpd 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server httpd-debuginfo 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server httpd-devel 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server httpd-manual 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server httpd-tools 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server mod_ldap 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server mod_proxy_html 0 1:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server mod_session 0 0:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.2::server mod_ssl 0 1:2.4.6-40.el7_2.6
Red Hat:rhel_eus:7.3::computenode httpd 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode httpd-debuginfo 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode httpd-devel 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode httpd-manual 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode httpd-tools 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode mod_ldap 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode mod_proxy_html 0 1:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode mod_session 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::computenode mod_ssl 0 1:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server httpd 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server httpd-debuginfo 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server httpd-devel 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server httpd-manual 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server httpd-tools 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server mod_ldap 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server mod_proxy_html 0 1:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server mod_session 0 0:2.4.6-45.el7_3.5
Red Hat:rhel_eus:7.3::server mod_ssl 0 1:2.4.6-45.el7_3.5
Red Hat:rhel_software_collections:2::el6 httpd24-httpd 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-httpd-debuginfo 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-httpd-devel 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-httpd-manual 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-httpd-tools 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-mod_ldap 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-mod_proxy_html 0 1:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-mod_session 0 0:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el6 httpd24-mod_ssl 0 1:2.4.25-9.el6.1
Red Hat:rhel_software_collections:2::el7 httpd24-httpd 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-httpd-debuginfo 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-httpd-devel 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-httpd-manual 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-httpd-tools 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-mod_ldap 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-mod_proxy_html 0 1:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-mod_session 0 0:2.4.25-9.el7.1
Red Hat:rhel_software_collections:2::el7 httpd24-mod_ssl 0 1:2.4.25-9.el7.1
SUSE:Linux Enterprise Point of Sale 11 SP3 apache2 0 2.2.34-70.12.1
SUSE:Linux Enterprise Server 11 SP3-LTSS apache2 0 2.2.34-70.12.1
SUSE:Linux Enterprise Server 11 SP3-TERADATA apache2 0 2.2.34-70.12.1
SUSE:Linux Enterprise Server 11 SP4 apache2 0 2.2.34-70.12.1
SUSE:Linux Enterprise Server 12 SP1-LTSS apache2 0 2.4.16-20.10.1
SUSE:Linux Enterprise Server 12 SP2 apache2 0 2.4.23-28.1
SUSE:Linux Enterprise Server 12-LTSS apache2 0 2.4.10-14.28.1
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 apache2 0 2.4.23-28.1
SUSE:Linux Enterprise Server for SAP Applications 11 SP4 apache2 0 2.2.34-70.12.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP1 apache2 0 2.4.16-20.10.1
SUSE:Linux Enterprise Server for SAP Applications 12 SP2 apache2 0 2.4.23-28.1
SUSE:Linux Enterprise Software Development Kit 11 SP4 apache2 0 2.2.34-70.12.1
SUSE:Linux Enterprise Software Development Kit 12 SP2 apache2 0 2.4.23-28.1
SUSE:OpenStack Cloud 6 apache2 0 2.4.16-20.10.1
SUSE:Studio Onsite 1.3 apache2 0 2.2.34-70.12.1
Ubuntu:14.04:LTS apache2 0 2.4.7-1ubuntu4.16
Ubuntu:16.04:LTS apache2 0 2.4.18-2ubuntu3.3

Related vulnerabilities