Ubuntu 14.04 LTS / 16.04 LTS:PHP 弱點 (USN-2984-1)

critical Nessus Plugin ID 91320

概要

遠端 Ubuntu 主機缺少一個或多個安全性更新。

說明

據發現,PHP Fileinfo 元件並未正確處理特定 magic 檔案。攻擊者可利用此問題造成 PHP 損毀,進而導致拒絕服務,或可能執行任意程式碼。這個問題只會影響 Ubuntu 16.04 LTS。(CVE-2015-8865)

Hans Jerry Illikainen 發現 PHP Zip 延伸模組未正確處理特定格式錯誤的 Zip 封存。遠端攻擊者可利用此問題造成 PHP 損毀,進而引發拒絕服務或可能執行任意程式碼。這個問題只會影響 Ubuntu 16.04 LTS。(CVE-2016-3078)

據發現,PHP 未正確處理 SplDoublyLinkedList 類別中的無效索引。攻擊者可利用此問題造成 PHP 損毀,進而導致拒絕服務,或可能執行任意程式碼。這個問題只會影響 Ubuntu 16.04 LTS。
(CVE-2016-3132)

據發現,PHP rawurlencode() 函式未正確處理大型字串。遠端攻擊者可利用此問題造成 PHP 損毀,進而導致拒絕服務。這個問題只會影響 Ubuntu 16.04 LTS。(CVE-2016-4070)

據發現,PHP php_snmp_error() 函式未正確處理字串格式設定。遠端攻擊者可利用此問題造成 PHP 損毀,進而引發拒絕服務或可能執行任意程式碼。這個問題只會影響 Ubuntu 16.04 LTS。
(CVE-2016-4071)

據發現,PHP phar 延伸模組未正確處理封存中的特定檔案名稱。遠端攻擊者可利用此問題造成 PHP 損毀,進而引發拒絕服務或可能執行任意程式碼。這個問題只會影響 Ubuntu 16.04 LTS。
(CVE-2016-4072)

據發現,PHP mb_strcut() 函式未正確處理字串格式設定。遠端攻擊者可利用此問題造成 PHP 損毀,進而引發拒絕服務或可能執行任意程式碼。這個問題只會影響 Ubuntu 16.04 LTS。
(CVE-2016-4073)

據發現,PHP phar 延伸模組未正確處理特定封存檔案。遠端攻擊者可利用此問題造成 PHP 損毀,進而引發拒絕服務或可能執行任意程式碼。此問題僅影響了 Ubuntu 12.04 LTS、Ubuntu 14.04 LTS 和 Ubuntu 15.10。(CVE-2016-4342、CVE-2016-4343)

據發現,PHP bcpowmod() 函式未正確處理記憶體。遠端攻擊者可利用此問題造成 PHP 損毀,進而引發拒絕服務或可能執行任意程式碼。
(CVE-2016-4537、CVE-2016-4538)

據發現,PHP XML 剖析器未正確處理某些格式錯誤的 XML 資料。遠端攻擊者可能利用此問題造成 PHP 損毀,進而造成拒絕服務或可能執行任意程式碼。(CVE-2016-4539)

據發現,特定 PHP grapheme 函式未正確處理負位移。遠端攻擊者可能會利用此問題造成 PHP 損毀,從而引發拒絕服務。
(CVE-2016-4540、CVE-2016-4541)

據發現,PHP 未正確處理某些格式錯誤的 EXIF 標籤。遠端攻擊者可能會利用此問題造成 PHP 損毀,從而引發拒絕服務。(CVE-2016-4542、CVE-2016-4543、CVE-2016-4544)

請注意,Tenable Network Security 已直接從 Ubuntu 安全性公告擷取前述描述區塊。Tenable 已盡量在不造成其他問題的前提下,嘗試自動清理並將其格式化。

解決方案

更新受影響的套件。

另請參閱

https://ubuntu.com/security/notices/USN-2984-1

Plugin 詳細資訊

嚴重性: Critical

ID: 91320

檔案名稱: ubuntu_USN-2984-1.nasl

版本: 2.13

類型: local

代理程式: unix

已發布: 2016/5/25

已更新: 2023/10/20

支援的感應器: Agentless Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 8.3

時間分數: 6.5

媒介: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:C

CVSS 評分資料來源: CVE-2016-4342

CVSS v3

風險因素: Critical

基本分數: 9.8

時間分數: 8.8

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

時間媒介: CVSS:3.0/E:P/RL:O/RC:C

CVSS 評分資料來源: CVE-2016-4544

弱點資訊

