製品・ソフトウェアに関する情報
Piwik の core/Cookie.php における任意のコードを実行される脆弱性
Title Piwik の core/Cookie.php における任意のコードを実行される脆弱性
Summary

Piwik の core/Cookie.php は、unserialize 関数を呼び出す前にクッキーから取得した文字列を検証しない、およびPiwik_Config クラスの __destruct 関数、php://filter URI、Zend フレームワークの __destruct 関数、Zend フレームワークのshutdown 関数、Piwik_View クラスの render 関数、Smarty テンプレート、および Smarty の _eval 関数に関する処理に不備があるため、任意のコードを実行される、および任意のファイルをアップロードされる脆弱性が存在します。

Possible impacts 第三者により、任意のコードを実行される、および任意のファイルをアップロードされる可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date Dec. 9, 2009, midnight
Registration Date Dec. 20, 2012, 7:28 p.m.
Last Update Dec. 20, 2012, 7:28 p.m.
CVSS2.0 : 危険
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected System
Piwik
Piwik 0.5 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年12月20日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2009-4137
Summary

The loadContentFromCookie function in core/Cookie.php in Piwik before 0.5 does not validate strings obtained from cookies before calling the unserialize function, which allows remote attackers to execute arbitrary code or upload arbitrary files via vectors related to the __destruct function in the Piwik_Config class; php://filter URIs; the __destruct functions in Zend Framework, as demonstrated by the Zend_Log destructor; the shutdown functions in Zend Framework, as demonstrated by the Zend_Log_Writer_Mail class; the render function in the Piwik_View class; Smarty templates; and the _eval function in Smarty.

Publication Date Dec. 25, 2009, 1:30 a.m.
Registration Date Jan. 29, 2021, 1:26 p.m.
Last Update Nov. 21, 2019, 10:29 p.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:matomo:matomo:0.2.25:*:*:*:*:*:*:*
cpe:2.3:a:matomo:matomo:0.2.26:*:*:*:*:*:*:*
cpe:2.3:a:matomo:matomo:0.2.27:*:*:*:*:*:*:*
cpe:2.3:a:matomo:matomo:0.2.28:*:*:*:*:*:*:*
cpe:2.3:a:matomo:matomo:0.2.29:*:*:*:*:*:*:*
cpe:2.3:a:matomo:matomo:0.2.30:*:*:*:*:*:*:*
cpe:2.3:a:matomo:matomo:0.2.31:*:*:*:*:*:*:*
cpe:2.3:a:matomo:matomo:0.2.32:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List