易思espcms后台功能绕过[可直接利用后台sql注入]

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

### 简要描述: 后台功能绕过,后台存在sql注入 结合绕过漏洞,进行sql注入 ### 详细说明: 本地测试使用默认的adminsoft为后台目录,使用类的构造函数验证用户的后台访问权限 后台各功能都为模版类important,该类构造函数如下: ``` function important() { $this->softbase(true); } ``` 该类为继承类,跟进父类,文件/public/class_connector.php中第14行 ``` function softbase($admin_purview = false) { header("Content-Type: text/html; charset=utf-8"); $this->dbmysql(); $this->commandinc(); $this->systemfile(); $this->cachedb(); if ($admin_purview) { $this->admin_purview(); $this->sitelng = $this->getlng(); $action = $this->fun->accept('action', 'R'); if (in_array($action, $this->esp_powerlist) && !in_array('all', $this->esp_powerlist)) { exit('Permissions errors'); } }………………………… ``` 判断管理权限主要为代码$this->admin_purview();,跟进在该文件第330行如下: ``` function admin_purview() { if ($this->fun->accept('archive', 'R') == 'filemanage' && $this->fun->accept('action', 'R') == 'batupfilesave') { $ecisp_admininfo = $this->fun->accept('ecisp_admininfo', 'G'); $esp_powerlist = $this->fun->accept('esp_powerlist', 'G'); $gettype =...

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