B2Bbuilder网上商城...

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

###0x01漏洞简介 B2Bbuilder网上商城在以下4处存在SQL注入漏洞 ``` (1)\module\buy\admin\add_cart.php (2)\module\company\admin\business_info_list.php (3)\module\company\space_mail.php (4)\module\message\inquiry_basket.php ``` ###0x02漏洞利用 注入1 看到module\company\admin\business_info_list.php ``` <?php $status=array('-1'=>lang_show('notpass'),'0'=>lang_show('wpass'),'1'=>lang_show('auditpass')); if(isset($_GET['step'])) { if($_GET['step']=="del") { $db->query("delete from ".CERTIFICATION." where id='$_GET[deid]'"); $sql="update ".COMPANY." set certification='0' where company_id in (select company_id from ".CERTIFICATION." where id='$_GET[deid]')"; $db->query($sql); } } if(isset($_POST['del'])) { $ids=implode(",",$_POST['del']); $sql="update ".CERTIFICATION." set statu=1 where id in ($ids)"; $db->query($sql); $sql="update ".COMPANY." set certification='1' where company_id in (select company_id from ".CERTIFICATION." where id in ($ids))"; $db->query($sql); } ?> ``` 其中del未过滤进入sql中,造成注入。 我们用demo测试 ```...

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