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

phpGraphy は、入力データが英数字パラメータのハッシュ値と一致する値を持つ数値パラメータを含んでいる際、変数を適切に設定解除しないため、任意の PHP コードを実行される脆弱性が存在します。 本脆弱性は、PHP コマンド解除 (CVE-2006-3017) のバグに起因し、PHP 内で修正されるべきであるとする意見があります。その場合、本件は phpGraphy に存在する脆弱性として扱われません。

Possible impacts 第三者により、config.php ファイルをアップロードされることで、index.php への pictures[] パラメータを介して、任意の PHP コードを実行される可能性があります。
Solution

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

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

NVD Vulnerability Information
CVE-2006-6966
Summary

phpGraphy before 0.9.13a does not properly unset variables when the input data includes a numeric parameter with a value matching an alphanumeric parameter's hash value, which allows remote attackers to execute arbitrary PHP code by uploading a config.php file via the pictures[] parameter to index.php. NOTE: it could be argued that this vulnerability is due to a bug in the unset PHP command (CVE-2006-3017) and the proper fix should be in PHP; if so, then this should not be treated as a vulnerability in phpGraphy.

Publication Date Feb. 4, 2007, 9:28 a.m.
Registration Date Jan. 29, 2021, 3:53 p.m.
Last Update July 29, 2017, 10:29 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:phpgraphy:phpgraphy:0.9:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.1:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.2:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.3:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.4:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.5:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.6:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.7:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.8:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.9:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.9a:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.10:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.10a:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.11:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:0.9.12:*:*:*:*:*:*:*
cpe:2.3:a:phpgraphy:phpgraphy:*:*:*:*:*:*:*:* 0.9.13
Related information, measures and tools
Common Vulnerabilities List