Amazon Linux AMI : file (ALAS-2014-382)

medium Nessus Plugin ID 78325

Synopsis

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

Description

A denial of service flaw was found in the way the File Information (fileinfo) extension parsed certain Composite Document Format (CDF) files. A remote attacker could use this flaw to crash a PHP application using fileinfo via a specially crafted CDF file.

Buffer overflow in the mconvert function in softmagic.c in file before 5.19, as used in the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, allows remote attackers to cause a denial of service (application crash) via a crafted Pascal string in a FILE_PSTRING conversion.

file before 5.19 does not properly restrict the amount of data read during a regex search, which allows remote attackers to cause a denial of service (CPU consumption) via a crafted file that triggers backtracking during processing of an awk rule.

NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7345 .

Solution

Run 'yum update file' to update your system.

See Also

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

Plugin Details

Severity: Medium

ID: 78325

File Name: ala_ALAS-2014-382.nasl

Version: 1.3

Type: local

Agent: unix

Published: 10/12/2014

Updated: 4/18/2018

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.4

CVSS v2

Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:file, p-cpe:/a:amazon:linux:file-devel, p-cpe:/a:amazon:linux:python-magic, p-cpe:/a:amazon:linux:file-libs, p-cpe:/a:amazon:linux:file-debuginfo, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:file-static

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

Patch Publication Date: 7/23/2014

Reference Information

CVE: CVE-2014-0207, CVE-2014-0237, CVE-2014-0238, CVE-2014-3478, CVE-2014-3479, CVE-2014-3480, CVE-2014-3487, CVE-2014-3538

ALAS: 2014-382