Vulnerability Name:

CVE-2018-6552 (CCN-145507)

Assigned:2018-05-30
Published:2018-05-30
Updated:2019-10-03
Summary:Apport does not properly handle crashes originating from a PID namespace allowing local users to create certain files as root which an attacker could leverage to perform a denial of service via resource exhaustion, possibly gain root privileges, or escape from containers. The is_same_ns() function returns True when /proc/<global pid>/ does not exist in order to indicate that the crash should be handled in the global namespace rather than inside of a container. However, the portion of the data/apport code that decides whether or not to forward a crash to a container does not always replace sys.argv[1] with the value stored in the host_pid variable when /proc/<global pid>/ does not exist which results in the container pid being used in the global namespace. This flaw affects versions 2.20.8-0ubuntu4 through 2.20.9-0ubuntu7, 2.20.7-0ubuntu3.7, 2.20.7-0ubuntu3.8, 2.20.1-0ubuntu2.15 through 2.20.1-0ubuntu2.17, and 2.14.1-0ubuntu3.28.
CVSS v3 Severity:7.8 High (CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
6.8 Medium (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C)
Exploitability Metrics:Attack Vector (AV): Local
Attack Complexity (AC): Low
Privileges Required (PR): Low
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): High
Integrity (I): High
Availibility (A): High
8.4 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
7.3 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:L/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): Local
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
CVSS v2 Severity:7.2 High (CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Authentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
7.2 High (CCN CVSS v2 Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C)
Exploitability Metrics:Access Vector (AV): Local
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Complete
Integrity (I): Complete
Availibility (A): Complete
Vulnerability Type:CWE-noinfo
Vulnerability Consequences:Gain Privileges
References:Source: MITRE
Type: CNA
CVE-2018-6552

Source: XF
Type: UNKNOWN
apport-cve20186552-priv-esc(145507)

Source: CCN
Type: Ubuntu Web site
Apport

Source: CCN
Type: Cisco Alert ID: 58007
Ubuntu Apport Package Core Dump Handling Privilege Escalation Vulnerability

Source: CCN
Type: Ubuntu Security Notice USN-3664-1
Apport vulnerability

Source: UBUNTU
Type: Vendor Advisory
USN-3664-2

Source: UBUNTU
Type: Vendor Advisory
USN-3664-1

Source: CCN
Type: WhiteSource Vulnerability Database
CVE-2018-6552

Vulnerable Configuration:Configuration 1:
  • cpe:/a:apport_project:apport:2.14.1:*:*:*:*:*:*:*
  • AND
  • cpe:/o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*

  • Configuration 2:
  • cpe:/a:apport_project:apport:2.20.9:*:*:*:*:*:*:*
  • AND
  • cpe:/o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*

  • Configuration 3:
  • cpe:/a:apport_project:apport:2.20.7:*:*:*:*:*:*:*
  • AND
  • cpe:/o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*

  • Configuration 4:
  • cpe:/a:apport_project:apport:2.20.1:*:*:*:*:*:*:*
  • AND
  • cpe:/o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*

  • * Denotes that component is vulnerable
    Oval Definitions
    Definition IDClassTitleLast Modified
    oval:com.ubuntu.artful:def:20186552000
    V
    CVE-2018-6552 on Ubuntu 17.10 (artful) - high.
    2018-05-31
    oval:com.ubuntu.bionic:def:201865520000000
    V
    CVE-2018-6552 on Ubuntu 18.04 LTS (bionic) - high.
    2018-05-31
    oval:com.ubuntu.bionic:def:20186552000
    V
    CVE-2018-6552 on Ubuntu 18.04 LTS (bionic) - high.
    2018-05-31
    oval:com.ubuntu.xenial:def:201865520000000
    V
    CVE-2018-6552 on Ubuntu 16.04 LTS (xenial) - high.
    2018-05-31
    oval:com.ubuntu.trusty:def:20186552000
    V
    CVE-2018-6552 on Ubuntu 14.04 LTS (trusty) - high.
    2018-05-31
    oval:com.ubuntu.xenial:def:20186552000
    V
    CVE-2018-6552 on Ubuntu 16.04 LTS (xenial) - high.
    2018-05-31
    BACK
    apport_project apport 2.14.1
    canonical ubuntu linux 14.04
    apport_project apport 2.20.9
    canonical ubuntu linux 18.04
    apport_project apport 2.20.7
    canonical ubuntu linux 17.10
    apport_project apport 2.20.1
    canonical ubuntu linux 16.04