漏洞概要 关注数(24) 关注此漏洞
缺陷编号:wooyun-2014-081661
漏洞标题:Discuz! x某功能越权漏洞
相关厂商:Discuz!
漏洞作者: Noxxx
提交时间:2014-11-04 16:11
修复时间:2014-12-30 14:44
公开时间:2014-12-30 14:44
漏洞类型:设计缺陷/逻辑错误
危害等级:低
自评Rank:5
漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞
漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]
Tags标签: 无
漏洞详情
披露状态:
2014-11-04: 细节已通知厂商并且等待厂商处理中
2014-11-09: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2015-01-03: 细节向核心白帽子及相关领域专家公开
2015-01-13: 细节向普通白帽子公开
2015-01-23: 细节向实习白帽子公开
2014-12-30: 细节向公众公开
简要描述:
rt
详细说明:
相册功能,里面的编辑图片说明可以越权修改
在 source/include/spacecp/spacecp_album.php中
[code]
foreach ($_POST['title'] as $picid => $value) {//这里遍历数据
if($value == $_GET['oldtitle'][$picid]) {
continue;
}
$title = getstr($value, 150);
$title = censor($title);
if(censormod($title) || $_G['group']['allowuploadmod']) {
$pic_status = 1;
manage_addnotify('verifypic');
} else {
$pic_status = 0;
}
$wherearr = array('picid'=>$picid);
if(!$managealbum) $wherearr['uid'] = $_G['uid'];
C::t('home_pic')->update($picid, array('title'=>$title, 'status' => $pic_status));//直接把$picid 当作where条件来update。所以能直接修改说明。
}
[/code]
漏洞证明:
用2个账号来测试
[img src="http://static.wooyun.orghttps://wooyun-img.oss-cn-beijing.aliyuncs.com/upload/image/201409/2014092920001882940.png" alt="I"/]
[img src="http://static.wooyun.orghttps://wooyun-img.oss-cn-beijing.aliyuncs.com/upload/image/201409/2014092920021477541.png" alt=".png"/]
picid
[img src="http://static.wooyun.orghttps://wooyun-img.oss-cn-beijing.aliyuncs.com/upload/image/201409/2014092920064686931.png" alt="QQ截图20140929200213.png"/]
[img src="http://static.wooyun.orghttps://wooyun-img.oss-cn-beijing.aliyuncs.com/upload/image/201409/2014092920075860631.png" alt="QQ截图20140929200330.png"/]
提交,看原先那张图 说明已经变了
[img src="http://static.wooyun.orghttps://wooyun-img.oss-cn-beijing.aliyuncs.com/upload/image/201409/2014092920090323741.png" alt="QQ截图20140929200427.png"/]
修复方案:
and uid=$_G['uid']
版权声明:转载请注明来源 Noxxx@乌云
漏洞回应
厂商回应:
危害等级:无影响厂商忽略
忽略时间:2014-12-30 14:44
厂商回复:
最新状态:
暂无