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

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

缺陷编号:wooyun-2014-087259

漏洞标题:威锋网某处配置不当导致邮件随机泄露(密码重置连接泄漏)

相关厂商:weiphone

漏洞作者: 鸟云厂商

提交时间:2014-12-15 17:29

修复时间:2014-12-16 21:37

公开时间:2014-12-16 21:37

漏洞类型:应用配置错误

危害等级:中

自评Rank:10

漏洞状态:厂商已经修复

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

2014-12-15: 细节已通知厂商并且等待厂商处理中
2014-12-16: 厂商已经确认,细节仅向厂商公开
2014-12-16: 厂商已经修复漏洞并主动公开,细节向公众公开

简要描述:

威锋网某处配置不当导致邮件随机泄露(密码重置连接泄漏)

详细说明:

http://edm.feng.com/
这个是威锋网的邮件群发系统
在根目录下有个aaa.txt http://edm.feng.com/aaa.txt
这个txt文件不是固定的,而是随着邮件发送,不断变化。
简单地说就是把发送邮件的记录写入到这里

weiphone.png


随时打开都能看到例如:

INSERT INTO `mail_deliver_log_queue` (did,ip,msgid,code,email,cid,domain,mx,cmd,reason,is_retry,add_time) VALUES ('855785','162.209.149.40','3552','250','120727698@qq.com','1920847','delivery_tencent','mx1.qq.com','/www/client/sendEmail -f \\\"=?utf-8?B?5aiB6ZSL572R?= <edm@weiphone.com>\\\" -t 120727698@qq.com -u \\\"=?utf-8?B?cWl1amluZ2h1YSDlnKjlqIHplIvnvZHkv67mlLnnmbvlvZXlr4bnoIHmiJDlip/noa7orqTkv6E=?=\\\" -m \\\"PCFkb2N0eXBlIGh0bWw+IAo8aHRtbD4gCjxoZWFkPiAKICAgIDxtZXRhIGNoYXJzZXQ9InV0Zi04Ij4gCiAgICA8dGl0bGU+5L+u5pS555m75b2V5a+G56CB5oiQ5YqfLeWogemUi+eUqOaIt+S4reW/gzwvdGl0bGU+IAo8L2hlYWQ+Cjxib2R5ID4KCTxkaXYgIHN0eWxlPS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Rpdj4KCTwvZGl2Pgo8L2JvZHk+CjwvaHRtbD4KCjxpbWcgc3JjPSdodHRwOi8vZWRtLmZlbmcuY29tL2FwaS91cmxqdW1wL2luZGV4Lmh0bWw/Y2lkPTE5MjA4NDcmbWlkPTM1NTImZW1haWw9MTIwNzI3Njk4QHFxLmNvbSZ0eXBlPTEmdXJsPWh0dHA6Ly9lZG0uZmVuZy5jb20vc3RhdGljL2ltZy9pY29ucy9iZ19zcmMucG5nJyBzdHlsZT0nZGlzcGxheTpub25lJyAvPg==\\\" -s mx1.qq.com  -b 162.209.149.40  -o reply-to=support@office.weiphone.com -o message-content-type=html -o message-charset=utf8 -o timeout=6000 -o fqdn=162.209.149-40.edm.feng.com','Email was sent successfully','0','1418634847');


当中包含的信息:邮件内容、发送者ip、发件人、收件人。
邮件内容是base64加密
解密之后是html的代码
以网页形式打开看看

屏幕快照 2014-12-15 下午5.18.16.png

漏洞证明:

weiphone.jpg


会不断变化,定时抓取可导致严重信息泄露。

修复方案:

版权声明:转载请注明来源 鸟云厂商@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:18

确认时间:2014-12-16 21:36

厂商回复:

谢谢,我们已经修复,请联系我们,以便寄送礼物

最新状态:

2014-12-16:已经更改