qibocms下载系统 注入&另外一个老问题

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

### 简要描述: RT. ### 详细说明: 下载地址 http://bbs.qibosoft.com/down2.php?v=download1.0#down 0x01 老问题 在download/inc/job/down_encode.php中 ``` if(eregi('.php',$url)){ header("location:$true_url"); exit; } $webdb[upfileType] = str_replace(' ','|',$webdb[upfileType]); if(file_exists(ROOT_PATH."$webdb[updir]/$url") && eregi("($webdb[upfileType])$",$url) && filesize(ROOT_PATH."$webdb[updir]/$url")<1024*1024*10) { $filetype=substr(strrchr($url,'.'),1); ob_end_clean(); header('Last-Modified: '.gmdate('D, d M Y H:i:s',time()).' GMT'); header('Pragma: no-cache'); header('Content-Encoding: none'); header('Content-Disposition: attachment; filename='."$true_name.$filetype"); header('Content-type: '.$filetype); header('Content-Length: '.filesize(ROOT_PATH."$webdb[updir]/$url")); readfile(ROOT_PATH."$webdb[updir]/$url"); exit; ``` 厂商对上次我爆的那个洞做了修补 eregi("($webdb[upfileType])$",$url 白名单验证。 但是在download/inc/down_encode.php 中 ``` $true_url=tempdir($url); if(eregi('.php',$url)){ header("location:$true_url");...

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