FreeBSD:php -- 多個弱點 (66d77c58-3b1d-11e6-8e82-002590263bf5)

critical Nessus Plugin ID 91839

概要

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

說明

PHP 小組報告:

- 核心:

- 修正錯誤 #72268 (nl2br() 中的整數溢位)

- 修正錯誤 #72275 (json_encode()/ json_decode()/ json_utf8_to_utf16() 中的整數溢位)

- 修正錯誤 #72400 (addcslashes/ addslashes 中的整數溢位)

- 修正錯誤 #72403 (字串類型 ZVAL 長度中的整數溢位)

- GD:

- 修正錯誤 #66387 (imagefilltoborder 的堆疊溢位) (CVE-2015-8874)

- 修正錯誤 #72298 (pass2_no_dither 超出邊界存取)

- 修正錯誤 #72339 (_gd2GetHeader() 中的整數溢位導致堆積溢位) (CVE-2016-5766)

- 修正錯誤 #72407 (_gdScaleVert 的 NULL 指標解除參照)

- 修正錯誤 #72446 (gdImagePaletteToTrueColor() 中的整數溢位導致堆積溢位) (CVE-2016-5767)

- mbstring:

- 修正錯誤 #72402 (_php_mb_regex_ereg_replace_exec - 重複釋放) (CVE-2016-5768)

- mcrypt:

- 修正錯誤 #72455 (整數溢位導致的堆積溢位) (CVE-2016-5769)

- Phar:

- 修正錯誤 #72321 (phar_extract_file() 中的無效釋放)。(僅限 PHP 5.6/7.0)

- SPL:

- 修正錯誤 #72262 (SplFileObject::fread 中的 int/size_t 混淆) (CVE-2016-5770)

- 修正錯誤 #72433 (PHP 中 GC 演算法的釋放後使用弱點以及未序列化問題) (CVE-2016-5771)

- WDDX:

- 修正錯誤 #72340 (wddx_deserialize 中的重複釋放損毀) (CVE-2016-5772)

- zip:

- 修正錯誤 #72434 (PHP 中 GC 演算法的 ZipArchive 類別釋放後使用弱點以及未序列化問題)。(CVE-2016-5773)

解決方案

更新受影響的套件。

另請參閱

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210491

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210502

http://php.net/ChangeLog-5.php#5.5.37

http://php.net/ChangeLog-5.php#5.6.23

http://php.net/ChangeLog-7.php#7.0.8

http://www.nessus.org/u?189bc37f

Plugin 詳細資訊

嚴重性: Critical

ID: 91839

檔案名稱: freebsd_pkg_66d77c583b1d11e68e82002590263bf5.nasl

版本: 2.10

類型: local

已發布: 2016/6/27

已更新: 2021/1/4

支援的感應器: Nessus

風險資訊

VPR

風險因素: Medium

分數: 6.7

CVSS v2

風險因素: High

基本分數: 7.5

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

CVSS v3

風險因素: Critical

基本分數: 9.8

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

弱點資訊

CPE: p-cpe:/a:freebsd:freebsd:php55, p-cpe:/a:freebsd:freebsd:php55-gd, p-cpe:/a:freebsd:freebsd:php55-mbstring, p-cpe:/a:freebsd:freebsd:php55-wddx, p-cpe:/a:freebsd:freebsd:php55-zip, p-cpe:/a:freebsd:freebsd:php56, p-cpe:/a:freebsd:freebsd:php56-gd, p-cpe:/a:freebsd:freebsd:php56-mbstring, p-cpe:/a:freebsd:freebsd:php56-phar, p-cpe:/a:freebsd:freebsd:php56-wddx, p-cpe:/a:freebsd:freebsd:php56-zip, p-cpe:/a:freebsd:freebsd:php70, p-cpe:/a:freebsd:freebsd:php70-gd, p-cpe:/a:freebsd:freebsd:php70-mbstring, p-cpe:/a:freebsd:freebsd:php70-phar, p-cpe:/a:freebsd:freebsd:php70-wddx, p-cpe:/a:freebsd:freebsd:php70-zip, cpe:/o:freebsd:freebsd

必要的 KB 項目: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

修補程式發佈日期: 2016/6/25

弱點發布日期: 2016/6/23

參考資訊

CVE: CVE-2015-8874, CVE-2016-5766, CVE-2016-5767, CVE-2016-5768, CVE-2016-5769, CVE-2016-5770, CVE-2016-5771, CVE-2016-5772, CVE-2016-5773