Australia's Leading Computer Emergency Response Team

ESB-2009.1681 - [Win][UNIX/Linux] Automated Logout (Drupal third-party module): Cross-site scripting - Existing account
Date: 24 December 2009
Original URL: http://www.auscert.org.au/render.html?cid=1980&it=12171

Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                               ESB-2009.1681
    Automated Logout (Drupal third-party module): Cross Site Scripting
                             24 December 2009

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

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

Product:           Automated Logout (Drupal third-party module)
Publisher:         Drupal
Operating System:  Windows
                   UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Cross-site Scripting -- Existing Account
Resolution:        Patch/Upgrade

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

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

  * Advisory ID: DRUPAL-SA-CONTRIB-2009-114
  * Project: Automated Logout (third-party module)
  * Version: 6.x
  * Date: 2009-December-23
  * Security risk: Moderately Critical
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting

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

This module provides a site administrator the ability to log users out after
a specified time of inactivity. 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 autologout'
permission.

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

  * Automated Logout module 6.x-1.6 and prior versions on the 6.x-1.x branch
  * Automated Logout module 6.x-2.2 and prior versions on the 6.x-2.x branch

Note that the Drupal 5 version of the Automated Logout module is also
affected, but the attacker must have a role with the 'administer site
configuration' permission. The 'administer site configuration' permission is
inherently unsafe and should only be granted to trusted users; therefore,
this issue is not considered a security vulnerability for Drupal 5 (see
http://drupal.org/node/475848). Drupal core is not affected. If you do not
use the contributed Automated Logout [2] module, there is nothing you need to
do.

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

Install the latest version:
  * If you use the Automated Logout module for Drupal 6.x, upgrade to either
    Automated Logout 6.x-1.7 [3] or Automated Logout 6.x-2.3 [4]

See also the Automated Logout module project page [5].

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

mr.baileys [6]

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

jvandervort [7], one of the Automated Logout module maintainers

- -------- 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/autologout
[3] http://drupal.org/node/667084
[4] http://drupal.org/node/667086
[5] http://drupal.org/project/autologout
[6] http://drupal.org/user/383424
[7] http://drupal.org/user/35604

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

iD8DBQFLMvIvNVH5XJJInbgRAn44AJ9+DY2Hnq/Ua8pkIb7t9Sg+QRt/agCeMR9v
GzjhbE+9h1H7vyJXaBp+3Rk=
=AyEH
-----END PGP SIGNATURE-----