Horde产品'search.php'模块跨站脚本执行漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1193784 漏洞类型 跨站脚本
发布时间 2006-08-21 更新时间 2006-08-23
CVE编号 CVE-2006-4255 CNNVD-ID CNNVD-200608-314
漏洞平台 N/A CVSS评分 4.3
|漏洞来源
https://cxsecurity.com/issue/WLB-2006080132
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200608-314
|漏洞详情
Horde是个以PHP为基础的架构,用来创建网络用程式。在Horde产品的搜索屏幕中,一些指定的字段存在跨站脚本漏洞:sVirtualfolderlabel:name="vfolder_label"value="">"/>攻击者可以通过HTTPPOST请求注入恶意脚本。
|漏洞EXP
Horde Framework and Horde IMP search.php cross site scripting

scip AG Vulnerability ID 2457 (08/16/2006)
http://www.scip.ch/cgi-bin/smss/showadvf.pl?id=2457

I. INTRODUCTION

Horde is an open-source web application framework based on PHP. It
offers popular applications, such as the Horde IMP mail client, a
groupware and wiki solution.

More information is available on the official Horde product web site at
the following URL:

http://www.horde.org/

II. DESCRIPTION

Marc Ruef found several web-based vulnerabilities that were identified
in Horde 3.0.4 and verified for all versions prior to 3.1.2 and IMP
prior to 4.1.3.

On IMP search screen, some of the given fields are vulnerable to a cross
site scripting attack:

<i>Virtual folder label:</i><input type="text" id="vfolder_label"
name="vfolder_label" value=""><script>alert('scipAG');</script>" />

An attacker might be able to inject script code. However, it is
important so see that this vulnerability is exploitable only with HTTP
POST requests. If the attacker has an account on the local machine, they
can create a shared folder that the victim has access to with a
malicious name.

III. EXPLOITATION

Classic script injection techniques within a browser session can be used
to exploit this vulnerabilities. [1, 2]

A plugin for our open-source exploiting framework "Attack Tool Kit"
(ATK) will be published in the near future. [3]

IV. IMPACT

Because non-authenticated parts of the software are affected too, this
vulnerabilities are serious for every secure environment.
Non-authenticated users might be able to exploit this flaw to gain
elevated privileges (e.g. extracting sensitive cookie information or
launch a buffer overflow attack against another web browser).

The other parts are affecting authenticated parts. This requires a
legitimate user to exploit the vulnerabilities. However, because cross
site scripting attacks could be launched from external attackers, these
vulnerabilities still become a high risk rating.

V. DETECTION

Detection of web based attacks requires a specialized web proxy and/or
intrusion detection system. Patterns for such a detection are available
and easy to implement.

VI. SOLUTION

The cross site scripting vulnerability (4) has been fixed in CVS HEAD
(Juli 2006) and FRAMEWORK_3. The other vulnerabilities were addressed in
the current release 3.1.2 and IMP 4.1.3.

VII. VENDOR RESPONSE

The Horde team has been informed at 07/04/2006 via email to
security-at-horde.org. A first response came back on the same day.
Several email messages were exchanged to discuss the vulnerabilities and
to co-ordinate the disclosure of this advisory.

VIII. SOURCES

scip AG - Security Consulting Information Process (german)
http://www.scip.ch

scip AG Vulnerability Database (german)
http://www.scip.ch/cgi-bin/smss/showadvf.pl?id=2457

computec.ch document data base (german)
http://www.computec.ch/download.php

IX. DISCLOSURE TIMELINE

05/15/06 Identification of the vulnerabilities
07/04/06 Informing the Horde team
07/04/06 First reply of the Horde team
08/16/06 Public advisory

IX. CREDITS

The vulnerabilities were discovered by Marc Ruef.

Marc Ruef, scip AG, Zuerich, Switzerland
     maru-at-scip.ch
     http://www.scip.ch

A1. BIBLIOGRAPHY

[1] http://www.computec.ch/download.php?view.812
[2] http://www.computec.ch/download.php?view.808
[3] http://www.computec.ch/projekte/atk/

A2. LEGAL NOTICES

Copyright (c) 2006 scip AG, Switzerland.

Permission is granted for the re-distribution of this alert. It may not
be edited in any way without permission of scip AG.

The information in the advisory is believed to be accurate at the time
of publishing based on currently available information. There are no
warranties with regard to this information. Neither the author nor the
publisher accepts any liability for any direct, indirect or
consequential loss or damage from use of or reliance on this advisory.
|参考资料

来源:XF
名称:horde-search-xss(28409)
链接:http://xforce.iss.net/xforce/xfdb/28409
来源:BID
名称:19544
链接:http://www.securityfocus.com/bid/19544
来源:BUGTRAQ
名称:20060816[scip_Advisory2457]HordeFrameworkandHordeIMP/horde/imp/search.phpcrosssitescripting
链接:http://www.securityfocus.com/archive/1/archive/1/443361/100/0/threaded
来源:MISC
链接:http://www.scip.ch/cgi-bin/smss/showadvf.pl?id=2457
来源:VUPEN
名称:ADV-2006-3316
链接:http://www.frsirt.com/english/advisories/2006/3316
来源:SECUNIA
名称:21533
链接:http://secunia.com/advisories/21533
来源:MLIST
名称:[horde-announce]20060817IMPH3(4.1.3)(final)
链接:http://lists.horde.org/archives/announce/2006/000294.html
来源:SECTRACK
名称:1016713
链接:http://securitytracker.com/id?1016713
来源:SREASON
名称:1423
链接:http://securityreason.com/securityalert/1423