Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-9798 EUVD-2017-18719GHSA-jxf6-fx3m-8x2r

Apache httpd allows remote attackers to read secret data from process memory if the Limit directive can be set in a user's .htaccess file, …

Published Sep 18, 2017 · Updated Nov 4, 2025 · Assigned by apache

Description

Apache httpd allows remote attackers to read secret data from process memory if the Limit directive can be set in a user's .htaccess file, or if httpd.conf has certain misconfigurations, aka Optionsbleed. This affects the Apache HTTP Server through 2.2.34 and 2.4.x through 2.4.27. The attacker sends an unauthenticated OPTIONS HTTP request when attempting to read secret data. This is a use-after-free issue and thus secret data is not always sent, and the specific data depends on many factors including configuration. Exploitation with .htaccess can be blocked with a patch to the ap_limit_section function in server/core.c.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache HTTP Server Apache HTTP Server through 2.2.34 and 2.4.x through 2.4.27 —

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.27-6 —
Debian 13 apache2 2.4.27-6 —
Debian 12 apache2 2.4.27-6 —
Debian 9 apache2 2.4.25-3+deb9u3 DSA-3980-1
Debian 8 apache2 2.4.10-10+deb8u11 DSA-3980-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 apache2 2.2.22-13+deb7u12 DLA-1102-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS apache2 2.4.18-2ubuntu3.5 USN-3425-1
Ubuntu 14.04 LTS apache2 2.4.7-1ubuntu4.18 USN-3425-1
ReleasePackageFixed inAdvisory
RHEL 7 httpd +5 2.4.6-67.el7_4.5 RHSA-2017:2882
RHEL 7 mod_ssl +1 1:2.4.6-67.el7_4.5 RHSA-2017:2882
RHEL 6 httpd +3 2.2.15-60.el6_9.6 RHSA-2017:2972
RHEL 6 mod_ssl 1:2.2.15-60.el6_9.6 RHSA-2017:2972
RHEL 3 httpd24 +2 1.1-18.el6 RHSA-2017:3018
RHEL 3 httpd24-curl +2 7.47.1-4.el7 RHSA-2017:3018
RHEL 3 httpd24-httpd +5 2.4.27-8.el6 RHSA-2017:3018
RHEL 3 httpd24-mod_auth_kerb 5.4-33.el7 RHSA-2017:3018
RHEL 3 httpd24-mod_ssl +1 1:2.4.27-8.el6 RHSA-2017:3018
RHEL 3 httpd24-nghttp2 +2 1.7.1-6.el7 RHSA-2017:3018
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7.3 EUS httpd +5 2.4.6-45.el7_3.5 RHSA-2017:3194
RHEL 7.3 EUS mod_ssl +1 1:2.4.6-45.el7_3.5 RHSA-2017:3194
RHEL 7.2 EUS httpd +5 2.4.6-40.el7_2.6 RHSA-2017:3193
RHEL 7.2 EUS mod_ssl +1 1:2.4.6-40.el7_2.6 RHSA-2017:3193
RHEL 6.7 EUS httpd +3 2.2.15-47.el6_7.5 RHSA-2017:3195
RHEL 6.7 EUS mod_ssl 1:2.2.15-47.el6_7.5 RHSA-2017:3195
Red Hat JBoss Web Server 2 httpd +4 2.2.26-57.ep6.el6 RHSA-2017:3113
Red Hat JBoss Web Server 2 httpd22 +4 2.2.26-58.ep6.el7 RHSA-2017:3113
Red Hat JBoss Web Server 2 jbcs-httpd24-openssl +4 1:1.0.2h-14.jbcs.el6 RHSA-2017:3113
Red Hat JBoss Web Server 2 mod_cluster-native 1.2.13-9.Final_redhat_2.ep6.el6 RHSA-2017:3113
Red Hat JBoss Web Server 2 mod_ssl 1:2.2.26-57.ep6.el6 RHSA-2017:3113
Red Hat JBoss Web Server 2 mod_ssl22 1:2.2.26-58.ep6.el7 RHSA-2017:3113
Red Hat JBoss Web Server 2 tomcat6 +10 6.0.41-19_patch_04.ep6.el6 RHSA-2017:3113
Red Hat JBoss Web Server 2 tomcat7 +10 7.0.54-28_patch_05.ep6.el6 RHSA-2017:3113
Red Hat JBoss EAP 6 httpd +4 2.2.26-57.ep6.el6 RHSA-2017:3240
Red Hat JBoss EAP 6 httpd22 +4 2.2.26-58.ep6.el7 RHSA-2017:3240
Red Hat JBoss EAP 6 jbcs-httpd24-openssl +4 1:1.0.2h-14.jbcs.el6 RHSA-2017:3240
Red Hat JBoss EAP 6 mod_cluster-native 1.2.13-9.Final_redhat_2.ep6.el6 RHSA-2017:3240
Red Hat JBoss EAP 6 mod_ssl 1:2.2.26-57.ep6.el6 RHSA-2017:3240
Red Hat JBoss EAP 6 mod_ssl22 1:2.2.26-58.ep6.el7 RHSA-2017:3240
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +7 2.4.23-125.jbcs.el6 RHSA-2017:3477, RHSA-2017:3476
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_bmx 0.9.6-15.GA.jbcs.el6 RHSA-2017:3477, RHSA-2017:3476
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_cluster-native 1.3.8-1.Final_redhat_1.jbcs.el6 RHSA-2017:3477, RHSA-2017:3476
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.23-125.jbcs.el6 RHSA-2017:3477, RHSA-2017:3476
ReleasePackageFixed inAdvisory
SLES 12 SP3 apache2 2.4.23-29.6.1 SUSE-SU-2017:2542-1
SLES 12 SP2 apache2 2.4.23-29.6.1 SUSE-SU-2017:2542-1
SLES 12 SP1 apache2 2.4.16-20.13.1 SUSE-SU-2017:2718-1
SLES 12 apache2 2.4.10-14.28.1 SUSE-SU-2017:2756-1
SLES 11 SP4 apache2 2.2.34-70.12.1 SUSE-SU-2017:2907-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP3 apache2 2.2.34-70.12.1 SUSE-SU-2017:2907-1
SUSE Studio Onsite 1.3 apache2 2.2.34-70.12.1 SUSE-SU-2017:2907-1
SLES for SAP 12 SP3 apache2 2.4.23-29.6.1 SUSE-SU-2017:2542-1
SLES for SAP 12 SP2 apache2 2.4.23-29.6.1 SUSE-SU-2017:2542-1
SLES for SAP 12 SP1 apache2 2.4.16-20.13.1 SUSE-SU-2017:2718-1
SLES for SAP 11 SP4 apache2 2.2.34-70.12.1 SUSE-SU-2017:2907-1
SUSE OpenStack Cloud 6 apache2 2.4.16-20.13.1 SUSE-SU-2017:2718-1
SUSE Linux Enterprise Point of Sale 11 SP3 apache2 2.2.34-70.12.1 SUSE-SU-2017:2907-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed apache2 2.4.49-1.1 openSUSE-SU-2024:10623-1
ReleasePackageFixed inAdvisory
Alpine v3.24 apache2 2.4.27-r1 —
Alpine v3.23 apache2 2.4.27-r1 —
Alpine v3.22 apache2 2.4.27-r1 —
Alpine v3.21 apache2 2.4.27-r1 —
Alpine v3.20 apache2 2.4.27-r1 —
Show 17 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 apache2 2.4.27-r1 —
Alpine v3.18 apache2 2.4.27-r1 —
Alpine v3.17 apache2 2.4.27-r1 —
Alpine v3.16 apache2 2.4.27-r1 —
Alpine v3.15 apache2 2.4.27-r1 —
Alpine v3.14 apache2 2.4.27-r1 —
Alpine v3.13 apache2 2.4.27-r1 —
Alpine v3.12 apache2 2.4.27-r1 —
Alpine v3.11 apache2 2.4.27-r1 —
Alpine v3.10 apache2 2.4.27-r1 —
Alpine v3.9 apache2 2.4.27-r1 —
Alpine v3.8 apache2 2.4.27-r1 —
Alpine v3.7 apache2 2.4.27-r1 —
Alpine v3.6 apache2 2.4.27-r1 —
Alpine v3.5 apache2 2.4.27-r1 —
Alpine v3.4 apache2 2.4.27-r1 —
Alpine v3.3 apache2 2.4.27-r1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 httpd +5 2.4.6-67.0.1.el7_4.5 ELSA-2017-2882
Oracle Linux 7 mod_ssl +1 1:2.4.6-67.0.1.el7_4.5 ELSA-2017-2882

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.

Metasploit 1 module

Exploit-DB 1

GitHub 4 repositories

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

Advisories 20

References