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

high Nessus Plugin ID 119695

概要

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

說明

已在 php5 (一種伺服器端的已嵌入 HTML 指令碼語言) 中發現弱點。請注意,此更新包含對 IMAP 連線的預設行為的變更。詳情請參閱下方內容。CVE-2018-19518 imap_open() 中的引數插入弱點可讓遠端攻擊者在 IMAP 伺服器上執行任意作業系統命令。CVE-2018-19518 弱點的修正包括上游開發人員的以下補充說明:從 5.6.38 開始,預設停用 rsh/ssh 登入。如果您想啟用,請使用 imap.enable_insecure_rsh。請注意,在將信箱名稱傳遞給 rsh / ssh 命令之前,IMAP 程式庫不會篩選信箱名稱,因此在啟用 rsh / ssh 的情況下,將不受信任的資料傳遞至此函式是不安全的。CVE-2018-19935 NULL 指標解除參照會透過 ext/imap/php_imap.c 中,imap_mail 函式的 message 引數的空字串導致應用程式損毀和拒絕服務。針對 Debian 8「Jessie」,這些問題已在 5.6.39+dfsg-0+deb8u1 版本中修正。我們建議您升級 php5 套件。注意:Tenable Network Security 已直接從 DLA 安全性公告擷取前置描述區塊。Tenable 已盡量在不造成其他問題的前提下,嘗試自動清理並將其格式化。

解決方案

升級受影響的套件。

另請參閱

https://lists.debian.org/debian-lts-announce/2018/12/msg00006.html

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

Plugin 詳細資訊

嚴重性: High

ID: 119695

檔案名稱: debian_DLA-1608.nasl

版本: 1.6

類型: local

代理程式: unix

已發布: 2018/12/17

已更新: 2021/1/11

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

風險資訊

VPR

風險因素: High

分數: 8.4

CVSS v2

風險因素: High

基本分數: 8.5

時間分數: 7

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

CVSS v3

風險因素: High

基本分數: 7.5

時間分數: 7

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

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

弱點資訊

CPE: 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-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: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-phpdbg, p-cpe:/a:debian:debian_linux:php5-pspell, p-cpe:/a:debian:debian_linux:php5-readline, 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:8.0

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

可被惡意程式利用: true

可輕鬆利用: Exploits are available

修補程式發佈日期: 2018/12/16

弱點發布日期: 2018/11/25

可惡意利用

Metasploit (php imap_open Remote Code Execution)

參考資訊

CVE: CVE-2018-19518, CVE-2018-19935