Skip to main content
Public proof of conceptFix available

CVE-2017-9798

A public proof of concept exists; no exploitation attested.

  • Published2017-09-18
  • WeaknessCWE-416

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2017-09-18Exploit-DB entryExploit-DB
  2. 2017-09-1815:29CVE publishedNVD
  3. 2026-10-2319:23First public proof of conceptPoC-in-GitHub
  4. 2026-10-2319:23EPSS crossed 10 %FIRST EPSS

Versions per branch

NVD
Apache HTTP Server
BranchAffectedFixed in
2.2≤ 2.2.34no fix published
2.4= 2.4.0no fix published
2.4= 2.4.1no fix published
2.4= 2.4.2no fix published
2.4= 2.4.3no fix published
2.4= 2.4.4no fix published
2.4= 2.4.6no fix published
2.4= 2.4.7no fix published
2.4= 2.4.9no fix published
2.4= 2.4.10no fix published
2.4= 2.4.12no fix published
2.4= 2.4.16no fix published
Debian debian linux
BranchAffectedFixed in
7.0= 7.0no fix published
8.0= 8.0no fix published
9.0= 9.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • apacheMageia:6all versions · fixed in 2.4.27-1.1.mga6
  • apacheMageia:5all versions · fixed in 2.4.10-16.7.mga5
  • apache2Ubuntu:16.04:LTSall versions · fixed in 2.4.18-2ubuntu3.5
  • apache2Ubuntu:14.04:LTSall versions · fixed in 2.4.7-1ubuntu4.18
  • apache2SUSE:Studio Onsite 1.3all versions · fixed in 2.2.34-70.12.1
  • apache2SUSE:OpenStack Cloud 6all versions · fixed in 2.4.16-20.13.1
  • apache2SUSE:Linux Enterprise Software Development Kit 12 SP3all versions · fixed in 2.4.23-29.6.1
  • apache2SUSE:Linux Enterprise Software Development Kit 12 SP2all versions · fixed in 2.4.23-29.6.1

109 more package ranges on OSV.dev

Vendor advisories

  • CVE-2017-9798 Red Hat Product Security796 products fixed · 12 known affected

    httpd: Use-after-free by limiting unregistered HTTP method (Optionsbleed)

    httpd.src as a component of Red Hat Enterprise Linux 5 · httpd24 as a component of Red Hat JBoss Web Server 3 · httpd24-httpd as a component of Red Hat Software Collections · +9 more

  • RHSA-2017:3477 Red Hat Product Security32 products fixed

    Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.23 security update

  • RHSA-2017:3476 Red Hat Product Security18 products fixed

    Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.23 security update

  • RHSA-2017:3475 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Core Services Apache HTTP Server 2.4.23 security update

  • RHSA-2017:3240 Red Hat Product Security81 products fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.18 security update

  • RHSA-2017:3239 Red Hat Product Security1 product fixed

    Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 6.4.18 security update

8 more advisories

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2017:3477 · 32 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing the updated packages, the httpd daemon will be restarted automatically.
  2. Vendor fix Red Hat Product Security RHSA-2017:3475 · 1 productThe References section of this erratum contains a download link (you must log in to download the update). Before applying the update, back up your existing Red Hat JBoss Web Server installation (including all applications and configuration files). After installing the updated packages, the httpd d…
  3. Vendor fix Red Hat Product Security RHSA-2017:3240 · 81 productsBefore applying this update, back up your existing Red Hat JBoss Enterprise Application Platform installation and deployed applications. For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After instal…
  4. Vendor fix Red Hat Product Security RHSA-2017:3239 · 1 productBefore applying this update, back up your existing Red Hat JBoss Enterprise Application Platform installation and deployed applications. The References section of this erratum contains a download link (you must log in to download the update). The JBoss server process must be restarted for the upd…
  5. Vendor fix Red Hat Product Security RHSA-2017:3113 · 99 productsBefore applying the update, back up your existing Red Hat JBoss Web Server installation (including all applications and configuration files). For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 For the…
  6. Vendor fix Red Hat Product Security RHSA-2017:3114 · 1 productBefore applying the update, back up your existing Red Hat JBoss Web Server installation (including all applications and configuration files). The References section of this erratum contains a download link (you must log in to download the update).

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-42745
Exploit-DB
Metasploit modules
1 moduleauxiliary/scanner/http/apache_optionsbleedrank: normalModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause.
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Published
2017-09-18
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-jxf6-fx3m-8x2r

Frequently asked questions

What is CVE-2017-9798?

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.

Is CVE-2017-9798 actively exploited?

Active exploitation of CVE-2017-9798 has not been confirmed. Its EPSS score was 94.7% on 2026-11-16, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2017-9798?

CVE-2017-9798 has a CVSS v3 base score of 7.5 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Running Apache HTTP Server? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record