FineCMS最新版SQL注入

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

### 简要描述: finecms最新版2.3.0(2014年4月18号更新)SQL注入 ### 详细说明: finecms最新版2.3.0,官方2014年4月18号更新。 某处存在SQL注入,无需登陆,可直接注入获取管理员账号。 文件:FineCMS v2.3.0/shop/controllers/search.php ``` /** * 搜索 */ public function index() { parent::_search(); } ``` 进入search,文件/FineCMS v2.3.0/dayrui/core/D_Module.php: ``` /** * 模块内容搜索页 */ protected function _search() { $this->load->model('search_model'); $mod = $this->get_cache ('module-'.SITE_ID.'-'.APP_DIR); // 清除过期缓存 $this->search_model->clear($mod ['setting']['search']['cache']); // 搜索参数 $get = $this->input->get(NULL, TRUE); $get = isset($get['rewrite']) ? dr_rewrite_decode($get['rewrite']) : $get; $id = $get['id']; $catid = (int)$get['catid']; $get['keyword'] = str_replace(array ('%', ' '), array('', '%'), $get['keyword']); unset($get['c'], $get['m'], $get ['id'], $get['page']); // 关键字个数判断 if ($get['keyword'] && strlen($get ['keyword']) < (int)$mod['setting']['search'] ['length']) { $this->msg(lang('mod-31')); } if ($id) { // 读缓存数据 $data = $this->search_model-...

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