phpyun (20141230) 任意文件删除致注入可改任意用户密码(4处打包)

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

### 简要描述: 更新了 来看看。 果然是功能越多 bug越多 bug越多 rank越多。 这个不小心测试了下 demo, 把demo的robots.txt 和 图标都删除了。 你们自己再加上去下把。 phpyun基本都是靠过滤文件。 如果删除过滤文件 肯定是有注入了。 而且删除过滤文件不会像删除install的lock一样对网站造成啥损害。 ### 详细说明: http://www.phpyun.com/bbs/thread-8149-1-1.html //20141222 http://www.phpyun.com/PHP%E4%BA%91%E4%BA%BA%E6%89%8D%E6%8B%9B%E8%81%98%E7%B3%BB%E7%BB%9FV3.2_Beta.rar 最新版本的phpyun下载地址 在friend/model/index.class.php中 ``` function save_avatar_action() { @header("Expires: 0"); @header("Cache-Control: private, post-check=0, pre-check=0, max-age=0", FALSE); @header("Pragma: no-cache"); $type = isset($_GET['type'])?trim($_GET['type']):'small';//没限制 $pic_id = trim($_GET['photoId']); $nameArr=@explode(".",$pic_id); $uptypes=array('jpg','png','jpeg','bmp','gif'); if(count($nameArr)!=2) //这里限制了只能含有一个小数点 { exit(); } if(!is_numeric($nameArr[0])) //限制文件的名字必须为数字。 { exit(); } if(!in_array(strtolower($nameArr[1]),$uptypes)) //限制文件类型只能为图片的各种类型 { $d['statusText'] = iconv("gbk","utf-8",'文件类型不符!'); $msg = json_encode($d); echo...

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