[Security-news] SA-CONTRIB-2012-147 - FileField Sources - Cross Site Scripting (XSS)

security-news at drupal.org security-news at drupal.org
Wed Sep 19 18:24:11 UTC 2012


View online: http://drupal.org/node/1789306

  * Advisory ID: DRUPAL-SA-CONTRIB-2012-147
  * Project: FileField Sources [1] (third-party module)
  * Version: 6.x, 7.x
  * Date: 2012-September-19
  * Security risk: Moderately critical [2]
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting

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

The Drupal FileField module lets you upload files from your computer through
a CCK field. The FileField Sources module expands on this ability by allowing
you to select new or existing files through additional means. The FileField
Sources module contains a persistent cross site scripting (XSS) vulnerability
due to the fact that it fails to sanitize user supplied filenames before
display.

This vulnerability is mitigated by the fact that malicious users must have
the ability to upload files on a field that has the "Reference existing"
source enabled.

CVE: Requested

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

  * FileField Sources 6.x-1.x versions prior to 6.x-1.6.
  * FileField Sources 7.x-1.x versions prior to 7.x-1.6.

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

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

Install the latest version:

  * If you use the FileField Sources module for Drupal 6.x, upgrade to
    FileField Sources 6.x-1.6 [4]
  * If you use the FileField Sources module for Drupal 7.x, upgrade to
    FileField Sources 7.x-1.6 [5]

Also see the FileField Sources [6] project page.

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

  * Disclosed publicly.

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

  * Nathan Haug [7] the module maintainer

-------- COORDINATED BY  
------------------------------------------------------

  * Greg Knaddison [8] of the Drupal Security Team
  * Michael Hess [9] of the Drupal Security Team

-------- CONTACT AND MORE INFORMATION  
----------------------------------------

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

Learn more about the Drupal Security team and their policies [11], writing
secure code for Drupal [12], and securing your site [13].


[1] http://drupal.org/project/filefield_sources
[2] http://drupal.org/security-team/risk-levels
[3] http://drupal.org/project/filefield_sources
[4] http://drupal.org/node/1789300
[5] http://drupal.org/node/1789302
[6] http://drupal.org/project/filefield_sources
[7] http://drupal.org/user/35821
[8] http://drupal.org/user/36762
[9] http://drupal.org/user/102818
[10] http://drupal.org/contact
[11] http://drupal.org/security-team
[12] http://drupal.org/writing-secure-code
[13] http://drupal.org/security/secure-configuration



More information about the Security-news mailing list