脆弱性

スクリプトのエスケープの脆弱性

  • 情報公開日:2008年 07月 28日
  • 危険度:中
  • 対象:Ver 2.0.1未満
------------------------------------------
脆弱性の種類
------------------------------------------
クロスサイトスクリプティング
-----------------------------------------
脆弱性のあるファイル
-----------------------------------------
data/smarty_extends/modifier.script_escape.php 
-----------------------------------------
対策
-----------------------------------------
変更前
$pattern = "/#script tag escaped#|<\/script>|#script tag escaped#/"; 

↓

変更後
$pattern = "/#script tag escaped#|<\/script>|#script tag escaped#/i"; 

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