[Security-news] SA-CONTRIB-2009-046 - Date - Cross Site Scripting

security-news at drupal.org security-news at drupal.org
Wed Jul 29 17:10:43 UTC 2009


  * Advisory ID: DRUPAL-SA-CONTRIB-2009-046
  * Project: Date (third-party module)
  * Version: 6.x
  * Date: 2009-July-29
  * Security risk: Moderately critical
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting

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

The Date module provides a date CCK field that can be added to any content
type. The Date Tools module that is bundled with Date module does not
properly escape user input when displaying labels for fields on a content
type. A malicious user with the 'use date tools' permission of the Date Tools
sub-module, or the 'administer content types' permission could attempt a
cross site scripting [1] (XSS) attack when creating a new content type,
leading to the user gaining full administrative access.
-------- VERSIONS AFFECTED  
---------------------------------------------------

  * Date for Drupal 6.x prior to 6.x-2.3

Drupal core is not affected. If you do not use the contributed Date module,
there is nothing you need to do.
-------- SOLUTION  
------------------------------------------------------------

Upgrade to the latest version:
  * If you use Date for Drupal 6.x upgrade to Date 6.x-2.3 [2]

Note that the 'use date tools' permission has been renamed as 'administer
date tools' to clarify that this is an administrative permission (it allows
the creation of new content types via a wizard form). You will need to
re-assign this permission to any roles that were using it. See also the Date
project page [3].
-------- REPORTED BY  
---------------------------------------------------------

Stella Power [4] of the Drupal Security Team
-------- FIXED BY  
------------------------------------------------------------

Stella Power [5] and Karen Stevenson [6], the project maintainer.
-------- CONTACT  
-------------------------------------------------------------

The security contact for Drupal can be reached at security at drupal.org or
via the form at http://drupal.org/contact.

[1] http://en.wikipedia.org/wiki/Cross-site_scripting
[2] http://drupal.org/node/534332
[3] http://drupal.org/project/date
[4] http://drupal.org/user/66894
[5] http://drupal.org/user/66894
[6] http://drupal.org/user/45874



More information about the Security-news mailing list