邮件服务器-邮件系统-邮件技术论坛(BBS)

标题: kms webmail的config目录是啥东西 [打印本页]

作者: justkiding    时间: 2008-6-18 15:23
标题: kms webmail的config目录是啥东西
http://mail.xx.com/config/

做什么用的,输入任意密码会返回一些信息
作者: tdk    时间: 2008-6-19 11:50
不详,我挂在公网的测试机 没有返回 版本是6.31
404 Not Found
The requested url /config/ was not found on this server.

file not found
作者: tdk    时间: 2008-6-19 11:57
6.5 确实有这问题,显示了一些配置信息
不知道为何
作者: tdk    时间: 2008-6-19 12:24
突然想起 是不是类似apache
这些参数也许可以关掉
作者: justkiding    时间: 2008-6-19 13:32
恩,我用前端的webserver给过滤了对这些URL的请求了。
其实问题不太大,只是不明白为什么
作者: tdk    时间: 2008-6-19 13:49
你怎么发现的呢
作者: justkiding    时间: 2008-6-19 14:24
用一个web漏洞扫描程序扫出来的。
如果要人为发现,还真困难,KMS的SERVER端包装的很好,要直接看到很困难。
作者: zenz    时间: 2008-6-19 14:29
检查盗版用的?
作者: tdk    时间: 2008-6-19 14:31
哦 扫描器
好久没玩这些东西了 呵呵
过去玩玩 流光 sss 什么的
也没搞出什么名堂来
作者: justkiding    时间: 2008-6-19 14:41
恩,我用的是专门扫WEBAPP漏洞的,HP的webinspect,他的自动登陆功能比较好使,IBM的appscan扫kms webmail会有大量的跨站脚本漏洞的误报,原因就是APPSCAN没有很好的处理KSM的404错误。

wvs的自动登陆有问题,下午搞搞看。

ksm的webmail主要是担心xss的问题,因为那样可能被偷cookie然后登陆邮件系统。

至于sql和remote file include都不是问题,密码没存在sql里的,sqlite也不能执行什么系统命令,而kms用的php 5.2.3已经禁用了remote url include的功能。

同时顺便扫描了一下PHP的代码:
find /opt/kerio/mailserver/webmail/ -name "*.php" | xargs rats -l php
/opt/kerio/mailserver/webmail/default/userSettings.php:39: Medium: is_dir
A potential TOCTOU (Time Of Check, Time Of Use) vulnerability exists.  This is
the first line where a check has occured.
The following line(s) contain uses that may match up with this check:
37 (opendir)

问题不大,不错不错
作者: tdk    时间: 2008-6-19 15:59
你可以搞一个 评测了 呵呵
作者: justkiding    时间: 2008-6-19 16:58
写评测需要太多时间了




欢迎光临 邮件服务器-邮件系统-邮件技术论坛(BBS) (http://bbs.5dmail.cn/) Powered by Discuz! X3.2