[Security-news] SA-CONTRIB-2013-007 User Relationships - Cross Site Scripting (XSS)

security-news at drupal.org security-news at drupal.org
Wed Jan 23 17:57:50 UTC 2013


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

  * Advisory ID: DRUPAL-SA-CONTRIB-2013-007
  * Project: User Relationships [1] (third-party module)
  * Version: 6.x, 7.x
  * Date: 2013-January-23
  * Security risk: Moderately critical [2]
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting

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

The User Relationships module allows you to create multiple relationship
types and maintain relationships between users in your Drupal site.

The module does not sufficiently escape relationship names before display.
This allows users with the correct permissions to create relationship names
containing arbitrary Javascript which will then be executed by the browser.

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


-------- CVE IDENTIFIER(S) ISSUED  
--------------------------------------------

  * /A CVE identifier [3] will be requested, and added upon issuance, in
    accordance with Drupal Security Team processes./

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

  * User Relationships 6.x-1.x versions prior to 6.x-1.4
  * User Relationships 7.x-1.x versions prior to 7.x-1.0-alpha5

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

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

Install the latest version:

  * If you use the User Relationships module for Drupal 6.x, upgrade to User
    Relationships 6.x-1.4 [5]
  * If you use the User Relationships module for Drupal 7.x, upgrade to User
    Relationships 7.x-1.0-alpha5 [6]

Also see the User Relationships [7] project page.

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

  * Klaus Purer [8] of the Drupal Security Team

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

  * Mark Ferree [9] the module maintainer

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

  * Klaus Purer [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/user_relationships
[2] http://drupal.org/security-team/risk-levels
[3] http://cve.mitre.org/
[4] http://drupal.org/project/user_relationships
[5] http://drupal.org/node/1896272
[6] http://drupal.org/node/1896276
[7] http://drupal.org/project/user_relationships
[8] http://drupal.org/user/262198
[9] http://drupal.org/user/76245
[10] http://drupal.org/user/262198
[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