CVE-2017-15710

MEDIUM

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.

References

http://www.openwall.com/lists/oss-security/2018/03/24/8

http://www.securityfocus.com/bid/103512

http://www.securitytracker.com/id/1040569

https://access.redhat.com/errata/RHSA-2018:3558

https://access.redhat.com/errata/RHSA-2019:0366

https://access.redhat.com/errata/RHSA-2019:0367

https://httpd.apache.org/security/vulnerabilities_24.html

https://lists.apache.org/thread.html/[email protected]%3Ccvs.httpd.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccvs.httpd.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccvs.httpd.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccvs.httpd.apache.org%3E

https://lists.apache.org/thread.html/r6521a7f62276340eabdb33[email protected]%3Ccvs.httpd.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccvs.httpd.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccvs.httpd.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccvs.httpd.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccvs.httpd.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccvs.httpd.apache.org%3E

https://lists.apache.org/thread.html/[email protected]%3Ccvs.httpd.apache.org%3E

https://lists.debian.org/debian-lts-announce/2018/05/msg00020.html

https://security.netapp.com/advisory/ntap-20180601-0004/

https://support.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03909en_us

https://usn.ubuntu.com/3627-1/

https://usn.ubuntu.com/3627-2/

https://usn.ubuntu.com/3937-2/

https://www.debian.org/security/2018/dsa-4164

https://www.tenable.com/security/tns-2019-09

Details

Source: MITRE

Published: 2018-03-26

Updated: 2021-03-30

Type: CWE-787

Risk Information

CVSS v2.0

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3.0

Base Score: 7.5

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

Impact Score: 3.6

Exploitability Score: 3.9

Severity: HIGH

Vulnerable Software

Configuration 1

OR

cpe:2.3:a:apache:http_server:2.4.1:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.2:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.3:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.4:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.6:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.7:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.9:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.10:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.12:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.16:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.17:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.18:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.20:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.23:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.25:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.26:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.27:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.28:*:*:*:*:*:*:*

cpe:2.3:a:apache:http_server:2.4.29:*:*:*:*:*:*:*

Configuration 2

OR

cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*

cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*

cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*

Configuration 3

OR

cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*

cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*

cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*

cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*

cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

Configuration 4

OR

cpe:2.3:a:netapp:santricity_cloud_connector:-:*:*:*:*:*:*:*

cpe:2.3:a:netapp:storage_automation_store:-:*:*:*:*:*:*:*

cpe:2.3:a:netapp:storagegrid:-:*:*:*:*:*:*:*

cpe:2.3:o:netapp:clustered_data_ontap:-:*:*:*:*:*:*:*

Configuration 5

OR

cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:*

cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:*

Tenable Plugins

View all (32 total)

IDNameProductFamilySeverity
144780IBM HTTP Server 7.0.0.0 <= 7.0.0.43 / 8.0.0.0 <= 8.0.0.14 / 8.5.0.0 < 8.5.5.14 / 9.0.0.0 < 9.0.0.8 Multiple Vulnerabilities (569295)NessusWeb Servers
medium
143994NewStart CGSL CORE 5.05 / MAIN 5.05 : httpd Multiple Vulnerabilities (NS-SA-2020-0110)NessusNewStart CGSL Local Security Checks
medium
143931NewStart CGSL CORE 5.04 / MAIN 5.04 : httpd Multiple Vulnerabilities (NS-SA-2020-0066)NessusNewStart CGSL Local Security Checks
medium
135812Scientific Linux Security Update : httpd on SL7.x x86_64 (20200407)NessusScientific Linux Local Security Checks
medium
135341CentOS 7 : httpd (CESA-2020:1121)NessusCentOS Local Security Checks
medium
135072RHEL 7 : httpd (RHSA-2020:1121)NessusRed Hat Local Security Checks
medium
124922EulerOS Virtualization 3.0.1.0 : httpd (EulerOS-SA-2019-1419)NessusHuawei Local Security Checks
high
122292RHEL 6 / 7 : Red Hat JBoss Core Services Apache HTTP Server 2.4.29 (RHSA-2019:0367)NessusRed Hat Local Security Checks
medium
122060Apache 2.4.x < 2.4.33 Multiple VulnerabilitiesNessusWeb Servers
medium
121822Photon OS 1.0: Httpd PHSA-2018-1.0-0126NessusPhotonOS Local Security Checks
high
121275EulerOS Virtualization 2.5.1 : httpd (EulerOS-SA-2019-1015)NessusHuawei Local Security Checks
medium
98914Apache 2.4.x < 2.4.33 Multiple VulnerabilitiesWeb Application ScanningComponent Vulnerability
medium
120484Fedora 28 : httpd (2018-6744ca470d)NessusFedora Local Security Checks
medium
118251SUSE SLES12 Security Update : apache2 (SUSE-SU-2018:1161-2)NessusSuSE Local Security Checks
medium
111930Photon OS 1.0: Binutils / Httpd / Mercurial / Mysql / Net / Paramiko / Patch / Pycrypto / Python3 / Sqlite / Strongswan / Xerces PHSA-2018-1.0-0126 (deprecated)NessusPhotonOS Local Security Checks
high
110877EulerOS 2.0 SP3 : httpd (EulerOS-SA-2018-1213)NessusHuawei Local Security Checks
medium
110250Debian DLA-1389-1 : apache2 security updateNessusDebian Local Security Checks
medium
110156EulerOS 2.0 SP2 : httpd (EulerOS-SA-2018-1152)NessusHuawei Local Security Checks
medium
110155EulerOS 2.0 SP1 : httpd (EulerOS-SA-2018-1151)NessusHuawei Local Security Checks
medium
109745Fedora 26 : httpd (2018-e6d9251471)NessusFedora Local Security Checks
medium
109664openSUSE Security Update : apache2 (openSUSE-2018-438)NessusSuSE Local Security Checks
medium
109598SUSE SLES12 Security Update : apache2 (SUSE-SU-2018:1161-1)NessusSuSE Local Security Checks
medium
109555Amazon Linux AMI : httpd24 (ALAS-2018-1004)NessusAmazon Linux Local Security Checks
medium
109466Ubuntu 18.04 LTS : Apache HTTP Server vulnerabilities (USN-3627-2)NessusUbuntu Local Security Checks
medium
109359SUSE SLES11 Security Update : apache2 (SUSE-SU-2018:1079-1)NessusSuSE Local Security Checks
medium
109199Ubuntu 14.04 LTS / 16.04 LTS / 17.10 : Apache HTTP Server vulnerabilities (USN-3627-1)NessusUbuntu Local Security Checks
medium
108945SUSE SLES12 Security Update : apache2 (SUSE-SU-2018:0901-1)NessusSuSE Local Security Checks
medium
108876SUSE SLES12 Security Update : apache2 (SUSE-SU-2018:0879-1)NessusSuSE Local Security Checks
medium
108856Fedora 27 : httpd (2018-375e3244b6)NessusFedora Local Security Checks
medium
108816Debian DSA-4164-1 : apache2 - security updateNessusDebian Local Security Checks
medium
108758Apache 2.4.x < 2.4.33 Multiple Vulnerabilities (deprecated)NessusWeb Servers
medium
108626FreeBSD : apache -- multiple vulnerabilities (f38187e7-2f6e-11e8-8f07-b499baebfeaf)NessusFreeBSD Local Security Checks
medium