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

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

缺陷编号:wooyun-2015-091459

漏洞标题:药房网某站多处数据库注射漏洞可导致信息泄露

相关厂商:yaofang.cn

漏洞作者: BMa

提交时间:2015-01-13 10:26

修复时间:2015-02-27 10:28

公开时间:2015-02-27 10:28

漏洞类型:敏感信息泄露

危害等级:高

自评Rank:12

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

药房网某站多处数据库信息泄露

详细说明:

1、

url:http://m.yaofang.cn/cart/cityList
post:province_id=


A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SELECT region_id,region_name FROM ecs_region WHERE parent_id =
Filename: /apache/htdocs/yfsite_wap/n/application/wap/models/usersmodel.php
Line Number: 193


1.png


2、

url:http://m.yaofang.cn//cart/delGoods 
post:goods_id=&r=0.6412887854967266


A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and shop_id = 42000 and fromId = 0' at line 1
delete from ecs_cart where session_id = 'm1421058848' and goods_id = and shop_id = 42000 and fromId = 0
Filename: /apache/htdocs/yfsite_wap/n/application/wap/models/cart_model.php
Line Number: 64


2.png


3、get:http://m.yaofang.cn/cart/disList

A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SELECT region_id,region_name FROM ecs_region WHERE parent_id =
Filename: /apache/htdocs/yfsite_wap/n/application/wap/models/usersmodel.php
Line Number: 193


3.png


4、

url:http://m.yaofang.cn//cart/updateCartGoodsNumber
post:flag=12345'"\'\");|]*{%0d%0a<%00>%bf%27'####&goods_id=1004458&r=0.01643573702313006


A Database Error Occurred
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1 WHERE `goods_id` = '1004458' AND `session_id` = ''' at line 1
UPDATE ecs_cart SET goods_number = goods_number 1 WHERE `goods_id` = '1004458' AND `session_id` = ''
Filename: /apache/htdocs/yfsite_wap/n/application/wap/models/cart_model.php
Line Number: 155


4.png

漏洞证明:

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:20

确认时间:2015-01-13 14:45

厂商回复:

您提交的报告我们已收到!感谢您对药房网的关注和支持!
经过我们技术评定后,会发放奖励,请保持手机畅通。

最新状态:

暂无


漏洞评价:

评论