Skip to content
Noroxi
CVE-2017-9798· NVD / CVE Program· CNA apache

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, o

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.

HighCVSS 7.5 · v3.1—Weaponized Fix available
Published
Sep 18, 2017
Updated
Jun 16, 2026
EPSS
95.0% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

58

Plan

Add it to your regular patch cycle.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
28 / 30 · 95.0%

Affected systems

VendorProduct
apachehttp server
debiandebian linux

Using http server? Add it to your stack and be the first to know about CVEs like this one. (Apache HTTP)

Add to my stack

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • apache http serverup to 2.2.34 inclusive
  • apache http server2.4.0
  • apache http server2.4.1
  • apache http server2.4.10
  • apache http server2.4.12
  • apache http server2.4.16
  • apache http server2.4.17
  • apache http server2.4.18
  • apache http server2.4.2
  • apache http server2.4.20
  • apache http server2.4.23
  • apache http server2.4.25
  • apache http server2.4.26
  • apache http server2.4.27
  • apache http server2.4.3
  • apache http server2.4.4
  • apache http server2.4.6
  • apache http server2.4.7
  • apache http server2.4.9

Versions reported by the vendor

Affected version ranges reported by the assigning authority (apache). Independent of NVD's CPE analysis and usually ahead of it.

  • Apache Software Foundation Apache HTTP Server

    • Apache HTTP Server through 2.2.34 and 2.4.x through 2.4.27affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.10apache2before 2.4.27-r12.4.27-r1
Debian:12apache2before 2.4.27-62.4.27-6
Debian:7apache2before 2.2.22-13+deb7u122.2.22-13+deb7u12
Debian:8apache2before 2.4.10-10+deb8u112.4.10-10+deb8u11
Debian:9apache2before 2.4.25-3+deb9u32.4.25-3+deb9u3
Red Hat:enterprise_linux:6::clienthttpdbefore 0:2.2.15-60.el6_9.60:2.2.15-60.el6_9.6
Red Hat:enterprise_linux:6::clienthttpd-debuginfobefore 0:2.2.15-60.el6_9.60:2.2.15-60.el6_9.6
Red Hat:enterprise_linux:6::clienthttpd-develbefore 0:2.2.15-60.el6_9.60:2.2.15-60.el6_9.6
Red Hat:enterprise_linux:6::clienthttpd-manualbefore 0:2.2.15-60.el6_9.60:2.2.15-60.el6_9.6
Red Hat:enterprise_linux:6::clienthttpd-toolsbefore 0:2.2.15-60.el6_9.60:2.2.15-60.el6_9.6
Red Hat:enterprise_linux:6::clientmod_sslbefore 1:2.2.15-60.el6_9.61:2.2.15-60.el6_9.6
Red Hat:enterprise_linux:7::clienthttpdbefore 0:2.4.6-67.el7_4.50:2.4.6-67.el7_4.5
Red Hat:enterprise_linux:7::clienthttpd-debuginfobefore 0:2.4.6-67.el7_4.50:2.4.6-67.el7_4.5
Red Hat:enterprise_linux:7::clienthttpd-develbefore 0:2.4.6-67.el7_4.50:2.4.6-67.el7_4.5
Red Hat:enterprise_linux:7::clienthttpd-manualbefore 0:2.4.6-67.el7_4.50:2.4.6-67.el7_4.5
Red Hat:enterprise_linux:7::clienthttpd-toolsbefore 0:2.4.6-67.el7_4.50:2.4.6-67.el7_4.5
Red Hat:enterprise_linux:7::clientmod_ldapbefore 0:2.4.6-67.el7_4.50:2.4.6-67.el7_4.5
Red Hat:enterprise_linux:7::clientmod_proxy_htmlbefore 1:2.4.6-67.el7_4.51:2.4.6-67.el7_4.5
Red Hat:enterprise_linux:7::clientmod_sessionbefore 0:2.4.6-67.el7_4.50:2.4.6-67.el7_4.5
Red Hat:enterprise_linux:7::clientmod_sslbefore 1:2.4.6-67.el7_4.51:2.4.6-67.el7_4.5
Red Hat:jboss_core_services:1::el6jbcs-httpd24-httpdbefore 0:2.4.23-125.jbcs.el60:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6jbcs-httpd24-httpd-debuginfobefore 0:2.4.23-125.jbcs.el60:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6jbcs-httpd24-httpd-develbefore 0:2.4.23-125.jbcs.el60:2.4.23-125.jbcs.el6
Red Hat:jboss_core_services:1::el6jbcs-httpd24-httpd-libsbefore 0:2.4.23-125.jbcs.el60:2.4.23-125.jbcs.el6

+96

Other highest-scoring records for the same primary product.

  • CVE-2021-42013Path Traversal and Remote Code Execution in Apache HTTP Server 2.4.49 and 2.4.50 (incomplete fix of CVE-2021-41773)KEV
    99Now
  • CVE-2021-41773Path traversal and file disclosure vulnerability in Apache HTTP Server 2.4.49KEV
    99Now
  • CVE-2024-38475Apache HTTP Server weakness in mod_rewrite when first segment of substitution matches filesystem path.KEV
    96Now
  • CVE-2019-0211In Apache HTTP Server 2.4 releases 2.4.17 to 2.4.38, with MPM event, worker or prefork, code executing in less-privileged child processes orKEV
    81Now
  • CVE-2021-44790Possible buffer overflow when parsing multipart content in mod_lua of Apache HTTP Server 2.4.51 and earlier
    68This week
  • CVE-2010-0425modules/arch/win32/mod_isapi.c in mod_isapi in the Apache HTTP Server 2.0.37 through 2.0.63, 2.2.0 through 2.2.14, and 2.3.x before 2.3.7, w
    68This week

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:apache22.4.27-r1 · Alpine:v3.10Package registry (OSV)
debian:apache22.4.27-6 · Debian:12Package registry (OSV)
red hat:httpd0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:httpd-debuginfo0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:httpd-devel0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:httpd-manual0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:httpd-tools0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:httpd240:1.1-18.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:httpd24-httpd0:2.4.27-8.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:httpd24-httpd-debuginfo0:2.4.27-8.el6 · Red Hat:rhel_software_collections:3::el6Package registry (OSV)
red hat:mod_ldap0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:mod_proxy_html1:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:mod_session0:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:mod_ssl1:2.4.6-67.el7_4.5 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:apache22.4.23-29.6.1 · SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×1
  • Proof-of-concept repository on GitHub ×4

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrywebapps2017-09-18
Metasploit moduleauxiliary/scanner/http/apache_optionsbleedApache Optionsbleed Scannerauxiliary2017-09-18
Proof-of-concept repository on GitHubstars:32017-09-18
Proof-of-concept repository on GitHubstars:22017-09-20
Proof-of-concept repository on GitHubstars:02017-09-24
Proof-of-concept repository on GitHubstars:192017-09-27

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoCsame day
  2. Metasploitsame day
  3. Published
  4. TodaySep 30, 2026+3299 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
none
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
None
Availability impact
None

Weakness class (CWE)

CWE-416 · Use After Free

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

nvd-primary

Root cause

After a memory region is freed, another reference pointing to it is still used. By then, the same region may have been allocated for different data.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

c
free(dev->buf);/* ... another thread is still running ... */process(dev->buf);

Fixed

c
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records