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,…
- Published
- Updated
- Reserved
- 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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and an Exploit-DB entry for it. A reference of the record is tagged as an exploit.
Metasploit modules1 module
- Apache Optionsbleed Scanner (Metasploit module) (opens in a new tab)
auxiliary/scanner/http/apache_optionsbleedRank normaldisclosed 18 Sept 2017
Exploit-DB1 entry
- Apache < 2.2.34 / < 2.4.27 - OPTIONS Memory Leak (Exploit-DB entry) (opens in a new tab)
EDB-ID 42745webapps, linuxpublished 18 Sept 2017Not verified
References tagged exploit1 reference
- 42745 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By apache
- 3 months later
· 3 months later
Published
- 8 years later
· 8 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 94.7% · top 0.1% of all CVEs (9 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
Apache Software Foundation · Apache HTTP Server
- affected Apache HTTP Server through 2.2.34 and 2.4.x through 2.4.27
References (56)
- RHSA-2017:3113 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 100872 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujul2018-4258247.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpujan2018-3236628.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2017:2882 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2017:2972 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://blog.fuzzing-project.org/uploads/apache-2.2-optionsbleed-backport.patch (opens in a new tab)x_refsource_MISCx_transferred
- https://support.apple.com/HT208331 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 1039387 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03909en_us (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2017:3475 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://github.com/hannob/optionsbleed (opens in a new tab)x_refsource_MISCx_transferred
- https://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/server/core.c?r1=1805223&r2=1807754&pathrev=1807754&view=patch (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2017:3240 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2017:3195 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2017:3018 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuapr2018-3678067.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2017:3239 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2017:3476 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- 105598 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- https://httpd.apache.org/security/vulnerabilities_24.html#CVE-2017-9798 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2017:3114 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- RHSA-2017:3477 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://openwall.com/lists/oss-security/2017/09/18/2 (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20180601-0003/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- RHSA-2017:3194 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://security-tracker.debian.org/tracker/CVE-2017-9798 (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2017:3193 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- DSA-3980 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- https://blog.fuzzing-project.org/60-Optionsbleed-HTTP-OPTIONS-method-can-leak-Apaches-server-memory.html (opens in a new tab)x_refsource_MISCx_transferred
- 42745 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- GLSA-201710-32 (opens in a new tab)vendor-advisoryx_refsource_GENTOOx_transferred
- https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html (opens in a new tab)x_refsource_MISCx_transferred
- [httpd-cvs] 20190815 svn commit: r1048743 [4/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20190815 svn commit: r1048742 [4/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20190815 svn commit: r1048743 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20190815 svn commit: r1048742 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://www.tenable.com/security/tns-2019-09 (opens in a new tab)x_refsource_CONFIRMx_transferred
- [httpd-cvs] 20200401 svn commit: r1058586 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20200401 svn commit: r1058586 [4/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20200401 svn commit: r1058587 [4/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20200401 svn commit: r1058587 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/vulnerabilities-httpd.xml security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://github.com/apache/httpd/commit/4cc27823899e070268b906ca677ee838d07cf67a (opens in a new tab)x_refsource_MISCx_transferred
- [httpd-cvs] 20210330 svn commit: r1073139 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20210330 svn commit: r1073140 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20210330 svn commit: r1073140 [4/4] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20210330 svn commit: r1073139 [11/13] - in /websites/staging/httpd/trunk/content: ./ security/json/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20210330 svn commit: r1888194 [11/13] - /httpd/site/trunk/content/security/json/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20210330 svn commit: r1073146 [2/3] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities-httpd.xml security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20210330 svn commit: r1073149 [1/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20210330 svn commit: r1073149 [11/13] - in /websites/staging/httpd/trunk/content: ./ security/ security/json/ (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20210330 svn commit: r1073146 [3/3] - in /websites/staging/httpd/trunk/content: ./ security/cvejsontohtml.py security/vulnerabilities-httpd.xml security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [httpd-cvs] 20210606 svn commit: r1075470 [3/4] - in /websites/staging/httpd/trunk/content: ./ security/json/CVE-2020-13938.json security/vulnerabilities_13.html security/vulnerabilities_20.html security/vulnerabilities_22.html security/vulnerabilities_24.html (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://seclists.org/fulldisclosure/2024/Sep/22 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2017-18719 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2017-9798)Record last updated .