dedecms任意文件上传漏洞文件:/include/dialog/select_soft_post.php

修复方案:文件中占到72行以下代码

$fullfilename=$cfg_basedir.$activepath.'/'.$filename;

修改为

if(preg_match('#\.(php|pl|cgi|asp|aspx|jsp|php5|php4|php3|shtm|shtml)[^a-zA-Z0-9]+$#i',trim($filename)))
{
ShowMsg("你指定的文件名被系统禁止!",'javascript:;');exit();
}
$fullfilename=$cfg_basedir.$activepath.'/'.$filename;;

完成后保存即可,安全系统验证通过