CPE: p-cpe:/a:canonical:ubuntu_linux:php5-snmp, p-cpe:/a:canonical:ubuntu_linux:php5-sqlite, p-cpe:/a:canonical:ubuntu_linux:php5-sybase, p-cpe:/a:canonical:ubuntu_linux:php5-tidy, p-cpe:/a:canonical:ubuntu_linux:php5-xmlrpc, p-cpe:/a:canonical:ubuntu_linux:php5-xsl, p-cpe:/a:canonical:ubuntu_linux:php7.0, p-cpe:/a:canonical:ubuntu_linux:php7.0-bcmath, p-cpe:/a:canonical:ubuntu_linux:php7.0-bz2, p-cpe:/a:canonical:ubuntu_linux:php7.0-cgi, p-cpe:/a:canonical:ubuntu_linux:php7.0-cli, p-cpe:/a:canonical:ubuntu_linux:php7.0-common, p-cpe:/a:canonical:ubuntu_linux:php7.0-curl, p-cpe:/a:canonical:ubuntu_linux:php7.0-dev, p-cpe:/a:canonical:ubuntu_linux:php7.0-enchant, p-cpe:/a:canonical:ubuntu_linux:php7.0-fpm, p-cpe:/a:canonical:ubuntu_linux:php7.0-gd, p-cpe:/a:canonical:ubuntu_linux:php7.0-gmp, p-cpe:/a:canonical:ubuntu_linux:php7.0-imap, p-cpe:/a:canonical:ubuntu_linux:php7.0-interbase, p-cpe:/a:canonical:ubuntu_linux:libapache2-mod-php5, p-cpe:/a:canonical:ubuntu_linux:libapache2-mod-php5filter, p-cpe:/a:canonical:ubuntu_linux:libapache2-mod-php7.0, p-cpe:/a:canonical:ubuntu_linux:libphp5-embed, p-cpe:/a:canonical:ubuntu_linux:libphp7.0-embed, p-cpe:/a:canonical:ubuntu_linux:php-pear, p-cpe:/a:canonical:ubuntu_linux:php5, p-cpe:/a:canonical:ubuntu_linux:php5-cgi, p-cpe:/a:canonical:ubuntu_linux:php5-cli, p-cpe:/a:canonical:ubuntu_linux:php5-common, p-cpe:/a:canonical:ubuntu_linux:php5-curl, p-cpe:/a:canonical:ubuntu_linux:php5-dev, p-cpe:/a:canonical:ubuntu_linux:php7.0-intl, p-cpe:/a:canonical:ubuntu_linux:php7.0-json, p-cpe:/a:canonical:ubuntu_linux:php7.0-ldap, p-cpe:/a:canonical:ubuntu_linux:php7.0-mbstring, p-cpe:/a:canonical:ubuntu_linux:php7.0-mcrypt, p-cpe:/a:canonical:ubuntu_linux:php7.0-mysql, p-cpe:/a:canonical:ubuntu_linux:php7.0-odbc, p-cpe:/a:canonical:ubuntu_linux:php7.0-opcache, p-cpe:/a:canonical:ubuntu_linux:php7.0-pgsql, p-cpe:/a:canonical:ubuntu_linux:php7.0-phpdbg, p-cpe:/a:canonical:ubuntu_linux:php7.0-pspell, p-cpe:/a:canonical:ubuntu_linux:php7.0-readline, p-cpe:/a:canonical:ubuntu_linux:php7.0-recode, p-cpe:/a:canonical:ubuntu_linux:php7.0-snmp, p-cpe:/a:canonical:ubuntu_linux:php5-enchant, p-cpe:/a:canonical:ubuntu_linux:php5-fpm, p-cpe:/a:canonical:ubuntu_linux:php5-gd, p-cpe:/a:canonical:ubuntu_linux:php5-gmp, p-cpe:/a:canonical:ubuntu_linux:php5-intl, p-cpe:/a:canonical:ubuntu_linux:php5-ldap, p-cpe:/a:canonical:ubuntu_linux:php5-mysql, p-cpe:/a:canonical:ubuntu_linux:php5-mysqlnd, p-cpe:/a:canonical:ubuntu_linux:php5-odbc, p-cpe:/a:canonical:ubuntu_linux:php5-pgsql, p-cpe:/a:canonical:ubuntu_linux:php5-pspell, p-cpe:/a:canonical:ubuntu_linux:php5-readline, p-cpe:/a:canonical:ubuntu_linux:php5-recode, p-cpe:/a:canonical:ubuntu_linux:php7.0-soap, p-cpe:/a:canonical:ubuntu_linux:php7.0-sqlite3, p-cpe:/a:canonical:ubuntu_linux:php7.0-sybase, p-cpe:/a:canonical:ubuntu_linux:php7.0-tidy, p-cpe:/a:canonical:ubuntu_linux:php7.0-xml, p-cpe:/a:canonical:ubuntu_linux:php7.0-xmlrpc, p-cpe:/a:canonical:ubuntu_linux:php7.0-xsl, p-cpe:/a:canonical:ubuntu_linux:php7.0-zip, cpe:/o:canonical:ubuntu_linux:14.04:-:lts, cpe:/o:canonical:ubuntu_linux:16.04:-:lts

必要的 KB 項目: Host/cpu, Host/Ubuntu, Host/Ubuntu/release, Host/Debian/dpkg-l

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2016/5/24

弱點發布日期: 2016/5/20

參考資訊

CVE: CVE-2015-8865, CVE-2016-3078, CVE-2016-3132, CVE-2016-4070, CVE-2016-4071, CVE-2016-4072, CVE-2016-4073, CVE-2016-4342, CVE-2016-4343, CVE-2016-4537, CVE-2016-4538, CVE-2016-4539, CVE-2016-4540, CVE-2016-4541, CVE-2016-4542, CVE-2016-4543, CVE-2016-4544

USN: 2984-1