CVE-2017-15710: High severity Apache HTTP Server vulnerability
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, modauthnzldap, 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.
Other sources
modauthnzldap, 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.
Versions Affected: httpd 2.0.23 to 2.0.65 httpd 2.2.0 to 2.2.34 httpd 2.4.0 to 2.4.29
External References:
https://httpd.apache.org/security/vulnerabilities24.html
— Red Hat
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/jbcs-httpd24to a version that resolves this vulnerability.Fixed in 0:1-6.jbcs.el6 - Upgrade
Upgrade
redhat/jbcs-httpd24-apache-commons-daemon-jsvcto a version that resolves this vulnerability.Fixed in 1:1.1.0-3.redhat_2.jbcs.el6 - Upgrade
Upgrade
redhat/jbcs-httpd24-aprto a version that resolves this vulnerability.Fixed in 0:1.6.3-31.jbcs.el6 - Upgrade
Upgrade
redhat/jbcs-httpd24-apr-utilto a version that resolves this vulnerability.Fixed in 0:1.6.1-24.jbcs.el6 - Upgrade
Upgrade
redhat/jbcs-httpd24-httpdto a version that resolves this vulnerability.Fixed in 0:2.4.29-35.jbcs.el6 - Upgrade
Upgrade
redhat/jbcs-httpd24-nghttp2to a version that resolves this vulnerability.Fixed in 0:1.29.0-9.jbcs.el6 - Upgrade
Upgrade
redhat/jbcs-httpd24-opensslto a version that resolves this vulnerability.Fixed in 1:1.0.2n-14.jbcs.el6 - Upgrade
Upgrade
redhat/jbcs-httpd24to a version that resolves this vulnerability.Fixed in 0:1-6.jbcs.el7 - Upgrade
Upgrade
redhat/jbcs-httpd24-apache-commons-daemon-jsvcto a version that resolves this vulnerability.Fixed in 1:1.1.0-3.redhat_2.jbcs.el7 - Upgrade
Upgrade
redhat/jbcs-httpd24-aprto a version that resolves this vulnerability.Fixed in 0:1.6.3-31.jbcs.el7 - Upgrade
Upgrade
redhat/jbcs-httpd24-apr-utilto a version that resolves this vulnerability.Fixed in 0:1.6.1-24.jbcs.el7 - Upgrade
Upgrade
redhat/jbcs-httpd24-httpdto a version that resolves this vulnerability.Fixed in 0:2.4.29-35.jbcs.el7 - Upgrade
Upgrade
redhat/jbcs-httpd24-nghttp2to a version that resolves this vulnerability.Fixed in 0:1.29.0-9.jbcs.el7 - Upgrade
Upgrade
redhat/jbcs-httpd24-opensslto a version that resolves this vulnerability.Fixed in 1:1.0.2n-14.jbcs.el7 - Upgrade
Upgrade
redhat/httpdto a version that resolves this vulnerability.Fixed in 0:2.4.6-93.el7 - Upgrade
Upgrade
redhat/httpd24-curlto a version that resolves this vulnerability.Fixed in 0:7.61.1-1.el6 - Upgrade
Upgrade
redhat/httpd24-httpdto a version that resolves this vulnerability.Fixed in 0:2.4.34-7.el6 - Upgrade
Upgrade
redhat/httpd24-nghttp2to a version that resolves this vulnerability.Fixed in 0:1.7.1-7.el6 - Upgrade
Upgrade
redhat/httpd24-curlto a version that resolves this vulnerability.Fixed in 0:7.61.1-1.el7 - Upgrade
Upgrade
redhat/httpd24-httpdto a version that resolves this vulnerability.Fixed in 0:2.4.34-7.el7 - Upgrade
Upgrade
redhat/httpd24-nghttp2to a version that resolves this vulnerability.Fixed in 0:1.7.1-7.el7 - Upgrade
Upgrade
redhat/httpdto a version that resolves this vulnerability.Fixed in 2.4.30 - Upgrade
Upgrade
debian/apache2to a version that resolves this vulnerability.Fixed in 2.4.62-1~deb11u1Fixed in 2.4.67-1~deb11u3Fixed in 2.4.68-1~deb12u1Fixed in 2.4.67-1~deb12u3Fixed in 2.4.68-1~deb13u1Fixed in 2.4.67-1~deb13u3Fixed in 2.4.68-1 - Upgrade
Upgrade
Apache httpdto a version that resolves this vulnerability.Fixed in 2.4.30 - Configuration
If mod_authnz_ldap uses AuthLDAPCharsetConfig, remove/disable that configuration so it does not use the Accept-Language header value to look up the charset encoding during credential verification.
mod_authnz_ldap AuthLDAPCharsetConfig = not configured or disabled - Compensating control
Mitigate the potential Denial of Service by restricting/limiting exposure to requests that include a malicious Accept-Language header value while the fix is applied.
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2017-15710?
CVE-2017-15710 is categorized as a moderate severity vulnerability.
How do I fix CVE-2017-15710?
To fix CVE-2017-15710, ensure you are using the patched versions of affected packages, such as apache-commons-daemon, httpd, and openssl, as specified in the remediation information.
What software versions are affected by CVE-2017-15710?
CVE-2017-15710 affects Apache HTTP Server versions 2.0.23 to 2.0.65, 2.2.0 to 2.2.34, and 2.4.0 to 2.4.29.
What happens if I do not address CVE-2017-15710?
If CVE-2017-15710 is not addressed, unauthorized users may exploit the vulnerability to bypass authentication and gain unauthorized access.
Is CVE-2017-15710 specific to certain operating systems?
CVE-2017-15710 can affect various operating systems where Apache HTTPD is installed, particularly on RHEL and Debian based distributions.