RHEL 7 : rh-php71-php (RHSA-2019:2519)

critical Nessus Plugin ID 194152

Synopsis

The remote Red Hat 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-2019:2519 advisory.

PHP is an HTML-embedded scripting language commonly used with the Apache HTTP Server.

The following packages have been upgraded to a later upstream version: rh-php71-php (7.1.30). (BZ#1631672)

Security Fix(es):

* gd: Unsigned integer underflow _gdContributionsAlloc() (CVE-2016-10166)

* php: Out of bounds access in php_pcre.c:php_pcre_replace_impl() (CVE-2017-9118)

* php: Integer overflow in mysqli_api.c:mysqli_real_escape_string() (CVE-2017-9120)

* php: Heap use after free in ext/standard/var_unserializer.re (CVE-2017-12932)

* php: Reflected XSS in .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: Infinite loop in ext/iconv/iconv.c when using stream filter with convert.incov on invalid sequence leads to denial-of-service (CVE-2018-10546)

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

* php: NULL pointer dereference due to mishandling of ldap_get_dn return value allows DoS via malicious LDAP server reply (CVE-2018-10548)

* php: Mishandled http_header_value in an atoi() call in http_fopen_wrapper.c (CVE-2018-14884)

* php: Cross-site scripting (XSS) flaw in Apache2 component via body of 'Transfer-Encoding: chunked' request (CVE-2018-17082)

* gd: Heap based buffer overflow in gdImageColorMatch() in gd_color_match.c (CVE-2019-6977)

* php: Invalid memory access in function xmlrpc_decode() (CVE-2019-9020)

* php: File rename across filesystems may allow unwanted access during processing (CVE-2019-9637)

* php: Uninitialized read in exif_process_IFD_in_MAKERNOTE (CVE-2019-9638)

* php: Uninitialized read in exif_process_IFD_in_MAKERNOTE (CVE-2019-9639)

* php: Invalid read in exif_process_SOFn() (CVE-2019-9640)

* php: Out-of-bounds read due to integer overflow in iconv_mime_decode_headers() (CVE-2019-11039)

* php: Buffer over-read in exif_read_data() (CVE-2019-11040)

* php: Out-of-bound read in timelib_meridian() (CVE-2017-16642)

* gd: Infinite loop in gdImageCreateFromGifCtx() in gd_gif_in.c (CVE-2018-5711)

* php: Dumpable FPM child processes allow bypassing opcache access controls (CVE-2018-10545)

* php: Out-of-bounds read in ext/exif/exif.c:exif_read_data() when reading crafted JPEG data (CVE-2018-10549)

* php: exif: Buffer over-read in exif_process_IFD_in_MAKERNOTE() (CVE-2018-14851)

* php: Buffer over-read in PHAR reading functions (CVE-2018-20783)

* php: Heap-based buffer over-read in PHAR reading functions (CVE-2019-9021)

* php: memcpy with negative length via crafted DNS response (CVE-2019-9022)

* php: Heap-based buffer over-read in mbstring regular expression functions (CVE-2019-9023)

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

* php: Heap buffer overflow in function exif_process_IFD_TAG() (CVE-2019-11034)

* php: Heap buffer overflow in function exif_iif_add_value() (CVE-2019-11035)

* php: Buffer over-read in exif_process_IFD_TAG() leading to information disclosure (CVE-2019-11036)

* gd: Information disclosure in gdImageCreateFromXbm() (CVE-2019-11038)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

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

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?961b0f7d

https://access.redhat.com/security/updates/classification/#moderate

https://bugzilla.redhat.com/show_bug.cgi?id=1418983

https://bugzilla.redhat.com/show_bug.cgi?id=1484837

https://bugzilla.redhat.com/show_bug.cgi?id=1512057

https://bugzilla.redhat.com/show_bug.cgi?id=1535246

https://bugzilla.redhat.com/show_bug.cgi?id=1535251

https://bugzilla.redhat.com/show_bug.cgi?id=1551039

https://bugzilla.redhat.com/show_bug.cgi?id=1563858

https://bugzilla.redhat.com/show_bug.cgi?id=1573797

https://bugzilla.redhat.com/show_bug.cgi?id=1573802

https://bugzilla.redhat.com/show_bug.cgi?id=1573805

https://bugzilla.redhat.com/show_bug.cgi?id=1573814

https://bugzilla.redhat.com/show_bug.cgi?id=1609642

https://bugzilla.redhat.com/show_bug.cgi?id=1611890

https://bugzilla.redhat.com/show_bug.cgi?id=1611898

https://bugzilla.redhat.com/show_bug.cgi?id=1612362

https://bugzilla.redhat.com/show_bug.cgi?id=1629552

https://bugzilla.redhat.com/show_bug.cgi?id=1672207

https://bugzilla.redhat.com/show_bug.cgi?id=1680545

https://bugzilla.redhat.com/show_bug.cgi?id=1685123

https://bugzilla.redhat.com/show_bug.cgi?id=1685132

https://bugzilla.redhat.com/show_bug.cgi?id=1685398

https://bugzilla.redhat.com/show_bug.cgi?id=1685404

https://bugzilla.redhat.com/show_bug.cgi?id=1685412

https://bugzilla.redhat.com/show_bug.cgi?id=1688897

https://bugzilla.redhat.com/show_bug.cgi?id=1688922

https://bugzilla.redhat.com/show_bug.cgi?id=1688934

https://bugzilla.redhat.com/show_bug.cgi?id=1688939

https://bugzilla.redhat.com/show_bug.cgi?id=1702246

https://bugzilla.redhat.com/show_bug.cgi?id=1702256

https://bugzilla.redhat.com/show_bug.cgi?id=1707299

https://bugzilla.redhat.com/show_bug.cgi?id=1724149

https://bugzilla.redhat.com/show_bug.cgi?id=1724152

https://bugzilla.redhat.com/show_bug.cgi?id=1724154

https://access.redhat.com/errata/RHSA-2019:2519

Plugin Details

Severity: Critical

ID: 194152

File Name: redhat-RHSA-2019-2519.nasl

Version: 1.1

Type: local

Agent: unix

Published: 4/28/2024

Updated: 11/6/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

Vendor

Vendor Severity: Moderate

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

CVSS Score Source: CVE-2019-9023

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: p-cpe:/a:redhat:enterprise_linux:rh-php71-php-ldap, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-odbc, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-dbg, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-devel, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-cli, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-enchant, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-xml, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-bcmath, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-intl, p-cpe:/a:redhat:enterprise_linux:rh-php71-php, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-embedded, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-gmp, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-zip, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-pgsql, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-pspell, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-soap, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-snmp, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-xmlrpc, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-mysqlnd, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-process, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-dba, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-mbstring, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-fpm, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-recode, cpe:/o:redhat:enterprise_linux:7, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-json, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-common, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-opcache, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-gd, p-cpe:/a:redhat:enterprise_linux:rh-php71-php-pdo

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 8/19/2019

Vulnerability Publication Date: 1/28/2017

Reference Information

CVE: CVE-2016-10166, CVE-2017-12932, CVE-2017-16642, CVE-2017-9118, CVE-2017-9120, CVE-2018-10545, CVE-2018-10546, CVE-2018-10547, CVE-2018-10548, CVE-2018-10549, CVE-2018-14851, CVE-2018-14884, CVE-2018-17082, CVE-2018-20783, CVE-2018-5711, CVE-2018-5712, CVE-2018-7584, CVE-2019-11034, CVE-2019-11035, CVE-2019-11036, CVE-2019-11038, CVE-2019-11039, CVE-2019-11040, CVE-2019-6977, CVE-2019-9020, CVE-2019-9021, CVE-2019-9022, CVE-2019-9023, CVE-2019-9024, CVE-2019-9637, CVE-2019-9638, CVE-2019-9639, CVE-2019-9640

CWE: 119, 122, 125, 190, 200, 266, 287, 400, 416, 476, 665, 79, 835

RHSA: 2019:2519