Vulnerabilities > CVE-2016-6808 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Apache Tomcat JK Connector

047910
CVSS 9.8 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
HIGH
Integrity impact
HIGH
Availability impact
HIGH
network
low complexity
apache
CWE-119
critical
nessus

Summary

Buffer overflow in Apache Tomcat Connectors (mod_jk) before 1.2.42.

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Nessus

  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2017-0194.NASL
    descriptionAn update is now available for JBoss Core Services on RHEL 7. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. This release adds the new Apache HTTP Server 2.4.23 packages that are part of the JBoss Core Services offering. This release serves as a replacement for Red Hat JBoss Core Services Pack Apache Server 2.4.6 and includes bug fixes and enhancements. Refer to the Release Notes for information on the most significant bug fixes and enhancements included in this release. Security Fix(es) : * A flaw was found in the way OpenSSL encoded certain ASN.1 data structures. An attacker could use this flaw to create a specially crafted certificate which, when verified or re-encoded by OpenSSL, could cause it to crash, or execute arbitrary code using the permissions of the user running an application compiled against the OpenSSL library. (CVE-2016-2108) * It was found that the length checks prior to writing to the target buffer for creating a virtual host mapping rule did not take account of the length of the virtual host name, creating the potential for a buffer overflow. (CVE-2016-6808) * It was discovered that OpenSSL did not always use constant time operations when computing Digital Signature Algorithm (DSA) signatures. A local attacker could possibly use this flaw to obtain a private DSA key belonging to another user or service running on the same system. (CVE-2016-2178) * Multiple integer overflow flaws were found in the way OpenSSL performed pointer arithmetic. A remote attacker could possibly use these flaws to cause a TLS/SSL server or client using OpenSSL to crash. (CVE-2016-2177) * It was discovered that specifying configuration with a JVMRoute path longer than 80 characters will cause segmentation fault leading to a server crash. (CVE-2016-4459) * An error was found in protocol parsing logic of mod_cluster load balancer Apache HTTP Server modules. An attacker could use this flaw to cause a Segmentation Fault in the serving httpd process. (CVE-2016-8612) Red Hat would like to thank the OpenSSL project for reporting CVE-2016-2108. The CVE-2016-4459 issue was discovered by Robert Bost (Red Hat). Upstream acknowledges Huzaifa Sidhpurwala (Red Hat), Hanno Bock, and David Benjamin (Google) as the original reporters of CVE-2016-2108.
    last seen2020-06-01
    modified2020-06-02
    plugin id96867
    published2017-01-30
    reporterThis script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/96867
    titleRHEL 7 : JBoss Core Services (RHSA-2017:0194)
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2017-0193.NASL
    descriptionUpdated packages that provide Red Hat JBoss Core Services Pack Apache Server 2.4.23 and fix several bugs, and add various enhancements are now available for Red Hat Enterprise Linux 6. Red Hat Product Security has rated this update as having a security impact of Important. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section. This release adds the new Apache HTTP Server 2.4.23 packages that are part of the JBoss Core Services offering. This release serves as a replacement for Red Hat JBoss Core Services Pack Apache Server 2.4.6, and includes bug fixes and enhancements. Refer to the Release Notes for information on the most significant bug fixes and enhancements included in this release. Security Fix(es) : * A flaw was found in the way OpenSSL encoded certain ASN.1 data structures. An attacker could use this flaw to create a specially crafted certificate which, when verified or re-encoded by OpenSSL, could cause it to crash, or execute arbitrary code using the permissions of the user running an application compiled against the OpenSSL library. (CVE-2016-2108) * It was found that the length checks prior to writing to the target buffer for creating a virtual host mapping rule did not take account of the length of the virtual host name, creating the potential for a buffer overflow. (CVE-2016-6808) * It was discovered that OpenSSL did not always use constant time operations when computing Digital Signature Algorithm (DSA) signatures. A local attacker could possibly use this flaw to obtain a private DSA key belonging to another user or service running on the same system. (CVE-2016-2178) * Multiple integer overflow flaws were found in the way OpenSSL performed pointer arithmetic. A remote attacker could possibly use these flaws to cause a TLS/SSL server or client using OpenSSL to crash. (CVE-2016-2177) * It was discovered that specifying configuration with a JVMRoute path longer than 80 characters will cause segmentation fault leading to a server crash. (CVE-2016-4459) * An error was found in protocol parsing logic of mod_cluster load balancer Apache HTTP Server modules. An attacker could use this flaw to cause a Segmentation Fault in the serving httpd process. (CVE-2016-8612) Red Hat would like to thank the OpenSSL project for reporting CVE-2016-2108. The CVE-2016-4459 issue was discovered by Robert Bost (Red Hat). Upstream acknowledges Huzaifa Sidhpurwala (Red Hat), Hanno Bock, and David Benjamin (Google) as the original reporters of CVE-2016-2108.
    last seen2020-06-01
    modified2020-06-02
    plugin id96824
    published2017-01-27
    reporterThis script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/96824
    titleRHEL 6 : JBoss Core Services (RHSA-2017:0193)

