CVE-2017-15710
httpd: Out of bounds write in mod_authnz_ldap when using too small Accept-Language values
Overview
Description
In Apache httpd 2.0.23 to 2.0.65, 2.2.0 to 2.2.34, and 2.4.0 to 2.4.29, mod_authnz_ldap, if configured with AuthLDAPCharsetConfig, uses the Accept-Language header value to lookup the right charset encoding when verifying the user's credentials. If the header value is not present in the charset conversion table, a fallback mechanism is used to truncate it to a two characters value to allow a quick retry (for example, 'en-US' is truncated to 'en'). A header value of less than two characters forces an out of bound write of one NUL byte to a memory location that is not part of the string. In the worst case, quite unlikely, the process would crash which could be used as a Denial of Service attack. In the more likely case, this memory is already reserved for future use and the issue has no effect at all.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.0 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-787
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 32 fixes
Oracle Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | mod-proxy-html +1 | 1:2.4.6-93.0.1.el7 |
| 7 | httpd +5 | 2.4.6-93.0.1.el7 |
Red Hat 1 release · 16 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | jbcs-httpd24 +1 | 0:1-6.jbcs.el7 | RHSA-2019:0367 |
| 7 | jbcs-httpd24-mod-jk-ap24 +1 | 0:1.2.46-1.redhat_1.jbcs.el7 | RHSA-2019:0367 |
| 7 | jbcs-httpd24-nghttp2 +1 | 0:1.29.0-9.jbcs.el7 | RHSA-2019:0367 |
| 7 | jbcs-httpd24-mod-cluster-native | 0:1.3.8-3.Final_redhat_2.jbcs.el7 | RHSA-2019:0367 |
| 7 | jbcs-httpd24-apr-util +8 | 0:1.6.1-24.jbcs.el7 | RHSA-2019:0367 |
| 7 | jbcs-httpd24-apr +1 | 0:1.6.3-31.jbcs.el7 | RHSA-2019:0367 |
10 more rows
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | apache2 | 2.4.33-r0 |
| 3.23 | apache2 | 2.4.33-r0 |
| 3.24 | apache2 | 2.4.33-r0 |
| edge | apache2 | 2.4.33-r0 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | apache2 | 2.4.33-1 |
| 12 | apache2 | 2.4.33-1 |
| 13 | apache2 | 2.4.33-1 |
| 14 | apache2 | 2.4.33-1 |
| 9 | apache2 | 2.4.25-3+deb9u4 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| apache2 | 2.4.33-1 |
root.io debian 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-apache2 | 2.4.33-1 |
| 13 | rootio-apache2 | 2.4.33-1 |
ubuntu 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04 | apache2 | 2.4.29-1ubuntu4.1 |
| 18.04-ESM | apache2 | 2.4.29-1ubuntu4.1 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2018/03/24/8
- www.securityfocus.com http://www.securityfocus.com/bid/103512
- www.securitytracker.com http://www.securitytracker.com/id/1040569
- access.redhat.com https://access.redhat.com/errata/RHSA-2018:3558
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:0366
- access.redhat.com https://access.redhat.com/errata/RHSA-2019:0367
- access.redhat.com https://access.redhat.com/security/cve/CVE-2017-15710
- httpd.apache.org https://httpd.apache.org/security/vulnerabilities_24.html
- linux.oracle.com https://linux.oracle.com/cve/CVE-2017-15710.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2020-1121.html
Show all 35 references
- lists.apache.org https://lists.apache.org/thread.html/56c2e7cc9deb1c12a843d0dc251ea7fd3e7e80293cde02fcd65286ba%40%3Ccvs.httpd.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/84a3714f0878781f6ed84473d1a503d2cc382277e100450209231830%40%3Ccvs.httpd.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r04e89e873d54116a0635ef2f7061c15acc5ed27ef7500997beb65d6f%40%3Ccvs.httpd.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r06f0d87ebb6d59ed8379633f36f72f5b1f79cadfda72ede0830b42cf%40%3Ccvs.httpd.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r6521a7f62276340eabdb3339b2aa9a38c5f59d978497a1f794af53be%40%3Ccvs.httpd.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r76142b8c5119df2178be7c2dba88fde552eedeec37ea993dfce68d1d%40%3Ccvs.httpd.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/r9f93cf6dde308d42a9c807784e8102600d0397f5f834890708bf6920%40%3Ccvs.httpd.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rc998b18880df98bafaade071346690c2bc1444adaa1a1ea464b93f0a%40%3Ccvs.httpd.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rd18c3c43602e66f9cdcf09f1de233804975b9572b0456cc582390b6f%40%3Ccvs.httpd.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/re1e3a24664d35bcd0a0e793e0b5fc6ca6c107f99a1b2c545c5d4b467%40%3Ccvs.httpd.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/re3d27b6250aa8548b8845d314bb8a350b3df326cacbbfdfe4d455234%40%3Ccvs.httpd.apache.org%3E
- lists.apache.org https://lists.apache.org/thread.html/rf6449464fd8b7437704c55f88361b66f12d5b5f90bcce66af4be4ba9%40%3Ccvs.httpd.apache.org%3E
- lists.debian.org https://lists.debian.org/debian-lts-announce/2018/05/msg00020.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2017-15710
- security.netapp.com https://security.netapp.com/advisory/ntap-20180601-0004/
- support.hpe.com https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03909en_us
- ubuntu.com https://ubuntu.com/security/notices/USN-3627-1
- ubuntu.com https://ubuntu.com/security/notices/USN-3627-2
- ubuntu.com https://ubuntu.com/security/notices/USN-3937-2
- usn.ubuntu.com https://usn.ubuntu.com/3627-1/
- usn.ubuntu.com https://usn.ubuntu.com/3627-2/
- usn.ubuntu.com https://usn.ubuntu.com/3937-2/
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2017-15710
- www.debian.org https://www.debian.org/security/2018/dsa-4164
- www.tenable.com https://www.tenable.com/security/tns-2019-09
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.