justkiding 发表于 2008-6-18 15:23:12

kms webmail的config目录是啥东西

http://mail.xx.com/config/

做什么用的,输入任意密码会返回一些信息

tdk 发表于 2008-6-19 11:50:20

不详,我挂在公网的测试机 没有返回 版本是6.31
404 Not Found
The requested url /config/ was not found on this server.

file not found

tdk 发表于 2008-6-19 11:57:21

6.5 确实有这问题,显示了一些配置信息
不知道为何

tdk 发表于 2008-6-19 12:24:00

突然想起 是不是类似apache
这些参数也许可以关掉

justkiding 发表于 2008-6-19 13:32:46

恩,我用前端的webserver给过滤了对这些URL的请求了。
其实问题不太大,只是不明白为什么

tdk 发表于 2008-6-19 13:49:31

你怎么发现的呢

justkiding 发表于 2008-6-19 14:24:32

用一个web漏洞扫描程序扫出来的。
如果要人为发现,还真困难,KMS的SERVER端包装的很好,要直接看到很困难。

zenz 发表于 2008-6-19 14:29:33

检查盗版用的?:lol

tdk 发表于 2008-6-19 14:31:28

哦 扫描器
好久没玩这些东西了 呵呵
过去玩玩 流光 sss 什么的
也没搞出什么名堂来

justkiding 发表于 2008-6-19 14:41:09

恩,我用的是专门扫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)

问题不大,不错不错
页: [1] 2
查看完整版本: kms webmail的config目录是啥东西