PHPCMS_V9 /modules/comment/index.php 本地包含漏洞
由于PHPCMSV9文件attachments.php的未验证上传用户权限,可以上传文件仅图片。加上其他文件存在可以截断的本地包含漏洞,导致包含任意文件并获取webshell 文件\phpcms\modules\attachment\attachments.php codepublic function cropupload if isset$GLOBALS"HTTPRAWPOSTDATA" $pic = $GLOBALS"HTTPRAWPOSTDATA"; …… fileputcontents$this-uploadpath.$filepath.$newfile, $pic;/code...