[Security-news] SA-CONTRIB-2011-018 - Node Reference URL Widget - Cross Site Scripting

security-news at drupal.org security-news at drupal.org
Wed Apr 27 19:15:45 UTC 2011


  * Advisory ID: DRUPAL-SA-CONTRIB-2011-018
  * Project: Node Reference URL Widget [1] (third-party module)
  * Version: 6.x, 7.x
  * Date: 2011-April-27
  * Security risk: Moderately critical (definition of risk levels) [2]
  * Exploitable from: Remote
  * Vulnerability: Cross Site Scripting

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

The Node Reference URL Widget module adds a new widget to the Node Reference
field type, allowing node reference fields to be auto-populated based on a
value from the URL.

The module does not sanitize some of the user-supplied data before displaying
it, leading to a Cross Site Scripting (XSS [3]) vulnerability that may lead
to a malicious user gaining full administrative access.

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

  * Node Reference URL Widget module for Drupal 6 prior to 6.x-1.10.
  * Node Reference URL Widget module for Drupal 7 prior to 7.x-1.10.

Drupal core is not affected. If you do not use the contributed Node Reference
URL Widget [4] module, there is nothing you need to do.

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

Install the latest version:

  * If you use the Node Reference URL Widget module for Drupal 6.x upgrade to
    Node Reference URL Widget 6.x-1.10 [5].
  * If you use the Node Reference URL Widget module for Drupal 7.x upgrade to
    Node Reference URL Widget 7.x-1.10 [6].

See also the Node Reference URL Widget [7] project page.

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

  * Ralf Stamm [8]

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

  * Nathan Haug (quicksketch [9]), 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 [10].
Learn more about the team and their policies [11], writing secure code for
Drupal [12], and secure configuration [13] of your site.


[1] http://www.drupal.org/project/nodereference_url
[2] http://drupal.org/security-team/risk-levels
[3] http://en.wikipedia.org/wiki/Cross-site_scripting
[4] http://drupal.org/project/nodereference_url
[5] http://drupal.org/node/1140310
[6] http://drupal.org/node/1140312
[7] http://drupal.org/project/nodereference_url
[8] http://drupal.org/user/43568
[9] http://drupal.org/user/35821
[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