[Security-news] SA-CONTRIB-2011-027 -Facebook Share - Cross Site Scripting (XSS)

security-news at drupal.org security-news at drupal.org
Wed Jul 6 16:10:08 UTC 2011


  * Advisory ID: DRUPAL-SA-CONTRIB-2011-027
  * Project: Facebook Share [1] (third-party module)
  * Version: 6.x, 7.x
  * Date: 2011-July-06
  * Security risk: Moderately critical [2]
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting

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

This module enables Drupal site administrators to add a Facebook Share button
to selected content type nodes.
The module doesn't sufficiently check the override text or button size input
fields on the module configuration form to prevent against an XSS exploit.
This vulnerability is mitigated by the fact that an attacker must have a role
with the permission "administer facebookshare".

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

  * Drupal 6.x-1.1 and prior
  * Drupal 7.x-1.2 and prior

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

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

Install the latest version:

  * If you use the 6.x-1.1 or 6.x-1.0 module for Drupal 6.x upgrade to
    Facebook Share 6.x-1.2 [4]
  * If you use the 7.x-1.2 or prior module for Drupal 7.x upgrade to Facebook
    Share 7.x-1.3 [5]

See also the Facebook Share [6] project page.

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

  * Bèr Kessels [7]

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

  * John Oltman [8] the module maintainer

-------- 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/facebookshare
[2] http://drupal.org/security-team/risk-levels
[3] http://drupal.org/project/facebookshare
[4] http://drupal.org/node/1210220
[5] http://drupal.org/node/1210190
[6] http://drupal.org/project/facebookshare
[7] http://drupal.org/user/2663
[8] http://drupal.org/user/699926
[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