製品・ソフトウェアに関する情報
Piwik などの製品で使用される Open Flash Chart Lug Wyrm Charmer における任意のコードを実行される脆弱性
Title Piwik などの製品で使用される Open Flash Chart Lug Wyrm Charmer における任意のコードを実行される脆弱性
Summary

Piwik、Woopra Analytics プラグインなどの製品で使用されている Open Flash Chart Lug Wyrm Charmer の ofc_upload_image.php は、register_globals が有効になっている際、無制限にファイルをアップロードする不備があるため、任意のコードを実行される脆弱性が存在します。

Possible impacts リモート認証されたユーザにより、HTTP_RAW_POST_DATA パラメータ内のコードを伴う name パラメータを経由する実行可能な拡張子を伴うファイルをアップロードされ、アクセスされることで、tmp-upload-images/ の配下のファイルへの直接リクエストを介して、任意のコードを実行される可能性があります。
Solution

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

Publication Date Oct. 21, 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.2.35 から 0.4.3
teethgrinder.co.uk
open flash chart v2 Beta 1 から v2
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-4140
Summary

Unrestricted file upload vulnerability in ofc_upload_image.php in Open Flash Chart v2 Beta 1 through v2 Lug Wyrm Charmer, as used in Piwik 0.2.35 through 0.4.3, Woopra Analytics Plugin before 1.4.3.2, and possibly other products, when register_globals is enabled, allows remote authenticated users to execute arbitrary code by uploading a file with an executable extension through the name parameter with the code in the HTTP_RAW_POST_DATA parameter, then accessing it via a direct request to the file in tmp-upload-images/.

Publication Date Dec. 23, 2009, 7: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:teethgrinder.co.uk:open_flash_chart:2.0:beta_1:*:*:*:*:*:*
cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:gamera:*:*:*:*:*:*
cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:hyperion:*:*:*:*:*:*
cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:ichor:*:*:*:*:*:*
cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:j_rmungandr:*:*:*:*:*:*
cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:j_rmungandr-2:*:*:*:*:*:*
cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:kvasir:*:*:*:*:*:*
cpe:2.3:a:teethgrinder.co.uk:open_flash_chart:2.0:lug_wyrm_charmer:*:*:*:*:*:*
cpe:2.3:a:matomo:matomo:0.2.37:*:*:*:*:*:*:*
cpe:2.3:a:matomo:matomo:0.4.2:*:*:*:*:*:*:*
cpe:2.3:a:matomo:matomo:0.4.3:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List