Amazon Linux AMI : perl-Capture-Tiny (ALAS-2014-358)

low Nessus Plugin ID 78301

Synopsis

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

Description

It was found [1] that the Capture::Tiny module, provided by the perl-Capture-Tiny package, used the File::temp::tmpnam module to generate temporary files :

./lib/Capture/Tiny.pm: $stash->{flag_files}{$which} = scalar tmpnam();

This module makes use of the mktemp() function when called in the scalar context, which creates significantly more predictable temporary files. Additionally, the temporary file is created with world-writable (0666) permission. A local attacker could use this flaw to perform a symbolic link attack, overwriting arbitrary files accessible to a program using the Capture::Tiny module.

Solution

Run 'yum update perl-Capture-Tiny' to update your system.

See Also

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

Plugin Details

Severity: Low

ID: 78301

File Name: ala_ALAS-2014-358.nasl

Version: 1.4

Type: local

Agent: unix

Published: 10/12/2014

Updated: 4/18/2018

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

CVSS v2

Risk Factor: Low

Base Score: 3.6

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:perl-capture-tiny, cpe:/o:amazon:linux

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

Patch Publication Date: 6/15/2014

Reference Information

CVE: CVE-2014-1875

ALAS: 2014-358