PHPB2B某处sql注入#3

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

### 简要描述: PHPB2B某处sql注入#3 ### 详细说明: PHPB2B某处sql注入 官网最新版本 libraries/core/controllers/product_controller.php 176-187行 ``` function lists() { global $pos, $viewhelper; $viewhelper->setPosition(L("product_center", 'tpl'), 'index.php?do=product'); $viewhelper->setTitle(L("product_center", 'tpl')); setvar("module", "product"); $this->product->initSearch(); $result = $this->product->Search($pos, $this->displaypg); setvar("items", $result); $this->view->assign("total_count", $this->product->amount); render("product/list"); } ``` 这里调用了一个函数product->initsearch() 跟入 libraries/core/models/product_controller.php ``` function initSearch() { uses("industry","area"); $this->area = new Areas(); $this->industry = new Industries(); $this->condition[] = "Product.status=1 "; if (isset($_GET['industryid'])) { if (strpos($_GET['industryid'], ",")!==false) { $this->condition[]= "Product.industry_id IN (".trim($_GET['industryid']).")"; }else{ $industryid = intval($_GET['industryid']); $sub_ids =...

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