-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                              ESB-2009.1656.2
           Drupal Core and Sections Module: Cross site scripting
                             22 December 2009

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:           Drupal Core
                   Sections (Drupal third-party module)
Publisher:         Drupal
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Cross-site Scripting -- Existing Account
Resolution:        Patch/Upgrade
CVE Names:         CVE-2009-4369 CVE-2009-4370 

Original Bulletin: 
   http://drupal.org/node/661586
   http://drupal.org/node/661404

Comment: This bulletin contains two (2) Drupal Security Advisories

Revision History:  December 22 2009: Added CVE References
                   December 17 2009: Initial Release

- --------------------------BEGIN INCLUDED TEXT--------------------

  * Advisory ID: DRUPAL-SA-CORE-2009-009
  * Project: Drupal core
  * Version: 5.x, 6.x
  * Date: 2009-December-16
  * Security risk: Not critical
  * Exploitable from: Remote
  * Vulnerability: Cross site scripting

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

Multiple vulnerabilities were discovered in Drupal.
.... Contact category name cross-site scripting

The Contact module does not correctly handle certain user input when
displaying category information. Users privileged to create contact
categories can insert arbitrary HTML and script code into the contact module
administration page. Such a cross-site scripting attack may lead to the
malicious user gaining administrative access. Wikipedia has more information
about cross-site scripting [1] (XSS). This issue affects Drupal 6.x and
Drupal 5.x.
.... Menu description cross-site scripting

The Menu module does not correctly handle certain user input when displaying
the menu administration overview. Users privileged to create new menus can
insert arbitrary HTML and script code into the menu module administration
page. Such a cross-site scripting attack may lead to the malicious user
gaining administrative access. Wikipedia has more information about
cross-site scripting [2] (XSS). This issue affects Drupal 6.x only.

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

  * Drupal 5.x before version 5.21.
  * Drupal 6.x before version 6.15.

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

Install the latest version:
  * If you are running Drupal 6.x then upgrade to Drupal 6.15 [3].
  * If you are running Drupal 5.x then upgrade to Drupal 5.21 [4].

If you are unable to upgrade immediately, you can apply a patch to secure
your installation until you are able to do a proper upgrade. Theses patches
fix the security vulnerability, but do not contain other fixes which were
released in Drupal 5.21 or Drupal 6.15.
  * To patch Drupal 6.14 use SA-CORE-2009-009-6.14.patch [5].
  * To patch Drupal 5.20 use SA-CORE-2009-009-5.20.patch [6].

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

The contact category XSS issue was independently reported by mr.baileys and
Justin Klein Keane [7]. The menu description XSS issue was reported by
mr.baileys [8].

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

The contact category XSS issue was fixed by Justin Klein Keane [9] and Dave
Reid [10]. The menu description XSS issue was fixed by Gábor Hojtsy [11] and
Heine Deelstra [12].

- -------- CONTACT -------------------------------------------------------------

The security team 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://en.wikipedia.org/wiki/Cross-site_scripting
[3] http://ftp.drupal.org/files/projects/drupal-6.15.tar.gz
[4] http://ftp.drupal.org/files/projects/drupal-5.21.tar.gz
[5] http://drupal.org/files/sa-core-2009-009/SA-CORE-2009-009-6.14.patch
[6] http://drupal.org/files/sa-core-2009-009/SA-CORE-2009-009-5.20.patch
[7] http://drupal.org/user/302225
[8] http://drupal.org/user/383424
[9] http://drupal.org/user/302225
[10] http://drupal.org/user/53892
[11] http://drupal.org/user/4166
[12] http://drupal.org/user/17943


  * Advisory ID: DRUPAL-SA-CONTRIB-2009-112
  * Project: Sections (third-party module)
  * Version: 5.x, 6.x
  * Date: 2009-December-16
  * Security risk: Moderately Critical
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting

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

The Sections module allows the creation of sections within a site. Each
section has an installed template, theme or style attached to it. The module
does not sanitize some of the user-supplied data before displaying it,
leading to a Cross Site Scripting (XSS [1]) vulnerability. Users who can take
advantage of this vulnerability could gain administrator access to a site.
This vulnerability is mitigated by the fact that the attacker must have a
role with the 'administer sections' permission.

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

  * Sections module 5.x-1.2 and prior versions
  * Sections module 6.x-1.2 and prior versions

Drupal core is not affected. If you do not use the contributed Sections [2]
module, there is nothing you need to do.

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

Install the latest version:
  * If you use the Sections module for Drupal 5.x upgrade to Sections 5.x-1.3
    [3]
  * If you use the Sections module for Drupal 6.x upgrade to Sections 6.x-1.3
    [4]

See also the Sections module project page [5]

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

Justin C. Klein Keane [6]

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

Alexander Hass [7] the module maintainer.

- -------- CONTACT -------------------------------------------------------------

The security team 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/project/sections
[3] http://drupal.org/node/660794
[4] http://drupal.org/node/660796
[5] http://drupal.org/project/sections
[6] http://drupal.org/user/302225
[7] http://drupal.org/user/85918

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iD8DBQFLMET3NVH5XJJInbgRAmQ9AJ9pguRaNihveOhthWEo6clLABNCqQCfWoy+
fKDBg2avkfbFCTnzoXX8oTo=
=XMrl
-----END PGP SIGNATURE-----