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

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

                               ESB-2010.0551
           Drupal Third Party-Modules: Multiple Vulnerabilities
                               18 June 2010

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

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

Product:           FileField (third-party module)
                   Views (third-party module)
Publisher:         Drupal
Operating System:  UNIX variants (UNIX, Linux, OSX)
                   Windows
Impact/Access:     Cross-site Scripting       -- Remote with User Interaction
                   Cross-site Request Forgery -- Remote with User Interaction
Resolution:        Patch/Upgrade

Original Bulletin: 
   http://drupal.org/node/829808
   http://drupal.org/node/829840

Comment: This bulletin contains two (2) Drupal security advisories.

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

  * Advisory ID: DRUPAL-SA-CONTRIB-2010-066
  * Project: FileField (third-party module)
  * Version: 5.x, 6.x
  * Date: 2010-June-16
  * Security risk: Moderately critical
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting

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

FileField module integrates with the Content Construction Kit to provide a
file upload field. It also integrates with the Views and Token modules. The
module does not sanitize some of the user-supplied data before displaying it
(for Drupal 6.x-3.x only), or before adding it to tokens (both 5.x-2.x and
6.x-3.x), leading to a Cross Site Scripting (XSS [1]) vulnerability that may
lead to a malicious user gaining full administrative access. This
vulnerability is mitigated by the fact that the attacker must be able to
create or edit content with a FileField, and the site administrator must have
configured a vulnerable display format ('Path to File' or 'URL to File') or
be using token containing the filename, filepath, or description.
- -------- VERSIONS AFFECTED  
- ---------------------------------------------------

  * FileField module for Drupal 5.x versions prior to 5.x-2.5
  * FileField module for Drupal 6.x versions prior to 6.x-3.4

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

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

See also the FileField project page [5].
- -------- REPORTED BY  
- ---------------------------------------------------------

  * Justin Klein Keane [6]
  * Peter Wolanin [7] of the Drupal security team

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

  * Peter Wolanin [8] of the Drupal security team
  * Justin Klein Keane [9]
  * Nathan Haug [10], the module maintainer

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

The Drupal security team [11] 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/filefield
[3] http://drupal.org/node/829790
[4] http://drupal.org/node/829754
[5] http://drupal.org/project/filefield
[6] http://drupal.org/user/302225
[7] http://drupal.org/user/49851
[8] http://drupal.org/user/49851
[9] http://drupal.org/user/302225
[10] http://drupal.org/user/35821
[11] http://drupal.org/security-team

_______________________________________________

  * Advisory ID: DRUPAL-SA-CONTRIB-2010-067
  * Project: Views (third-party module)
  * Version: 5.x, 6.x
  * Date: 2010-June-16
  * Security risk: Less critical
  * Exploitable from: Remote
  * Vulnerability: Multiple vulnerabilities

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

The Views module provides a flexible method for Drupal site designers to
control how lists and tables of content are presented.
- -------- CROSS SITE REQUEST FORGERY (CSRF)  
- -----------------------------------

The Views UI module, which is included with Views, can be used to
enable/disable Views by following a link to a particular page (e.g.
admin/build/views/disable/frontpage). As no protections, such as form tokens,
are in place to prevent forged requests to these pages, the feature is
vulnerable to a Cross Site Request Forgery (CSRF [1]) that would allow an
attacker to enable/disable all Views on a site. Mitigating factors: If Views
UI module is disabled Views will no longer be affected by this vulnerability.
This issue affects Views for Drupal 5 and Drupal 6.
- -------- CROSS SITE SCRIPTING (XSS)  
- ------------------------------------------

Under certain circumstances, Views could display URLs or aggregator feed
titles without escaping, resulting in a Cross Site Scripting (XSS [2])
vulnerability. An attacker could exploit this to gain full administrative
access. This issue affects Views for Drupal 6 only.
- -------- VERSIONS AFFECTED  
- ---------------------------------------------------

  * Views module for Drupal 5.x versions prior to 5.x-1.8
  * Views module for Drupal 6.x versions prior to 6.x-2.11

Drupal core is not affected. If you do not use the contributed Views [3]
module, there is nothing you need to do.
- -------- SOLUTION  
- ------------------------------------------------------------

Install the latest version:
  * If you use the Views module for Drupal 5.x upgrade to Views 5.x-1.8 [4]
  * If you use the Views module for Drupal 6.x upgrade to Views 6.x-2.11 [5]

See also the Views project page [6].
- -------- REPORTED BY  
- ---------------------------------------------------------

  * The Cross Site Request Forgery (CSRF) vulnerability was reported by Martin
    Barbella (mbarbella [7]).
  * The Cross Site Scripting (XSS) vulnerabilities were reported by Earl Miles
    (merlinofchaos [8]), module maintainer and Daniel Wehner (dereine [9]),
    module co-maintainer

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

  * Earl Miles (merlinofchaos [10]), module maintainer

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

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

[1] http://en.wikipedia.org/wiki/Csrf
[2] http://en.wikipedia.org/wiki/Cross-site_scripting
[3] http://drupal.org/project/views
[4] http://drupal.org/node/829848
[5] http://drupal.org/node/829846
[6] http://drupal.org/project/views
[7] http://drupal.org/user/633600
[8] http://drupal.org/user/26979
[9] http://drupal.org/user/99340
[10] http://drupal.org/user/26979
[11] http://drupal.org/security-team

_______________________________________________

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

iD8DBQFMGrXY/iFOrG6YcBERAqFfAKDY6CCFWOvcwvHJ8sr/OxNGgMFODACgnmxU
RmQgmafihC6AmTYKHffV6Wc=
=Bf5s
-----END PGP SIGNATURE-----