Debian DLA-1373-1:php5 安全性更新

high Nessus Plugin ID 109657

概要

遠端 Debian 主機缺少一個安全性更新。

說明

在廣為使用的開放來源一般用途指令碼語言 PHP (PHP 的遞迴縮寫:超文字前置處理器) 中,發現數個問題,PHP 語言特別適合用於 web 開發,可以嵌入 HTML 之中。CVE-2018-10545 可傾印 FPM 子處理程序允許繞過 opcache 存取控制權限,因為 fpm_unix.c 會進行 PR_SET_DUMPABLE prctl 呼叫,讓一名使用者 (多使用者環境中) 透過在 PHP-FPM 工作者處理程序的 PID 上執行 gcore,從第二使用者 PHP 應用程式的處理程序記憶體中取得敏感資訊。CVE-2018-10547 在 PHAR 403 和 404 錯誤頁面上,透過 .phar 檔案的要求資料,發生反映式 XSS。注意: 此弱點之所以存在,是因為 CVE-2018-5712 的修正不完整。CVE-2018-10548 ext/ldap/ldap.c 因為未正確處理 ldap_get_dn 傳回值,允許遠端 LDAP 伺服器造成拒絕服務 (NULL 指標解除參照和應用程式損毀)。針對 Debian 7「Wheezy」,這些問題已在 5.4.45-0+deb7u14 版本中修正。我們建議您升級 php5 套件。注意:Tenable Network Security 已直接從 DLA 安全性公告擷取前置描述區塊。Tenable 已盡量在不造成其他問題的前提下,嘗試自動清理並將其格式化。

解決方案

升級受影響的套件。

另請參閱

https://lists.debian.org/debian-lts-announce/2018/05/msg00004.html

https://packages.debian.org/source/wheezy/php5

Plugin 詳細資訊

嚴重性: High

ID: 109657

檔案名稱: debian_DLA-1373.nasl

版本: 1.9

類型: local

代理程式: unix

已發布: 2018/5/10

已更新: 2021/1/11

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

風險資訊

VPR

風險因素: Medium

分數: 4.4

CVSS v2

風險因素: Medium

基本分數: 5

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

CVSS v3

風險因素: High

基本分數: 7.5

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

弱點資訊

CPE: p-cpe:/a:debian:debian_linux:php5-cgi, p-cpe:/a:debian:debian_linux:php5-cli, p-cpe:/a:debian:debian_linux:php5-common, p-cpe:/a:debian:debian_linux:php5-curl, p-cpe:/a:debian:debian_linux:php5-dbg, p-cpe:/a:debian:debian_linux:php5-dev, p-cpe:/a:debian:debian_linux:php5-enchant, p-cpe:/a:debian:debian_linux:php5-fpm, p-cpe:/a:debian:debian_linux:php5-gd, p-cpe:/a:debian:debian_linux:php5-gmp, p-cpe:/a:debian:debian_linux:php5-imap, p-cpe:/a:debian:debian_linux:php5-interbase, p-cpe:/a:debian:debian_linux:php5-intl, p-cpe:/a:debian:debian_linux:php5-ldap, p-cpe:/a:debian:debian_linux:php5-mcrypt, p-cpe:/a:debian:debian_linux:libapache2-mod-php5, p-cpe:/a:debian:debian_linux:libapache2-mod-php5filter, p-cpe:/a:debian:debian_linux:libphp5-embed, p-cpe:/a:debian:debian_linux:php-pear, p-cpe:/a:debian:debian_linux:php5, p-cpe:/a:debian:debian_linux:php5-mysql, p-cpe:/a:debian:debian_linux:php5-mysqlnd, p-cpe:/a:debian:debian_linux:php5-odbc, p-cpe:/a:debian:debian_linux:php5-pgsql, p-cpe:/a:debian:debian_linux:php5-pspell, p-cpe:/a:debian:debian_linux:php5-recode, p-cpe:/a:debian:debian_linux:php5-snmp, p-cpe:/a:debian:debian_linux:php5-sqlite, p-cpe:/a:debian:debian_linux:php5-sybase, p-cpe:/a:debian:debian_linux:php5-tidy, p-cpe:/a:debian:debian_linux:php5-xmlrpc, p-cpe:/a:debian:debian_linux:php5-xsl, cpe:/o:debian:debian_linux:7.0

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

修補程式發佈日期: 2018/5/9

參考資訊

CVE: CVE-2018-10545, CVE-2018-10547, CVE-2018-10548