openSUSEセキュリティ更新プログラム:php7(openSUSE-2017-304)

critical Nessus プラグイン ID 97563

Language:

概要

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

説明

このphp7の更新では、次のセキュリティ問題が修正されます:

- CVE-2016-7480:PHP内のext/spl/spl_observer.cのSplObjectStorageシリアル化解除実装は、キーがオブジェクトであることを検証していなかったため、リモート攻撃者が、細工されたシリアル化データを介して、任意のコードを実行したり、サービス拒否(初期化されていないメモリアクセス)を引き起こしたりする可能性があります(bsc#1019568)。

- CVE-2017-5340:PHP内のZend/zend_hash.cでは、大きな配列の割り当てを必要とする特定のケースが誤って処理されていたため、リモート攻撃者が、細工されたシリアル化データを介して、任意のコードを実行したり、サービス拒否(整数オーバーフロー、初期化されていないメモリアクセス、任意のデストラクター関数ポインターの使用)を引き起こしたりする可能性があります。(bsc#1019570)

- CVE-2016-7479:PHP 7のすべてのバージョンで、シリアル化解除プロセス中にシリアル化されたオブジェクトの「properties」ハッシュテーブルのサイズを変更すると、メモリ解放後使用につながる可能性があります。リモート攻撃者がこのバグを悪用して任意のコードを実行する可能性があります。(bsc#1019547)

- CVE-2016-7478:PHP内のZend/zend_exceptions.cにより、リモート攻撃者が、CVE-2015-8876に関連する問題である、シリアル化されたデータの細工された例外オブジェクトを介して、サービス拒否(無限ループ)を引き起こす可能性があります。(bsc#1019550)

- CVE-2016-10159:PHP内のext/phar/phar.cのphar_parse_pharfile関数での整数オーバーフローにより、リモート攻撃者が、PHARアーカイブ内の切り捨てられたマニフェストエントリを介して、サービス拒否(メモリ消費またはアプリケーションクラッシュ)を引き起こす可能性がありました。
(bsc#1022255)

- CVE-2016-10160:PHP内のext/phar/phar.cのphar_parse_pharfile関数でのoff-by-oneエラーにより、リモート攻撃者が、エイリアスが一致しない細工されたPHARアーカイブを介して、サービス拒否(メモリ破損)を引き起こしたり、任意のコードを実行したりする可能性がありました。
(bsc#1022257)

- CVE-2016-10161:PHP内のext/standard/var_unserializer.cのobject_common1関数により、リモート攻撃者が、finish_nested_dataの呼び出しで誤って処理される細工されたシリアル化データを介して、サービス拒否(バッファオーバーリードとアプリケーションクラッシュ)を引き起こす可能性がありました。
(bsc#1022260)

- CVE-2016-10162:PHP内のext/wddx/wddx.cのphp_wddx_pop_element関数により、リモート攻撃者が、wddxPacket XMLドキュメントで不適切なクラス名を介して、wddx_deserializeの呼び出しでの誤処理を誘発するサービス拒否(NULLポインター逆参照とアプリケーションクラッシュ)を引き起こす可能性があります。(bsc#1022262)

- CVE-2016-10166:gd補間関数の符号なしアンダーフローは、PHP gdモジュールでのメモリ破損につながる可能性があります(bsc#1022263)。

- CVE-2016-10167:gdImageCreateFromGd2Ctx()のサービス拒否問題は、小さいファイルでもphpのメモリ不足につながる可能性があります (bsc#1022264)。

- CVE-2016-10168:gdモジュールの符号付き整数オーバーフローは、メモリ破損が発生する可能性があります(bsc#1022265)。

- CVE-2016-9138:PHPは、__wakeup処理中のプロパティ変更を誤って処理していたため、リモート攻撃者が、細工されたシリアル化データを介して、サービス拒否を引き起こしたり、詳細不明なその他の影響を与えたりする可能性がありました。この欠陥は、Exception::__toStringとDateInterval::__wakeupで実証されています。(bsc#1008026)

この更新はSUSEからインポートされました:SLE-12:更新プロジェクトを更新します。

ソリューション

影響を受けるphp7パッケージを更新してください。

参考資料

https://bugzilla.opensuse.org/show_bug.cgi?id=1008026

https://bugzilla.opensuse.org/show_bug.cgi?id=1019547

https://bugzilla.opensuse.org/show_bug.cgi?id=1019550

https://bugzilla.opensuse.org/show_bug.cgi?id=1019568

https://bugzilla.opensuse.org/show_bug.cgi?id=1019570

https://bugzilla.opensuse.org/show_bug.cgi?id=1022219

https://bugzilla.opensuse.org/show_bug.cgi?id=1022255

https://bugzilla.opensuse.org/show_bug.cgi?id=1022257

https://bugzilla.opensuse.org/show_bug.cgi?id=1022260

https://bugzilla.opensuse.org/show_bug.cgi?id=1022262

https://bugzilla.opensuse.org/show_bug.cgi?id=1022263

https://bugzilla.opensuse.org/show_bug.cgi?id=1022264

https://bugzilla.opensuse.org/show_bug.cgi?id=1022265

プラグインの詳細

深刻度: Critical

ID: 97563

ファイル名: openSUSE-2017-304.nasl

バージョン: 3.3

タイプ: local

エージェント: unix

公開日: 2017/3/7

更新日: 2021/1/19

サポートされているセンサー: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, 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:novell:opensuse:apache2-mod_php7, p-cpe:/a:novell:opensuse:apache2-mod_php7-debuginfo, p-cpe:/a:novell:opensuse:php7, p-cpe:/a:novell:opensuse:php7-bcmath, p-cpe:/a:novell:opensuse:php7-bcmath-debuginfo, p-cpe:/a:novell:opensuse:php7-bz2, p-cpe:/a:novell:opensuse:php7-bz2-debuginfo, p-cpe:/a:novell:opensuse:php7-calendar, p-cpe:/a:novell:opensuse:php7-calendar-debuginfo, p-cpe:/a:novell:opensuse:php7-ctype, p-cpe:/a:novell:opensuse:php7-ctype-debuginfo, p-cpe:/a:novell:opensuse:php7-curl, p-cpe:/a:novell:opensuse:php7-curl-debuginfo, p-cpe:/a:novell:opensuse:php7-dba, p-cpe:/a:novell:opensuse:php7-dba-debuginfo, p-cpe:/a:novell:opensuse:php7-debuginfo, p-cpe:/a:novell:opensuse:php7-debugsource, p-cpe:/a:novell:opensuse:php7-devel, p-cpe:/a:novell:opensuse:php7-dom, p-cpe:/a:novell:opensuse:php7-dom-debuginfo, p-cpe:/a:novell:opensuse:php7-enchant, p-cpe:/a:novell:opensuse:php7-enchant-debuginfo, p-cpe:/a:novell:opensuse:php7-exif, p-cpe:/a:novell:opensuse:php7-exif-debuginfo, p-cpe:/a:novell:opensuse:php7-fastcgi, p-cpe:/a:novell:opensuse:php7-fastcgi-debuginfo, p-cpe:/a:novell:opensuse:php7-fileinfo, p-cpe:/a:novell:opensuse:php7-fileinfo-debuginfo, p-cpe:/a:novell:opensuse:php7-pcntl, p-cpe:/a:novell:opensuse:php7-pcntl-debuginfo, p-cpe:/a:novell:opensuse:php7-pdo, p-cpe:/a:novell:opensuse:php7-pdo-debuginfo, p-cpe:/a:novell:opensuse:php7-pear, p-cpe:/a:novell:opensuse:php7-firebird, p-cpe:/a:novell:opensuse:php7-firebird-debuginfo, p-cpe:/a:novell:opensuse:php7-fpm, p-cpe:/a:novell:opensuse:php7-fpm-debuginfo, p-cpe:/a:novell:opensuse:php7-ftp, p-cpe:/a:novell:opensuse:php7-ftp-debuginfo, p-cpe:/a:novell:opensuse:php7-gd, p-cpe:/a:novell:opensuse:php7-gd-debuginfo, p-cpe:/a:novell:opensuse:php7-gettext, p-cpe:/a:novell:opensuse:php7-gettext-debuginfo, p-cpe:/a:novell:opensuse:php7-gmp, p-cpe:/a:novell:opensuse:php7-gmp-debuginfo, p-cpe:/a:novell:opensuse:php7-iconv, p-cpe:/a:novell:opensuse:php7-iconv-debuginfo, p-cpe:/a:novell:opensuse:php7-imap, p-cpe:/a:novell:opensuse:php7-imap-debuginfo, p-cpe:/a:novell:opensuse:php7-intl, p-cpe:/a:novell:opensuse:php7-intl-debuginfo, p-cpe:/a:novell:opensuse:php7-json, p-cpe:/a:novell:opensuse:php7-json-debuginfo, p-cpe:/a:novell:opensuse:php7-ldap, p-cpe:/a:novell:opensuse:php7-ldap-debuginfo, p-cpe:/a:novell:opensuse:php7-mbstring, p-cpe:/a:novell:opensuse:php7-mbstring-debuginfo, p-cpe:/a:novell:opensuse:php7-mcrypt, p-cpe:/a:novell:opensuse:php7-mcrypt-debuginfo, p-cpe:/a:novell:opensuse:php7-mysql, p-cpe:/a:novell:opensuse:php7-mysql-debuginfo, p-cpe:/a:novell:opensuse:php7-odbc, p-cpe:/a:novell:opensuse:php7-odbc-debuginfo, p-cpe:/a:novell:opensuse:php7-opcache, p-cpe:/a:novell:opensuse:php7-opcache-debuginfo, p-cpe:/a:novell:opensuse:php7-openssl, p-cpe:/a:novell:opensuse:php7-openssl-debuginfo, p-cpe:/a:novell:opensuse:php7-pear-archive_tar, p-cpe:/a:novell:opensuse:php7-pgsql, p-cpe:/a:novell:opensuse:php7-pgsql-debuginfo, p-cpe:/a:novell:opensuse:php7-phar, p-cpe:/a:novell:opensuse:php7-phar-debuginfo, p-cpe:/a:novell:opensuse:php7-posix, p-cpe:/a:novell:opensuse:php7-posix-debuginfo, p-cpe:/a:novell:opensuse:php7-pspell, p-cpe:/a:novell:opensuse:php7-pspell-debuginfo, p-cpe:/a:novell:opensuse:php7-readline, p-cpe:/a:novell:opensuse:php7-readline-debuginfo, p-cpe:/a:novell:opensuse:php7-shmop, p-cpe:/a:novell:opensuse:php7-shmop-debuginfo, p-cpe:/a:novell:opensuse:php7-snmp, p-cpe:/a:novell:opensuse:php7-snmp-debuginfo, p-cpe:/a:novell:opensuse:php7-soap, p-cpe:/a:novell:opensuse:php7-soap-debuginfo, p-cpe:/a:novell:opensuse:php7-sockets, p-cpe:/a:novell:opensuse:php7-sockets-debuginfo, p-cpe:/a:novell:opensuse:php7-sqlite, p-cpe:/a:novell:opensuse:php7-sqlite-debuginfo, p-cpe:/a:novell:opensuse:php7-sysvmsg, p-cpe:/a:novell:opensuse:php7-sysvmsg-debuginfo, p-cpe:/a:novell:opensuse:php7-sysvsem, p-cpe:/a:novell:opensuse:php7-sysvsem-debuginfo, p-cpe:/a:novell:opensuse:php7-sysvshm, p-cpe:/a:novell:opensuse:php7-sysvshm-debuginfo, p-cpe:/a:novell:opensuse:php7-tidy, p-cpe:/a:novell:opensuse:php7-tidy-debuginfo, p-cpe:/a:novell:opensuse:php7-tokenizer, p-cpe:/a:novell:opensuse:php7-tokenizer-debuginfo, p-cpe:/a:novell:opensuse:php7-wddx, p-cpe:/a:novell:opensuse:php7-wddx-debuginfo, p-cpe:/a:novell:opensuse:php7-xmlreader, p-cpe:/a:novell:opensuse:php7-xmlreader-debuginfo, p-cpe:/a:novell:opensuse:php7-xmlrpc, p-cpe:/a:novell:opensuse:php7-xmlrpc-debuginfo, p-cpe:/a:novell:opensuse:php7-xmlwriter, p-cpe:/a:novell:opensuse:php7-xmlwriter-debuginfo, p-cpe:/a:novell:opensuse:php7-xsl, p-cpe:/a:novell:opensuse:php7-xsl-debuginfo, p-cpe:/a:novell:opensuse:php7-zip, p-cpe:/a:novell:opensuse:php7-zip-debuginfo, p-cpe:/a:novell:opensuse:php7-zlib, p-cpe:/a:novell:opensuse:php7-zlib-debuginfo, cpe:/o:novell:opensuse:42.2

必要な KB アイテム: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

パッチ公開日: 2017/3/2

参照情報

CVE: CVE-2015-8876, CVE-2016-10158, CVE-2016-10159, CVE-2016-10160, CVE-2016-10161, CVE-2016-10162, CVE-2016-10166, CVE-2016-10167, CVE-2016-10168, CVE-2016-7478, CVE-2016-7479, CVE-2016-7480, CVE-2016-9138, CVE-2017-5340