PHProjekt 多个跨站脚本攻击漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1191255 漏洞类型 跨站脚本
发布时间 2007-03-14 更新时间 2007-06-20
CVE编号 CVE-2007-1576 CNNVD-ID CNNVD-200703-523
漏洞平台 N/A CVSS评分 4.3
|漏洞来源
https://www.securityfocus.com/bid/22957
https://cxsecurity.com/issue/WLB-2007030157
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-200703-523
|漏洞详情
PHProjekt5.2.0中存在多个跨站脚本攻击漏洞。当magic_quotes_gpc被禁用时,远程认证用户可以借助提交到(1)Projects,(2)Contacts,(3)Helpdesk,(4)Search(仅限于Gecko引擎驱动浏览器),(5)Notes模块,(6)Mailsummary页面和其他文件的未明向量,注入任意的web脚本或HTML。
|漏洞EXP
n.runs AG
http://www.nruns.com/                              security at nruns.com
n.runs-SA-2007.004                                           14-Mar-2007
________________________________________________________________________

Vendor:                Mayflower GmbH, http://www.mayflower.de
Affected Products:     PHProjekt 5.2.0
Vulnerability:         Cross Site Scripting and Filter Evasion
Risk:                  HIGH

________________________________________________________________________

Vendor communication:

2006/12/31        initial notification of Mayflower
  2007/01/02        Mayflower Response
  2007/01/02        PGP keys exchange
  2007/01/02        PoCs sent to Mayflower
  2007/01/11        Mayflower confirmed the bugs
  2007/01/30        Mayflower fixed the bugs and sends RC1
  2007/01/30        n.runs informs Mayflower about a persisting XSS 
                    vulnerability
  2007/02/02        Mayflower confirmed the bug
  2007/02/08        Mayflower fixed the bugs and sends RC2   
  2007/02/12        n.runs informs Mayflower about a persisting XSS
                    vulnerability
  2007/02/15        Mayflower confirmed the bug
  2007/02/20        Mayflower fixed the bug and sends RC3
  2007/02/21        n.runs verifies RC3 and reported a possible flaw
                    within the new XSS protection library
  2007/03/14        PHProjekt 5.2.1 available
  2007/03/14        Coordinated disclosure

________________________________________________________________________

Overview:
Quoting http://www.phprojekt.com/features.php?&newlang=eng 
"PHProjekt is a modular application for the coordination of group 
activities and to share informations and document via the web.
Components of PHProjekt: Group calendar, project management, time card 
system, file management, contact manager, mail client and many other 
modules.
PHProjekt supports many protocols like ldap, xml/soap and webdav and 
is available for 38 languages and 9 databases."

Description:
In detail, the following flaws were determined during a quick source 
code review for the modules Projects, Contacts, Helpdesk, Notes, Search
and Mail. 
During the validation the php.ini setting "magic_quotes_gpc" was 
deactivated.

Although PHProjekt is using a Cross Site Scripting Filter, it is 
possible to circumvent it.
Affected modules are
    - Projects
    - Contacts
    - Helpdesk
    - Notes
    - Search
    - Mail
The Search module affects only Gecko engine driven Browsers.
      
Finally, the Cross Site Scripting vulnerability also affects the summary 
page, which is PHProjekt's index page.

Remarks
-------
There may be other modules which are affected, but they have not been 
subject to review at this point.

Solution:
The vulnerabilities were reported on Dec 31 2006 and an update has 
been released on Mar 14 2007.
________________________________________________________________________

Credit: 
Bugs found by Alexios Fakos of n.runs AG. 
________________________________________________________________________

References: 
http://www.nruns.com/security_advisory_phprojekt_xss_and_filter_evasion.
php
________________________________________________________________________

Unaltered electronic reproduction of this advisory is permitted. For all
other reproduction or publication, in printing or otherwise, contact 
security (at) nruns (dot) com [email concealed] for permission. Use of the advisory constitutes 
acceptance for use in an "as is" condition. All warranties are excluded.
In no event shall n.runs be liable for any damages whatsoever including
direct, indirect, incidental, consequential, loss of business profits or
special damages, even if n.runs has been advised of the possibility of 
such damages.

Copyright 2007 n.runs AG. All rights reserved. Terms of apply.
|受影响的产品
PHProjekt PHProjekt 5.2 PHProjekt PHProjekt 5.1.2 PHProjekt PHProjekt 5.1.1 PHProjekt PHProjekt 5.1 Gentoo Linux
|参考资料

来源:www.phprojekt.com
链接:http://www.phprojekt.com/index.php?name=News&file=article&sid=276
来源:BID
名称:22957
链接:http://www.securityfocus.com/bid/22957
来源:BUGTRAQ
名称:20070314n.runs-SA-2007.004-PHProjekt5.2.0-CrossSiteScriptingandFilterEvasion
链接:http://www.securityfocus.com/archive/1/archive/1/462788/100/0/threaded
来源:MISC
链接:http://www.nruns.de/security_advisory_phprojekt_xss_and_filter_evasion.php
来源:SECUNIA
名称:24509
链接:http://secunia.com/advisories/24509
来源:OSVDB
名称:34069
链接:http://osvdb.org/34069
来源:OSVDB
名称:34068
链接:http://osvdb.org/34068
来源:OSVDB
名称:34067
链接:http://osvdb.org/34067
来源:OSVDB
名称:34066
链接:http://osvdb.org/34066
来源:OSVDB
名称:34065
链接:http://osvdb.org/34065
来源:OSVDB
名称:34064
链接:http://osvdb.org/34064
来源:SREASON
名称:2459
链接:http://securityreason.com/securityalert/2459
来源:GENTOO
名称:GLSA-200706-07
链接:http://security.gentoo.org/glsa/glsa-200706-07.xml
来源:SECUNIA
名称:25748
链接:http://secunia.com/advisories/25748