Drupal ‘Aberdeen Theme’ 跨站脚本漏洞

QQ空间 新浪微博 微信 QQ facebook twitter
漏洞ID 1172863 漏洞类型 跨站脚本
发布时间 2012-05-18 更新时间 2012-05-18
CVE编号 CVE-2012-2907 CNNVD-ID CNNVD-201205-310
漏洞平台 N/A CVSS评分 2.6
|漏洞来源
https://cxsecurity.com/issue/WLB-2012050128
http://www.cnnvd.org.cn/web/xxk/ldxqById.tag?CNNVD=CNNVD-201205-310
|漏洞详情
Drupal是Drupal社区所维护的一套用PHP语言开发的免费、开源的内容管理系统。Drupal的Aberdeentheme中存在跨站脚本漏洞,该漏洞源于对用户提供的输入未经正确过滤。攻击者可利用该漏洞在受影响站点上下文的不知情用户浏览器上执行任意脚本代码,盗取基于cookie的认证证书进而发起其他攻击。Aberdeen6.x-1.x之前版本至6.x-1.11版本中存在该漏洞。
|漏洞EXP
View online: http://drupal.org/node/1585890

  * Advisory ID: DRUPAL-SA-CONTRIB-2012-081
  * Project: Aberdeen [1] (third-party theme)
  * Version: 6.x
  * Date: 2012-May-16
  * Security risk: Moderately critical [2]
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting

-------- DESCRIPTION  
---------------------------------------------------------

CVE: Requested.
The Aberdeen theme provides a configurable breadcrumb which is commonly used
as an additional navigation tool for users.

The theme outputs the breadcrumb, but does not provide sufficient filtering
to prevent a Cross site scripting (XSS) attack.

This vulnerability is mitigated by the fact that the "Append the content
title to the end of the breadcrumb" checkbox is not enabled by default and
needs to be enabled for this to be exploited.

-------- VERSIONS AFFECTED  
---------------------------------------------------

  * Aberdeen 6.x-1.x versions prior to 6.x-1.11

Drupal core is not affected. If you do not use the contributed Aberdeen [3]
theme, there is nothing you need to do.

-------- SOLUTION  
------------------------------------------------------------

Install the latest version:

  * If you use the Aberdeen theme for Drupal 6.x, upgrade to theme 6.x-1.11
    [4]

If you copied code from the aberdeen_breadcrumb function into a custom
sub-theme's template.php file you should compare your code to the changes to
ensure that menu_get_active_title() is properly wrapped in check plain like:

check_plain(menu_get_active_title());

Also see the Aberdeen [5] project page.

-------- REPORTED BY  
---------------------------------------------------------

  * Jakub Suchy [6] of the Drupal Security Team
  * Premek Sumpela [7]

-------- FIXED BY  
------------------------------------------------------------

  * Jakub Suchy [8] of the Drupal Security Team
  * Michael Hess [9] of the Drupal Security Team
  * Ishmael Sanchez [10] the theme maintainer

-------- COORDINATED BY  
------------------------------------------------------

  * Greg Knaddison [11] of the Drupal Security Team
  * Michael Hess [12] of the Drupal Security Team

-------- CONTACT AND MORE INFORMATION  
----------------------------------------

The Drupal security team can be reached at security at drupal.org or via the
contact form at http://drupal.org/contact [13].

Learn more about the Drupal Security team and their policies [14], writing
secure code for Drupal [15], and securing your site [16].


[1] http://drupal.org/project/aberdeen
[2] http://drupal.org/security-team/risk-levels
[3] http://drupal.org/project/aberdeen
[4] http://drupal.org/node/1585878
[5] http://drupal.org/project/aberdeen
[6] http://drupal.org/user/31977
[7] http://drupal.org/user/31391
[8] http://drupal.org/user/31977
[9] http://drupal.org/user/102818
[10] http://drupal.org/user/464624
[11] http://drupal.org/user/36762
[12] http://drupal.org/user/102818
[13] http://drupal.org/contact
[14] http://drupal.org/security-team
[15] http://drupal.org/writing-secure-code
[16] http://drupal.org/security/secure-configuration

_______________________________________________
Security-news mailing list
Security-news@drupal.org
http://lists.drupal.org/mailman/listinfo/security-news

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/
|参考资料

来源:BID
名称:53581
链接:http://www.securityfocus.com/bid/53581
来源:SECUNIA
名称:49150
链接:http://secunia.com/advisories/49150
来源:drupalcode.org
链接:http://drupalcode.org/project/aberdeen.git/commitdiff/1994e8e
来源:drupal.org
链接:http://drupal.org/node/1585890
来源:drupal.org
链接:http://drupal.org/node/1585878