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

critical Nessus Plugin 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

Plugin 詳細資訊

嚴重性: 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