RHEL 7:rh-php72-php (RHSA-2019:3299)

critical Nessus 插件 ID 193829

简介

远程 Red Hat 主机缺少一个或多个 rh-php72-php 安全更新。

描述

远程 Redhat Enterprise Linux 7 主机上安装的程序包受到 RHSA-2019:3299 公告中提及的多个漏洞的影响。

- gd:无符号整数下溢 _gdContributionsAlloc() (CVE-2016-10166)

- php:PHAR 读取函数中的缓冲区过度读取 (CVE-2018-20783)

- gd:gd_color_match.c 的 gdImageColorMatch() 中存在基于堆的缓冲区溢出 (CVE-2019-6977)

- php:xmlrpc_decode() 函数中的无效内存访问 (CVE-2019-9020)

- php:PHAR 读取函数中基于堆的缓冲区过度读取 (CVE-2019-9021)

- php:通过精心构建的 DNS 响应获得的长度为负的 memcpy (CVE-2019-9022)

- php:mbstring 正则表达式函数中基于堆的缓冲区过度读取 (CVE-2019-9023)

- php:ext/xmlrpc/libxmlrpc/base64.c 的 base64_decode_xmlrpc 中存在越界读取 (CVE-2019-9024)

- php:文件系统中的文件重命名可能在处理期间造成不需要的访问 (CVE-2019-9637)

- php:exif_process_IFD_in_MAKERNOTE 中未初始化的读取(CVE-2019-9638、CVE-2019-9639)

- php:exif_process_SOFn() 中的无效读取 (CVE-2019-9640)

- php:exif_process_IFD_TAG() 函数中的堆缓冲区溢出 (CVE-2019-11034)

- php:exif_iif_add_value() 函数中的堆缓冲区溢出 (CVE-2019-11035)

- php:exif_process_IFD_TAG() 中的缓冲区过度读取造成信息泄露 (CVE-2019-11036)

- gd:gdImageCreateFromXbm() 中的信息泄露 (CVE-2019-11038)

- php:iconv_mime_decode_headers() 中的整数溢出导致越界读取 (CVE-2019-11039)

- php:exif_read_data() 中的缓冲区过度读取 (CVE-2019-11040)

- php:exif_scan_thumbnail() 中的堆缓冲区过度读取 (CVE-2019-11041)

- php:exif_process_user_comment() 中的堆缓冲区过度读取 (CVE-2019-11042)

- php:在 fpm_main.c 中,env_path_info 中的下溢 (CVE-2019-11043)

请注意,Nessus 尚未测试这些问题,而是只依据应用程序自我报告的版本号进行判断。

解决方案

依据 RHSA-2019:3299 中的指南更新 RHEL rh-php72-php 程序包。

另见

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

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

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://bugzilla.redhat.com/show_bug.cgi?id=1739459

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

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

http://www.nessus.org/u?971651cb

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

插件详情

严重性: Critical

ID: 193829

文件名: redhat-RHSA-2019-3299.nasl

版本: 1.2

类型: local

代理: unix

发布时间: 2024/4/24

最近更新时间: 2024/4/25

支持的传感器: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

风险信息

VPR

风险因素: High

分数: 8.4

CVSS v2

风险因素: High

基本分数: 7.5

时间分数: 6.2

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

CVSS 分数来源: CVE-2019-9023

CVSS v3

风险因素: Critical

基本分数: 9.8

时间分数: 9.1

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

时间矢量: CVSS:3.0/E:F/RL:O/RC:C

漏洞信息

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

必需的 KB 项: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

可利用: true

易利用性: Exploits are available

补丁发布日期: 2019/11/1

漏洞发布日期: 2017/1/28

CISA 已知可遭利用的漏洞到期日期: 2022/4/15

可利用的方式

Metasploit (PHP-FPM Underflow RCE)

参考资料信息

CVE: CVE-2016-10166, CVE-2018-20783, CVE-2019-11034, CVE-2019-11035, CVE-2019-11036, CVE-2019-11038, CVE-2019-11039, CVE-2019-11040, CVE-2019-11041, CVE-2019-11042, CVE-2019-11043, 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, 120, 122, 125, 190, 200, 266, 665, 787

RHSA: 2019:3299