Vulnerability Name:

CVE-2016-5408 (CCN-116203)

Assigned:2016-04-20
Published:2016-04-20
Updated:2019-12-27
Summary:Stack-based buffer overflow in the munge_other_line function in cachemgr.cgi in the squid package before 3.1.23-16.el6_8.6 in Red Hat Enterprise Linux 6 allows remote attackers to execute arbitrary code via unspecified vectors.
Note: this vulnerability exists because of an incorrect fix for CVE-2016-4051.
CVSS v3 Severity:9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
8.5 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
6.4 Medium (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
7.5 High (REDHAT CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H)
6.5 Medium (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): High
Privileges Required (PR): None
User Interaction (UI): Required
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
CVSS v2 Severity:7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
5.1 Medium (REDHAT CVSS v2 Vector: AV:N/AC:H/Au:N/C:P/I:P/A:P)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): High
Authentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Type:CWE-119
CWE-122
Vulnerability Consequences:Gain Access
References:Source: MITRE
Type: CNA
CVE-2016-5408

Source: CCN
Type: RHSA-2016-1573
Moderate: squid security update

Source: REDHAT
Type: Patch, Vendor Advisory
RHSA-2016:1573

Source: CCN
Type: IBM Security Bulletin 2008901 (Security Guardium)
IBM Security Guardium is affected by Using Components with Known Vulnerabilities

Source: CONFIRM
Type: Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html

Source: CCN
Type: BID-92358
Squid CVE-2016-5408 Incomplete Fix Remote Buffer Overflow Vulnerability

Source: CCN
Type: Squid Cache Web site
Squid: Optimising Web Delivery

Source: CCN
Type: Red Hat Bugzilla – Bug 1359203
(CVE-2016-5408) CVE-2016-5408 squid: Buffer overflow vulnerability in cachemgr.cgi tool

Source: XF
Type: UNKNOWN
squid-cve20165408-bo(116203)

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2016-5408

Vulnerable Configuration:Configuration 1:
  • cpe:/o:oracle:linux:6:*:*:*:*:*:*:*

  • Configuration 2:
  • cpe:/o:redhat:enterprise_linux_server:6.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_workstation:6.0:*:*:*:*:*:*:*

  • Configuration RedHat 1:
  • cpe:/o:redhat:enterprise_linux:6:*:*:*:*:*:*:*

  • Configuration RedHat 2:
  • cpe:/o:redhat:enterprise_linux:6::server:*:*:*:*:*

  • Configuration RedHat 3:
  • cpe:/o:redhat:enterprise_linux:6::workstation:*:*:*:*:*

  • Configuration CCN 1:
  • cpe:/a:squid-cache:squid:3.1:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.22:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.5.13:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:4.0:*:*:*:*:*:*:*
  • OR cpe:/a:squid-cache:squid:3.1.23:*:*:*:*:*:*:*
  • AND
  • cpe:/a:ibm:security_guardium:10.0:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_server:6:*:*:*:*:*:*:*
  • OR cpe:/o:redhat:enterprise_linux_workstation:6:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:security_guardium:10.0.1:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:security_guardium:10.1:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:security_guardium:10.1.2:*:*:*:*:*:*:*
  • OR cpe:/a:ibm:security_guardium:10.1.3:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.xenial:def:201654080000000
    V
    CVE-2016-5408 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-08-10
    oval:com.ubuntu.precise:def:20165408000
    V
    CVE-2016-5408 on Ubuntu 12.04 LTS (precise) - medium.
    2016-08-10
    oval:com.ubuntu.trusty:def:20165408000
    V
    CVE-2016-5408 on Ubuntu 14.04 LTS (trusty) - medium.
    2016-08-10
    oval:com.ubuntu.xenial:def:20165408000
    V
    CVE-2016-5408 on Ubuntu 16.04 LTS (xenial) - medium.
    2016-08-10
    oval:com.redhat.rhsa:def:20161573
    P
    RHSA-2016:1573: squid security update (Moderate)
    2016-08-04
    BACK
    oracle linux 6
    redhat enterprise linux server 6.0
    redhat enterprise linux workstation 6.0
    squid-cache squid 3.1
    squid-cache squid 3.1.22
    squid-cache squid 3.5.13
    squid-cache squid 4.0
    squid-cache squid 3.1.23
    ibm security guardium 10.0
    redhat enterprise linux server 6
    redhat enterprise linux workstation 6
    ibm security guardium 10.0.1
    ibm security guardium 10.1
    ibm security guardium 10.1.2
    ibm security guardium 10.1.3