Debian DLA-1608-1: php5のセキュリティ更新

high Nessus プラグイン ID 119695

概要

リモートの Debian ホストにセキュリティ更新プログラムがありません。

説明

サーバー側のHTML埋め込みスクリプト言語であるphp5に、複数の脆弱性が見つかりました。この更新には、IMAP接続のデフォルトの動作への変更が含まれていることに注意してください。詳細については、以下を参照してください。

CVE-2018-19518

imap_open()の引数インジェクションの脆弱性により、リモートの攻撃者がIMAPサーバーで任意のOSコマンドを実行できる可能性があります。

CVE-2018-19518の脆弱性の修正には、アップストリーム開発者からの次の追加の注記が含まれていました:

5.6.38以降、rsh/sshログインはデフォルトで無効になっています。これらを有効にする場合は、imap.enable_insecure_rshを使用してください。IMAPライブラリでは、rsh/sshコマンドに渡す前にメールボックス名をフィルタリングしないため、rsh/sshを有効にしてこの関数に信頼できないデータを渡すことは安全ではありません。

CVE-2018-19935

NULLポインターデリファレンスは、ext/imap/php_imap.cのimap_mail関数に対するメッセージ引数の空の文字列を介した、アプリケーションクラッシュとサービス拒否につながります。

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

プラグインの詳細

深刻度: 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

Base Score: 8.5

Temporal Score: 7

ベクトル: CVSS2#AV:N/AC:M/Au:S/C:C/I:C/A:C

CVSS v3

リスクファクター: High

Base Score: 7.5

Temporal Score: 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