製品・ソフトウェアに関する情報
Zen Cart における SQL インジェクションの脆弱性
Title Zen Cart における SQL インジェクションの脆弱性
Summary

Zen Cart には、SQL インジェクションの脆弱性が存在します。

Possible impacts 第三者により、下記の項目を介して、 (1) $_SESSION の要素の変更を利用される可能性のある ipn_main_handler.php の ipn_get_stored_session 関数への GPC データ  およびリモート認証されたユーザにより、下記の項目を介して、任意の SQL コマンドを実行される可能性があります。 (2) whos_online_session_recreate への Cookie 内のセッション ID (3) add_cart 関数への quantity フィールド (4) ショッピングカートへのアイテム追加の際の id[] パラメータ (5) チェックアウトの際の redemption コード (includes/modules/order_total/ot_coupon.php への dc_redeem_code パラメータ)
Solution

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

Publication Date Aug. 17, 2006, midnight
Registration Date Dec. 20, 2012, 6:02 p.m.
Last Update Dec. 20, 2012, 6:02 p.m.
CVSS2.0 : 危険
Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Affected System
Zen Cart
Zen Cart 1.3.0.2 およびそれ以前
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-2006-4214
Summary

Multiple SQL injection vulnerabilities in Zen Cart 1.3.0.2 and earlier allow remote attackers to execute arbitrary SQL commands via (1) GPC data to the ipn_get_stored_session function in ipn_main_handler.php, which can be leveraged to modify elements of $_SESSION; and allow remote authenticated users to execute arbitrary SQL commands via (2) a session id within a cookie to whos_online_session_recreate, (3) the quantity field to the add_cart function, (4) an id[] parameter when adding an item to a shopping cart, or (5) a redemption code when checking out (dc_redeem_code parameter to includes/modules/order_total/ot_coupon.php).

Publication Date Aug. 18, 2006, 6:04 a.m.
Registration Date Jan. 29, 2021, 3:43 p.m.
Last Update July 20, 2017, 10:32 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:zen_cart:zen_cart:*:*:*:*:*:*:*:* 1.3.0.2
Related information, measures and tools
Common Vulnerabilities List