Amazon Linux AMI : php71 / php72, php73, php56 (ALAS-2019-1315)

critical Nessus Plugin ID 130471

Synopsis

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

Description

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it is possible to cause FPM module to write past allocated buffers into the space reserved for FCGI protocol data, thus opening the possibility of remote code execution.(CVE-2019-11043)

Solution

Run 'yum update php71' to update your system.

Run 'yum update php72' to update your system.

Run 'yum update php73' to update your system.

Run 'yum update php56' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2019-1315.html

Plugin Details

Severity: Critical

ID: 130471

File Name: ala_ALAS-2019-1315.nasl

Version: 1.10

Type: local

Agent: unix

Published: 11/4/2019

Updated: 12/6/2022

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

Risk Information

VPR

Risk Factor: High

Score: 8.4

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

CVSS Score Source: CVE-2019-11043

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.4

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:php56-imap, p-cpe:/a:amazon:linux:php73-devel, p-cpe:/a:amazon:linux:php56-opcache, p-cpe:/a:amazon:linux:php72-odbc, p-cpe:/a:amazon:linux:php73-cli, p-cpe:/a:amazon:linux:php71-pdo, p-cpe:/a:amazon:linux:php71-soap, cpe:/o:amazon:linux, p-cpe:/a:amazon:linux:php72-bcmath, p-cpe:/a:amazon:linux:php73-process, p-cpe:/a:amazon:linux:php56-gmp, p-cpe:/a:amazon:linux:php56-enchant, p-cpe:/a:amazon:linux:php71-mcrypt, p-cpe:/a:amazon:linux:php73-json, p-cpe:/a:amazon:linux:php56-odbc, p-cpe:/a:amazon:linux:php71-common, p-cpe:/a:amazon:linux:php71-json, p-cpe:/a:amazon:linux:php73-soap, p-cpe:/a:amazon:linux:php73-bcmath, p-cpe:/a:amazon:linux:php71-fpm, p-cpe:/a:amazon:linux:php56-debuginfo, p-cpe:/a:amazon:linux:php73-pdo, p-cpe:/a:amazon:linux:php71-dba, p-cpe:/a:amazon:linux:php72-gd, p-cpe:/a:amazon:linux:php72-opcache, p-cpe:/a:amazon:linux:php56-fpm, p-cpe:/a:amazon:linux:php56-bcmath, p-cpe:/a:amazon:linux:php56-mssql, p-cpe:/a:amazon:linux:php72-gmp, p-cpe:/a:amazon:linux:php73-imap, p-cpe:/a:amazon:linux:php73-enchant, p-cpe:/a:amazon:linux:php72-debuginfo, p-cpe:/a:amazon:linux:php72-dba, p-cpe:/a:amazon:linux:php73-odbc, p-cpe:/a:amazon:linux:php56-mcrypt, p-cpe:/a:amazon:linux:php71-pgsql, p-cpe:/a:amazon:linux:php56-soap, p-cpe:/a:amazon:linux:php73-snmp, p-cpe:/a:amazon:linux:php72, p-cpe:/a:amazon:linux:php71-cli, p-cpe:/a:amazon:linux:php73-recode, p-cpe:/a:amazon:linux:php72-tidy, p-cpe:/a:amazon:linux:php71, p-cpe:/a:amazon:linux:php56-mbstring, p-cpe:/a:amazon:linux:php73-xml, p-cpe:/a:amazon:linux:php72-fpm, p-cpe:/a:amazon:linux:php72-xmlrpc, p-cpe:/a:amazon:linux:php73-mbstring, p-cpe:/a:amazon:linux:php56, p-cpe:/a:amazon:linux:php72-json, p-cpe:/a:amazon:linux:php71-embedded, p-cpe:/a:amazon:linux:php71-devel, p-cpe:/a:amazon:linux:php73-intl, p-cpe:/a:amazon:linux:php72-pgsql, p-cpe:/a:amazon:linux:php73-gmp, p-cpe:/a:amazon:linux:php56-mysqlnd, p-cpe:/a:amazon:linux:php72-pspell, p-cpe:/a:amazon:linux:php71-xml, p-cpe:/a:amazon:linux:php71-odbc, p-cpe:/a:amazon:linux:php72-xml, p-cpe:/a:amazon:linux:php73-gd, p-cpe:/a:amazon:linux:php72-enchant, p-cpe:/a:amazon:linux:php73-mysqlnd, p-cpe:/a:amazon:linux:php71-mysqlnd, p-cpe:/a:amazon:linux:php73-fpm, p-cpe:/a:amazon:linux:php72-pdo-dblib, p-cpe:/a:amazon:linux:php73-pdo-dblib, 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:php72-devel, p-cpe:/a:amazon:linux:php73-embedded, p-cpe:/a:amazon:linux:php56-pspell, p-cpe:/a:amazon:linux:php71-ldap, p-cpe:/a:amazon:linux:php56-cli, p-cpe:/a:amazon:linux:php72-ldap, p-cpe:/a:amazon:linux:php73-common, p-cpe:/a:amazon:linux:php56-dba, p-cpe:/a:amazon:linux:php72-mbstring, p-cpe:/a:amazon:linux:php72-common, p-cpe:/a:amazon:linux:php56-gd, p-cpe:/a:amazon:linux:php72-recode, p-cpe:/a:amazon:linux:php73, p-cpe:/a:amazon:linux:php56-devel, p-cpe:/a:amazon:linux:php72-cli, p-cpe:/a:amazon:linux:php56-snmp, p-cpe:/a:amazon:linux:php71-mbstring, p-cpe:/a:amazon:linux:php72-process, p-cpe:/a:amazon:linux:php73-dbg, p-cpe:/a:amazon:linux:php73-pgsql, p-cpe:/a:amazon:linux:php71-pspell, p-cpe:/a:amazon:linux:php71-bcmath, p-cpe:/a:amazon:linux:php56-recode, p-cpe:/a:amazon:linux:php56-xml, p-cpe:/a:amazon:linux:php72-snmp, p-cpe:/a:amazon:linux:php72-dbg, p-cpe:/a:amazon:linux:php71-snmp, p-cpe:/a:amazon:linux:php71-tidy, p-cpe:/a:amazon:linux:php56-dbg, p-cpe:/a:amazon:linux:php56-embedded, p-cpe:/a:amazon:linux:php72-embedded, p-cpe:/a:amazon:linux:php72-pdo, p-cpe:/a:amazon:linux:php72-soap, p-cpe:/a:amazon:linux:php71-imap, p-cpe:/a:amazon:linux:php71-xmlrpc, p-cpe:/a:amazon:linux:php73-debuginfo, p-cpe:/a:amazon:linux:php73-pspell, p-cpe:/a:amazon:linux:php73-opcache, p-cpe:/a:amazon:linux:php71-opcache, p-cpe:/a:amazon:linux:php73-dba, p-cpe:/a:amazon:linux:php71-recode, p-cpe:/a:amazon:linux:php71-enchant, p-cpe:/a:amazon:linux:php73-tidy, p-cpe:/a:amazon:linux:php56-process, p-cpe:/a:amazon:linux:php71-process, p-cpe:/a:amazon:linux:php71-dbg, p-cpe:/a:amazon:linux:php56-xmlrpc, p-cpe:/a:amazon:linux:php71-gmp, p-cpe:/a:amazon:linux:php72-intl, p-cpe:/a:amazon:linux:php72-mysqlnd, p-cpe:/a:amazon:linux:php56-ldap, p-cpe:/a:amazon:linux:php71-pdo-dblib, p-cpe:/a:amazon:linux:php72-imap, p-cpe:/a:amazon:linux:php71-intl, p-cpe:/a:amazon:linux:php56-pdo, p-cpe:/a:amazon:linux:php73-ldap, p-cpe:/a:amazon:linux:php56-common, p-cpe:/a:amazon:linux:php71-gd, p-cpe:/a:amazon:linux:php71-debuginfo, p-cpe:/a:amazon:linux:php73-xmlrpc

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/31/2019

Vulnerability Publication Date: 10/28/2019

CISA Known Exploited Vulnerability Due Dates: 4/15/2022

Exploitable With

Metasploit (PHP-FPM Underflow RCE)

Reference Information

CVE: CVE-2019-11043

ALAS: 2019-1315