Ubuntu 14.04 LTS / 16.04 LTS : Apport vulnerabilities (USN-3157-1)

high Nessus Plugin ID 95873

Synopsis

The remote Ubuntu host is missing one or more security updates.

Description

Donncha O Cearbhaill discovered that the crash file parser in Apport improperly treated the CrashDB field as python code. An attacker could use this to convince a user to open a maliciously crafted crash file and execute arbitrary code with the privileges of that user. This issue only affected Ubuntu 14.04 LTS and Ubuntu 16.04 LTS.
(CVE-2016-9949)

Donncha O Cearbhaill discovered that Apport did not properly sanitize the Package and SourcePackage fields in crash files before processing package specific hooks. An attacker could use this to convince a user to open a maliciously crafted crash file and execute arbitrary code with the privileges of that user. (CVE-2016-9950)

Donncha O Cearbhaill discovered that Apport would offer to restart an application based on the contents of the RespawnCommand or ProcCmdline fields in a crash file. An attacker could use this to convince a user to open a maliciously crafted crash file and execute arbitrary code with the privileges of that user. (CVE-2016-9951).

Note that Tenable Network Security has extracted the preceding description block directly from the Ubuntu security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Update the affected packages.

See Also

https://ubuntu.com/security/notices/USN-3157-1

Plugin Details

Severity: High

ID: 95873

File Name: ubuntu_USN-3157-1.nasl

Version: 3.10

Type: local

Agent: unix

Published: 12/15/2016

Updated: 10/20/2023

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: High

Score: 7.4

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.7

Vector: CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2016-9950

CVSS v3

Risk Factor: High

Base Score: 7.8

Temporal Score: 7.2

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:apport, p-cpe:/a:canonical:ubuntu_linux:apport-gtk, p-cpe:/a:canonical:ubuntu_linux:apport-kde, p-cpe:/a:canonical:ubuntu_linux:apport-noui, p-cpe:/a:canonical:ubuntu_linux:apport-retrace, p-cpe:/a:canonical:ubuntu_linux:apport-valgrind, p-cpe:/a:canonical:ubuntu_linux:dh-apport, p-cpe:/a:canonical:ubuntu_linux:python-apport, p-cpe:/a:canonical:ubuntu_linux:python-problem-report, p-cpe:/a:canonical:ubuntu_linux:python3-apport, p-cpe:/a:canonical:ubuntu_linux:python3-problem-report, cpe:/o:canonical:ubuntu_linux:14.04:-:lts, cpe:/o:canonical:ubuntu_linux:16.04:-:lts

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 12/14/2016

Vulnerability Publication Date: 12/17/2016

Exploitable With

CANVAS (CANVAS)

Reference Information

CVE: CVE-2016-9949, CVE-2016-9950, CVE-2016-9951

USN: 3157-1