Redhat

advisories
  • rhsa
    idRHSA-2016:2957
  • rhsa
    idRHSA-2017:0193
  • rhsa
    idRHSA-2017:0194
rpms
  • jbcs-httpd24-httpd-0:2.4.23-102.jbcs.el6
  • jbcs-httpd24-httpd-debuginfo-0:2.4.23-102.jbcs.el6
  • jbcs-httpd24-httpd-devel-0:2.4.23-102.jbcs.el6
  • jbcs-httpd24-httpd-manual-0:2.4.23-102.jbcs.el6
  • jbcs-httpd24-httpd-selinux-0:2.4.23-102.jbcs.el6
  • jbcs-httpd24-httpd-src-zip-0:2.4.23-102.jbcs.el6
  • jbcs-httpd24-httpd-tools-0:2.4.23-102.jbcs.el6
  • jbcs-httpd24-httpd-zip-0:2.4.23-102.jbcs.el6
  • jbcs-httpd24-mod_auth_kerb-0:5.4-35.jbcs.el6
  • jbcs-httpd24-mod_auth_kerb-debuginfo-0:5.4-35.jbcs.el6
  • jbcs-httpd24-mod_bmx-0:0.9.6-14.GA.jbcs.el6
  • jbcs-httpd24-mod_bmx-debuginfo-0:0.9.6-14.GA.jbcs.el6
  • jbcs-httpd24-mod_bmx-src-zip-0:0.9.6-14.GA.jbcs.el6
  • jbcs-httpd24-mod_cluster-native-0:1.3.5-13.Final_redhat_1.jbcs.el6
  • jbcs-httpd24-mod_cluster-native-debuginfo-0:1.3.5-13.Final_redhat_1.jbcs.el6
  • jbcs-httpd24-mod_cluster-native-src-zip-0:1.3.5-13.Final_redhat_1.jbcs.el6
  • jbcs-httpd24-mod_jk-ap24-0:1.2.41-14.redhat_1.jbcs.el6
  • jbcs-httpd24-mod_jk-debuginfo-0:1.2.41-14.redhat_1.jbcs.el6
  • jbcs-httpd24-mod_jk-manual-0:1.2.41-14.redhat_1.jbcs.el6
  • jbcs-httpd24-mod_jk-src-zip-0:1.2.41-14.redhat_1.jbcs.el6
  • jbcs-httpd24-mod_ldap-0:2.4.23-102.jbcs.el6
  • jbcs-httpd24-mod_proxy_html-1:2.4.23-102.jbcs.el6
  • jbcs-httpd24-mod_rt-0:2.4.1-16.GA.jbcs.el6
  • jbcs-httpd24-mod_rt-debuginfo-0:2.4.1-16.GA.jbcs.el6
  • jbcs-httpd24-mod_rt-src-zip-0:2.4.1-16.GA.jbcs.el6
  • jbcs-httpd24-mod_security-0:2.9.1-18.GA.jbcs.el6
  • jbcs-httpd24-mod_security-debuginfo-0:2.9.1-18.GA.jbcs.el6
  • jbcs-httpd24-mod_security-src-zip-0:2.9.1-18.GA.jbcs.el6
  • jbcs-httpd24-mod_session-0:2.4.23-102.jbcs.el6
  • jbcs-httpd24-mod_ssl-1:2.4.23-102.jbcs.el6
  • jbcs-httpd24-nghttp2-0:1.12.0-9.jbcs.el6
  • jbcs-httpd24-nghttp2-debuginfo-0:1.12.0-9.jbcs.el6
  • jbcs-httpd24-openssl-1:1.0.2h-12.jbcs.el6
  • jbcs-httpd24-openssl-debuginfo-1:1.0.2h-12.jbcs.el6
  • jbcs-httpd24-openssl-devel-1:1.0.2h-12.jbcs.el6
  • jbcs-httpd24-openssl-libs-1:1.0.2h-12.jbcs.el6
  • jbcs-httpd24-openssl-perl-1:1.0.2h-12.jbcs.el6
  • jbcs-httpd24-openssl-static-1:1.0.2h-12.jbcs.el6
  • jbcs-httpd24-httpd-0:2.4.23-102.jbcs.el7
  • jbcs-httpd24-httpd-debuginfo-0:2.4.23-102.jbcs.el7
  • jbcs-httpd24-httpd-devel-0:2.4.23-102.jbcs.el7
  • jbcs-httpd24-httpd-manual-0:2.4.23-102.jbcs.el7
  • jbcs-httpd24-httpd-selinux-0:2.4.23-102.jbcs.el7
  • jbcs-httpd24-httpd-src-zip-0:2.4.23-102.jbcs.el7
  • jbcs-httpd24-httpd-tools-0:2.4.23-102.jbcs.el7
  • jbcs-httpd24-httpd-zip-0:2.4.23-102.jbcs.el7
  • jbcs-httpd24-mod_auth_kerb-0:5.4-35.jbcs.el7
  • jbcs-httpd24-mod_auth_kerb-debuginfo-0:5.4-35.jbcs.el7
  • jbcs-httpd24-mod_bmx-0:0.9.6-14.GA.jbcs.el7
  • jbcs-httpd24-mod_bmx-debuginfo-0:0.9.6-14.GA.jbcs.el7
  • jbcs-httpd24-mod_bmx-src-zip-0:0.9.6-14.GA.jbcs.el7
  • jbcs-httpd24-mod_cluster-native-0:1.3.5-13.Final_redhat_1.jbcs.el7
  • jbcs-httpd24-mod_cluster-native-debuginfo-0:1.3.5-13.Final_redhat_1.jbcs.el7
  • jbcs-httpd24-mod_jk-ap24-0:1.2.41-14.redhat_1.jbcs.el7
  • jbcs-httpd24-mod_jk-debuginfo-0:1.2.41-14.redhat_1.jbcs.el7
  • jbcs-httpd24-mod_jk-manual-0:1.2.41-14.redhat_1.jbcs.el7
  • jbcs-httpd24-mod_ldap-0:2.4.23-102.jbcs.el7
  • jbcs-httpd24-mod_proxy_html-1:2.4.23-102.jbcs.el7
  • jbcs-httpd24-mod_rt-0:2.4.1-16.GA.jbcs.el7
  • jbcs-httpd24-mod_rt-debuginfo-0:2.4.1-16.GA.jbcs.el7
  • jbcs-httpd24-mod_rt-src-zip-0:2.4.1-16.GA.jbcs.el7
  • jbcs-httpd24-mod_security-0:2.9.1-18.GA.jbcs.el7
  • jbcs-httpd24-mod_security-debuginfo-0:2.9.1-18.GA.jbcs.el7
  • jbcs-httpd24-mod_security-src-zip-0:2.9.1-18.GA.jbcs.el7
  • jbcs-httpd24-mod_session-0:2.4.23-102.jbcs.el7
  • jbcs-httpd24-mod_ssl-1:2.4.23-102.jbcs.el7
  • jbcs-httpd24-nghttp2-0:1.12.0-9.jbcs.el7
  • jbcs-httpd24-nghttp2-debuginfo-0:1.12.0-9.jbcs.el7
  • jbcs-httpd24-openssl-1:1.0.2h-12.jbcs.el7
  • jbcs-httpd24-openssl-debuginfo-1:1.0.2h-12.jbcs.el7
  • jbcs-httpd24-openssl-devel-1:1.0.2h-12.jbcs.el7
  • jbcs-httpd24-openssl-libs-1:1.0.2h-12.jbcs.el7
  • jbcs-httpd24-openssl-perl-1:1.0.2h-12.jbcs.el7
  • jbcs-httpd24-openssl-static-1:1.0.2h-12.jbcs.el7

References