* Advisory ID: DRUPAL-SA-CONTRIB-2010-103 * Project: Node Relativity (third-party module) * Version: 5.x, 6.x * Date: 2010-November-10 * Security risk: Critical * Exploitable from: Remote * Vulnerability: Cross-Site Scripting, Cross Site Request Forgery, Access bypass
-------- DESCRIPTION ---------------------------------------------------------
The Node Relativity module allows parent-child relationships between nodes to be established, managed and searched. The Node Relativity module does not sanitize some of the user supplied data before displaying it, leading to a Cross Site Scripting (XSS [1]) vulnerability which can be used by a malicious user to gain full administrative access. The Node Relativity module does not protect the links to establish relations between nodes against Cross-site Request Forgeries (CSRF [2]) vulnerability which can be used by a malicious user to directly perform operations on the database. The Node Relativity module does not implement node access logic properly, resulting in the display of node titles and the establishing of relations between nodes the user has no access to. -------- VERSIONS AFFECTED ---------------------------------------------------
* Node Relativity module for Drupal 5.x versions prior to 5.x-2.6 * Node Relativity module for Drupal 6.x versions prior to 6.x-1.4
Drupal core is not affected. If you do not use the contributed Node Relativity [3] module, there is nothing you need to do. -------- SOLUTION ------------------------------------------------------------
Install the latest version: * If you use the Node Relativity module for Drupal 5.x upgrade to Node Relativity 5.x-2.6 [4] * If you use the Node Relativity module for Drupal 6.x upgrade to Node Relativity 6.x-1.4 [5]
See also the Node Relativity project page [6]. -------- REPORTED BY ---------------------------------------------------------
* recrit [7] * catch [8] of the Drupal security team
-------- FIXED BY ------------------------------------------------------------
* Jonathan Araña Cruz [9], module maintainer
-------- CONTACT AND MORE INFORMATION ----------------------------------------
The Drupal security team can be reached at security at drupal.org or via the form at http://drupal.org/contact. Learn more about the team and their policies [10], writing secure code for Drupal [11], and Secure Configuration [12] of your site.
[1] http://en.wikipedia.org/wiki/Cross-site_scripting [2] http://en.wikipedia.org/wiki/Csrf [3] http://drupal.org/project/relativity [4] http://drupal.org/node/968516 [5] http://drupal.org/node/968514 [6] http://drupal.org/project/relativity [7] http://drupal.org/user/452914 [8] http://drupal.org/user/35733 [9] http://drupal.org/user/49817 [10] http://drupal.org/security-team [11] http://drupal.org/writing-secure-code [12] http://drupal.org/security/secure-configuration