[Security-news] SA-CONTRIB-2012-115 - Gallery formatter - Cross Site Scripting (XSS)

security-news at drupal.org security-news at drupal.org
Wed Jul 25 20:06:42 UTC 2012


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

  * Advisory ID: DRUPAL-SA-CONTRIB-2012-115
  * Project: Gallery formatter [1] (third-party module)
  * Version: 7.x
  * Date: 2012-July-25
  * Security risk: Moderately critical [2]
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting

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

Gallery formatter provides a field formatter for images that turns the fields
into jQuery galleries.
The module did not properly escape input from the user before printing it to
the browser, allowing malicious users to inject script code into the page.

This vulnerability is mitigated by the fact that an attacker must have a role
with the permission to create the nodes / entities and the fields that use
the formatter.

CVE: Requested

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

  * Gallery formatter 7.x-1.x versions prior to 7.x-1.2.

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

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

Install the latest version:

  * If you use the Gallery formatter module for Drupal 7.x, upgrade to Gallery
    formatter 7.x-1.2 [4]

Also see the Gallery formatter [5] project page.

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

  * Sudipta Bandyopadhyay [6]

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

  * Manuel Garcia [7] the module maintainer

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

  * Greg Knaddison [8] 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 [9].

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


[1] http://drupal.org/project/galleryformatter
[2] http://drupal.org/security-team/risk-levels
[3] http://drupal.org/project/galleryformatter
[4] http://drupal.org/node/1699744
[5] http://drupal.org/project/galleryformatter
[6] http://drupal.org/user/140596
[7] http://drupal.org/user/213194
[8] http://drupal.org/user/36762
[9] http://drupal.org/contact
[10] http://drupal.org/security-team
[11] http://drupal.org/writing-secure-code
[12] http://drupal.org/security/secure-configuration



More information about the Security-news mailing list