BIWEB商城版XSS盲打cookie

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### 简要描述: 某处存储型xss可盲打管理cookie ### 详细说明: message\include\index.inc.php 文件26-36行(不止这一处) ``` if ($_SERVER["REQUEST_METHOD"] == "POST"){ if(empty($_POST['contact'])) check::AlertExit('对不起,姓名必须填写!',-1); if(empty($_POST['tel'])) check::AlertExit('对不起,联系电话必须填写!',-1); if(empty($_POST['email'])) check::AlertExit('对不起,E-Mail必须填写!',-1); if(empty($_POST['title'])) check::AlertExit('对不起,留言标题必须填写!',-1); if(empty($_POST['intro']))check::AlertExit('对不起,留言内容必须填写!!',-1);//只是简单判断了POST提交的数据是否为空 $strIP = check::getip(); $_POST['user_ip'] = $strIP; $objWebInit->saveInfo($_POST,0);//跟踪函数saveInfo check::AlertExit("",$arrGWeb['WEB_ROOT_pre']."/message/"); } 跟踪函数saveInfo function saveInfo($arrData,$intModify=0,$isAlert=true){ $arr = array(); $arr = check::SqlInjection($this->saveTableFieldG($arrData)); if($intModify == 0){ if(!empty($_SESSION['user_id'])) $arr['user_id'] = intval($_SESSION['user_id']);//判断是否已经登录 if($this->insertInfo($arr)){//入库了,没有任何过滤 if($isAlert) check::Alert("发布成功,我们会尽快做出处理并告知您",-1);...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息