CSDJCMS 程式舞曲最新版上传设计缺陷(IIS6可getshell)

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

### 简要描述: 若IIS6 支持asp的话 可导致直接Getshell。 ### 详细说明: 在user/upload.php中 ``` public function upload_save() { //多文件 $ac = $this->input->get_post('ac', TRUE); if (!empty($_FILES)) { $tempFile = $_FILES['Filedata']['tmp_name']; $targetPath = './attachment/' . $ac . '/'.date('Ym').'/'.date('d').'/'; $file_name = $_FILES['Filedata']['name']; $file_size = @filesize($_FILES['Filedata']['tmp_name']); //获得文件扩展名 $file_ext = strtolower(trim(substr(strrchr($file_name, '.'), 1))); if($file_ext=='mp3' || $file_ext=='wma' || $file_ext=='m4a' || $file_ext=='f4a' || $file_ext=='mp4' || $file_ext=='flv' || $file_ext=='avi' || $file_ext=='asf' || $file_ext=='wmv' || $file_ext=='swf'){ //判断后缀 }else{ @unlink($tempFile); } //---------获取歌曲属性------------------ $djinfo=$this->CsdjSkins->djinfo(@iconv('utf-8','gbk',$tempFile)); if($djinfo){ $info=explode("|",$djinfo); $dx =$info[0]; $yz =$info[1]; $sc =$info[2]; } else { $dx =''; $yz =''; $sc =''; } //新文件名 $new_file_name = date("YmdHis") . '_' . rand(10000,...

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