Amazon Linux AMI : php56 / php55 (ALAS-2016-640)

critical Nessus Plugin ID 87974

Synopsis

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

Description

The imagerotate function lacked validation of the background color variable, an integer which represents an index of the color palette. A number larger than the length of the color palette could be used in the function, reading beyond the memory of the color palette and causing an information leak.

Solution

Run 'yum update php56' to update your system.

Run 'yum update php55' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2016-640.html

Plugin Details

Severity: Critical

ID: 87974

File Name: ala_ALAS-2016-640.nasl

Version: 2.4

Type: local

Agent: unix

Published: 1/19/2016

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: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 6.4

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

CVSS v3

Risk Factor: Critical

Base Score: 9.1

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:php56-imap, p-cpe:/a:amazon:linux:php56-mysqlnd, p-cpe:/a:amazon:linux:php55-xml, p-cpe:/a:amazon:linux:php55-ldap, p-cpe:/a:amazon:linux:php55-mssql, p-cpe:/a:amazon:linux:php55-xmlrpc, p-cpe:/a:amazon:linux:php56-opcache, p-cpe:/a:amazon:linux:php56-recode, p-cpe:/a:amazon:linux:php56-xml, p-cpe:/a:amazon:linux:php55-enchant, p-cpe:/a:amazon:linux:php56-fpm, p-cpe:/a:amazon:linux:php56-bcmath, p-cpe:/a:amazon:linux:php55-mcrypt, p-cpe:/a:amazon:linux:php56-dbg, p-cpe:/a:amazon:linux:php55-cli, p-cpe:/a:amazon:linux:php55-imap, p-cpe:/a:amazon:linux:php56-embedded, p-cpe:/a:amazon:linux:php56-mssql, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:php55-intl, p-cpe:/a:amazon:linux:php56-tidy, p-cpe:/a:amazon:linux:php56-intl, p-cpe:/a:amazon:linux:php56-pgsql, p-cpe:/a:amazon:linux:php55-dba, p-cpe:/a:amazon:linux:php55-process, p-cpe:/a:amazon:linux:php55-recode, p-cpe:/a:amazon:linux:php56-gmp, p-cpe:/a:amazon:linux:php55-snmp, p-cpe:/a:amazon:linux:php56-enchant, p-cpe:/a:amazon:linux:php56-mcrypt, p-cpe:/a:amazon:linux:php56-odbc, p-cpe:/a:amazon:linux:php56-pspell, p-cpe:/a:amazon:linux:php55-pspell, p-cpe:/a:amazon:linux:php56-soap, p-cpe:/a:amazon:linux:php55-pdo, p-cpe:/a:amazon:linux:php56-process, p-cpe:/a:amazon:linux:php56-cli, p-cpe:/a:amazon:linux:php55-soap, p-cpe:/a:amazon:linux:php55-fpm, p-cpe:/a:amazon:linux:php55-opcache, p-cpe:/a:amazon:linux:php56-dba, p-cpe:/a:amazon:linux:php55-pgsql, p-cpe:/a:amazon:linux:php56-xmlrpc, p-cpe:/a:amazon:linux:php55-mysqlnd, p-cpe:/a:amazon:linux:php55-devel, p-cpe:/a:amazon:linux:php55-bcmath, p-cpe:/a:amazon:linux:php55, p-cpe:/a:amazon:linux:php55-gd, p-cpe:/a:amazon:linux:php56-gd, p-cpe:/a:amazon:linux:php56-mbstring, p-cpe:/a:amazon:linux:php56-devel, p-cpe:/a:amazon:linux:php56-ldap, p-cpe:/a:amazon:linux:php56-snmp, p-cpe:/a:amazon:linux:php56-debuginfo, p-cpe:/a:amazon:linux:php55-gmp, p-cpe:/a:amazon:linux:php56, p-cpe:/a:amazon:linux:php56-pdo, p-cpe:/a:amazon:linux:php56-common, p-cpe:/a:amazon:linux:php55-embedded, p-cpe:/a:amazon:linux:php55-mbstring, p-cpe:/a:amazon:linux:php55-odbc, p-cpe:/a:amazon:linux:php55-debuginfo, p-cpe:/a:amazon:linux:php55-tidy, p-cpe:/a:amazon:linux:php55-common

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

Patch Publication Date: 1/18/2016

Reference Information

CVE: CVE-2016-1903

ALAS: 2016-640