TCCMS SQL注入 一个文件多处注入之二

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

### 简要描述: 之前看了厂商的回复说的是文章列表那个页面有问题,这次我提交的是图片列表页面存在注入 ### 详细说明: app\controller\picture.class.php 代码如下 ``` public function all() { $_Obj = M($this->objName); $categoryObj = M("category"); $_Obj->pageSize = 20; $where = "1=1"; $key = $_POST['key']; $cid = $_GET['cid']; if ($key != "") { $where .= " and id = '" . $key . "' or title like '%$key%'"; } if (!empty($cid) && $cid != "") { $where .= " and classid = " . $cid; //没处理存在注入 } if ($_GET["type"] == "user") { $where .= " and uid = " . $_COOKIE['userId']; //没处理存在注入 } if (isset($_GET['yz'])) { $where .= " AND yz =".$_GET['yz']; //没处理存在注入 } if (isset($_GET['levels'])) { $where .= " AND levels =".$_GET['levels'];//没处理存在注入 } if (isset($_GET['special'])) { $where .= " AND special =".$_GET['special'];//没处理存在注入 } if (isset($_GET['top'])) { $where .= " AND top =".$_GET['top']; //没处理存在注入 } if (isset($_GET['flashpic'])) { $where .= " AND flashpic =".$_GET['flashpic']; //没处理存在注入 } $_Obj->setSortId(); $orderBy = $_GET['sortId']; //没处理存在注入...

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