copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
Search this site

On this site

 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login


ESB-2011.0484 - [Win][UNIX/Linux] Node Reference URL Widget (Drupal third-party module): Cross-site scripting - Remote with user interaction

Date: 28 April 2011

Click here for printable version
Click here for PGP verifiable version
Hash: SHA1

             AUSCERT External Security Bulletin Redistribution

         A vulnerability has been identified in Node Reference URL
                    Widget (Drupal third-party module)
                               28 April 2011


        AusCERT Security Bulletin Summary

Product:           Node Reference URL Widget (Drupal third-party module)
Publisher:         Drupal
Operating System:  UNIX variants (UNIX, Linux, OSX)
Impact/Access:     Cross-site Scripting -- Remote with User Interaction
Resolution:        Patch/Upgrade

Original Bulletin:

- --------------------------BEGIN INCLUDED TEXT--------------------

  * 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 or via the
contact form at [10].
Learn more about the team and their policies [11], writing secure code for
Drupal [12], and secure configuration [13] of your site.


- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

Australian Computer Emergency Response Team
The University of Queensland
Qld 4072

Internet Email:
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.