[Security-news] SA-CONTRIB-2012-049 - ShareThis - Multiple Vulnerablies

security-news at drupal.org security-news at drupal.org
Wed Mar 28 20:24:32 UTC 2012


  * Advisory ID: DRUPAL-SA-CONTRIB-2012-049
  * Project: ShareThis [1] (third-party module)
  * Version: 7.x
  * Date: 2012-March-28
  * Security risk: Moderately critical [2]
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting, Cross Site Request Forgery

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

The ShareThis module allows you to display social networking tools to users.

The administration forms of the module do not properly use the Form API
allowing a malicious user to inject unexpected settings, allowing for
cross-site scripting attacks (XSS). Additionally, the module had an
incomplete feature for updating these settings outside of the Form API which
was vulnerable to a cross site request forgery attack.

This vulnerability is mitigated by the fact that an attacker must have a role
with the permission "administer sharethis".

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

  * ShareThis 7.x-2.x versions prior to 7.x-2.2.

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

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

Install the latest version:

  * If you use the ShareThis module for Drupal 7.x, upgrade to ShareThis
    7.x-2.3 [4]

Also see the ShareThis [5] project page.

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

  * Travis Tomka [6]

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

  * Greg Knaddison [7] of the Drupal Security Team
  * Rob Loach [8], the module maintainer

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

  * Greg Knaddison [9] of the Drupal Security Team
  * Michael Hess [10] 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 [11].

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


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



More information about the Security-news mailing list