脆弱性

商品一覧でのXSS脆弱性

  • 情報公開日:2008年 06月 30日
  • 危険度:中
  • 対象:Ver 2.0.1未満
------------------------------------------
脆弱性の種類
------------------------------------------
クロスサイトスクリプティング
-----------------------------------------
脆弱性のあるファイル
-----------------------------------------
data/class/pages/products/LC_Page_Products_List.php 
-----------------------------------------
対策
-----------------------------------------

=================================
変更前 610行目付近
=================================
if (!isset($_POST[$classcategory_id_2])) $_POST[$classcategory_id_2] = ""; 
↓

=================================
変更後 
=================================
if (!isset($_POST[$classcategory_id_2]) || !is_numeric($_POST[$classcategory_id_2])) $_POST[$classcategory_id_2] = ""; 

リビジョン17384で修正
参照URL:http://svn.ec-cube.net/open_trac/changeset/17384