Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

                    ESB-2008.0215 -- [Win][UNIX/Linux]
        Drupal Core - Multiple cross site scripting vulnerabilities
                               5 March 2008


        AusCERT Security Bulletin Summary

Product:              Drupal Core
Publisher:            Drupal
Operating System:     UNIX variants (UNIX, Linux, OSX)
Impact:               Cross-site Scripting
Access:               Remote/Unauthenticated
CVE Names:            CVE-2008-1131 CVE-2008-1133

Original Bulletin:    http://drupal.org/node/227608

Revision History:  March 5 2008: Added CVEs
                   February 28 2008: Initial Release

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

- ------------SA-2008-018 - DRUPAL CORE - CROSS SITE SCRIPTING------------

  * Advisory ID: DRUPAL-SA-2008-018

  * Project: Drupal core

  * Version: 6.0

  * Date: 2008-February-27

  * Security risk: Moderately critical

  * Exploitable from: Remote

  * Vulnerability: Multiple cross site scripting vulnerabilities

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

Titles are not escaped prior to being displayed on content edit forms, allowing
users to inject arbitrary HTML and script code into these pages.

The Drupal.checkPlain function, used to escape text in ECMAScript, contains a
bug which causes it to escape only the first instance of a character, allowing
users to inject arbitrary HTML and script code in certain pages.

Wikipedia has more information about cross site scripting [
http://en.wikipedia.org/wiki/Xss ] (XSS).

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

  * Drupal 6.x before version 6.1.

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

Install the latest version:

  * Upgrade to Drupal 6.1 [
http://ftp.drupal.org/files/projects/drupal-6.1.tar.gz ].

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. 

  * To patch Drupal 6.0 use SA-2008-018-6.0.patch [
http://drupal.org/files/sa-2008-018/SA-2008-018-6.0.patch ].

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

  * Steve McKenzie [ http://drupal.org/user/45890 ] discovered the ECMAScript

  * The Drupal security team

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

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

- --------------------------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:


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:


Australian Computer Emergency Response Team
The University of Queensland
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.

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