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

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

                    ESB-2009.0515 -- [Win][UNIX/Linux]
            Drupal third-party modules: Execute Arbitrary Code
                                1 June 2009

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

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

Product:              Printer, e-mail and PDF versions (third-party modules)
Publisher:            Drupal
Operating System:     UNIX variants (UNIX, Linux, OSX)
                      Windows
Impact:               Execute Arbitrary Code/Commands
                      Administrator Compromise
                      Cross-site Scripting
Access:               Remote/Unauthenticated
CVE Names:            CVE-2009-1823

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

Revision History:     June 1 2009: Added CVE
                      June  1 2009: Initial Release

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

SA-CONTRIB-2009-027 - Printer, e-mail and PDF versions - Cross-site 
                      scripting
Security advisories for contributed projects  Drupal 5.x  Drupal 6.x
Drupal Security Team - May 13, 2009 - 16:40

    * Advisory ID: DRUPAL-SA-CONTRIB-2009-027
    * Project: Printer, e-mail and PDF versions (third-party module)
    * Versions: 5.x, 6.x
    * Date: 2009-May-13
    * Security risk: Moderately critical
    * Exploitable from: Remote
    * Vulnerability: Multiple vulnerabilities

Description

When outputting user-supplied data Drupal strips potentially dangerous HTML 
attributes and tags or escapes characters which have a special meaning in 
HTML. This output filtering secures the site against cross site scripting 
attacks via user input.

Certain byte sequences that are valid in the UTF-8 specification are 
potentially dangerous when interpreted as UTF-7. Internet Explorer 6 and 7 
may decode these characters as UTF-7 if they appear before the 
<meta http-equiv="Content-Type" /> tag that specifies the page content as 
UTF-8, despite the fact that Drupal also sends a real HTTP header 
specifying the content as UTF-8. This behaviour enables malicious users to 
insert and execute Javascript in the context of the website if site visitors 
are allowed to post content. Note, this vulnerability is identical to that 
fixed for Drupal core by DRUPAL-SA-CORE-2009-005

Such a cross site scripting (XSS) attack may lead to a malicious user 
gaining full administrative access.

Versions Affected

    * Versions of "Printer, e-mail and PDF versions" for Drupal 5.x prior 
      to 5.x-4.7
    * Versions of "Printer, e-mail and PDF versions" for Drupal 6.x prior 
      to 6.x-1.7

Drupal core is not affected. If you do not use the contributed "Printer,
e-mail and PDF versions" module, there is nothing you need to do.

Solution

Install the latest version:

    * If you use "Printer, e-mail and PDF versions" for Drupal 5.x 
        upgrade to Printer, e-mail and PDF versions 5.x-4.7
    * If you use "Printer, e-mail and PDF versions" for Drupal 6.x 
        upgrade to Printer, e-mail and PDF versions 6.x-1.7

Reported by

Daniel F. Kudwien

Fixed by

Joo Ventura

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:

        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

iD8DBQFKI2nsNVH5XJJInbgRAtPpAJ9YSh0ej5Cr9CLJkasfOv6nbj+ibQCffXWj
Stj+deiqK5RLvrahgO69Ck0=
=8F6m
-----END PGP SIGNATURE-----