Australia's Leading Computer Emergency Response Team

ESB-2009.1009 - [Win][UNIX/Linux] Advanced Forum (third-party drupal module): Multiple vulnerabilities
Date: 02 July 2009
Original URL: http://www.auscert.org.au/render.html?cid=35&it=11243

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

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

                               ESB-2009.1009
                Advanced Forum (third-party Drupal module)
                                2 July 2009

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

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

Product:           Advanced Forum (third-party drupal module)
Publisher:         Drupal
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Cross-site Scripting            -- Remote with User Interaction
                   Execute Arbitrary Code/Commands -- Existing Account            
Resolution:        Upgrade

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

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

  * Advisory ID: DRUPAL-SA-CONTRIB-2009-040
  * Project: Advanced Forum (third-party module)
  * Version: 5.x, 6.x
  * Date: 2009-July-1
  * Security risk: Moderately critical
  * Exploitable from: Remote
  * Vulnerability: Multiple vulnerabilities

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

.... Cross-site scripting

The Advanced Forum module does not correctly handle certain arguments
obtained from the URL. By enticing a suitably privileged user to visit a
specially crafted URL, a malicious user is able to insert arbitrary HTML and
script code into forum pages. Such a cross-site scripting attack may lead to
the malicious user gaining administrative access. Wikipedia has more
information about cross-site scripting (XSS). This issue affects both
Advanced Forum for Drupal 5.x and Advanced Forum for Drupal 6.x.

.... Input format access bypass

User signatures have no separate input format, they use the format of the
comment with which they are displayed. A user will no longer be able to edit
a comment when an administrator changes the comment's input format to a
format that is not accessible to the user. However they will still be able to
modify their signature, which will then be processed by the new input format.
If the new format is very permissive, via their signature, the user may be
able to insert arbitrary HTML and script code into pages or, when the PHP
filter is enabled for the new format, execute PHP code. This issue affects
Advanced Forum for Drupal 6.x only.

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

  * Advanced Forum for Drupal 5.x prior to Advanced Forum 5.x-1.2
  * Advanced Forum for Drupal 6.x prior to Advanced Forum 6.x-1.2

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

Upgrade to the latest version:
  * If you use Advanced Forum for Drupal 5.x upgrade to Advanced Forum 5.x-1.1
    [1]
  * If you use Advanced Forum for Drupal 6.x upgrade to Advanced Forum 6.x-1.1
    [2]

See also the Advanced Forum project page [3].

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

Michelle Cox [4], 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://drupal.org/node/507550
[2] http://drupal.org/node/507526
[3] http://drupal.org/project/advanced_forum
[4] http://drupal.org/user/23570

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

iD8DBQFKTBYFNVH5XJJInbgRAm9MAJ9mw8WIGf3lHrGDXhkijSpWbWF+jQCdGbMu
uIwTI15Ff8JsJgxbijZZ1Xg=
=oWFV
-----END PGP SIGNATURE-----