Amazon Linux AMI : rpm (ALAS-2014-458)

critical Nessus Plugin ID 79842

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

It was found that RPM could encounter an integer overflow, leading to a stack-based overflow, while parsing a crafted CPIO header in the payload section of an RPM file. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2014-8118)

It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely.
Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation.
Red Hat has published an excellent analysis of this issue.
(CVE-2013-6435)

Solution

Run 'yum update rpm' to update your system.

See Also

https://access.redhat.com/blogs/766093/posts/1976443

https://alas.aws.amazon.com/ALAS-2014-458.html

Plugin Details

Severity: Critical

ID: 79842

File Name: ala_ALAS-2014-458.nasl

Version: 1.6

Type: local

Agent: unix

Published: 12/10/2014

Updated: 11/19/2018

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Critical

Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:rpm, p-cpe:/a:amazon:linux:rpm-apidocs, p-cpe:/a:amazon:linux:rpm-build, p-cpe:/a:amazon:linux:rpm-build-libs, p-cpe:/a:amazon:linux:rpm-cron, p-cpe:/a:amazon:linux:rpm-debuginfo, p-cpe:/a:amazon:linux:rpm-devel, p-cpe:/a:amazon:linux:rpm-libs, p-cpe:/a:amazon:linux:rpm-python, p-cpe:/a:amazon:linux:rpm-sign, cpe:/o:amazon:linux

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Patch Publication Date: 12/10/2014

Reference Information

CVE: CVE-2013-6435, CVE-2014-8118

ALAS: 2014-458