CentOS 7 : php (CESA-2020:1112)

critical Nessus Plugin ID 135338
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote CentOS host is missing one or more security updates.

Description

The remote Redhat Enterprise Linux 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2020:1112 advisory.

- php: Reflected XSS vulnerability on PHAR 403 and 404 error pages (CVE-2018-10547)

- php: Reflected XSS on PHAR 404 page (CVE-2018-5712)

- php: Stack-based buffer under-read in php_stream_url_wrap_http_ex() in http_fopen_wrapper.c when parsing HTTP response (CVE-2018-7584)

- php: Out-of-bounds read in base64_decode_xmlrpc in ext/xmlrpc/libxmlrpc/base64.c (CVE-2019-9024)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.

Solution

Update the affected php packages.

See Also

http://www.nessus.org/u?2f2ed9eb

Plugin Details

Severity: Critical

ID: 135338

File Name: centos_RHSA-2020-1112.nasl

Version: 1.3

Type: local

Agent: unix

Published: 4/10/2020

Updated: 6/5/2020

Dependencies: ssh_get_info.nasl

Risk Information

CVSS Score Source: CVE-2018-7584

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.9

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

Temporal Vector: CVSS2#E:POC/RL:OF/RC:C

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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:P/RL:O/RC:C

Vulnerability Information

CPE: cpe:2.3:o:centos:centos:7:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-devel:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-gd:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-ldap:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-mbstring:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-mysql:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-odbc:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-pgsql:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-snmp:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-xmlrpc:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-bcmath:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-cli:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-common:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-dba:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-pdo:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-soap:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-xml:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-embedded:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-enchant:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-fpm:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-intl:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-process:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-pspell:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-recode:*:*:*:*:*:*:*, p-cpe:2.3:a:centos:centos:php-mysqlnd:*:*:*:*:*:*:*

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/8/2020

Vulnerability Publication Date: 1/16/2018

Reference Information

CVE: CVE-2018-5712, CVE-2018-7584, CVE-2018-10547, CVE-2019-9024

RHSA: 2020:1112