Name | CVE-2017-9798 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1102-1, DSA-3980-1 |
Debian Bugs | 876109 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
apache2 (PTS) | jessie, jessie (lts) | 2.4.10-10+deb8u29 | fixed |
stretch (security) | 2.4.25-3+deb9u13 | fixed | |
stretch (lts), stretch | 2.4.25-3+deb9u19 | fixed | |
buster, buster (lts) | 2.4.59-1~deb10u4 | fixed | |
buster (security) | 2.4.59-1~deb10u1 | fixed | |
bullseye | 2.4.62-1~deb11u1 | fixed | |
bullseye (security) | 2.4.62-1~deb11u2 | fixed | |
bookworm (security), bookworm | 2.4.62-1~deb12u2 | fixed | |
sid, trixie | 2.4.62-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
apache2 | source | wheezy | 2.2.22-13+deb7u12 | DLA-1102-1 | ||
apache2 | source | jessie | 2.4.10-10+deb8u11 | DSA-3980-1 | ||
apache2 | source | stretch | 2.4.25-3+deb9u3 | DSA-3980-1 | ||
apache2 | source | (unstable) | 2.4.27-6 | 876109 |
https://blog.fuzzing-project.org/60-Optionsbleed-HTTP-OPTIONS-method-can-leak-Apaches-server-memory.html
https://github.com/hannob/optionsbleed
Patch: https://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/server/core.c?r1=1805223&r2=1807754&pathrev=1807754&view=patch
Patch backport for 2.2: https://blog.fuzzing-project.org/uploads/apache-2.2-optionsbleed-backport.patch