* Advisory ID: DRUPAL-SA-CONTRIB-2012-009 * Project: Revisioning [1] (third-party module) * Version: 7.x * Date: 2012-January-18 * Security risk: Less critical [2] * Exploitable from: Remote * Vulnerability: Access bypass
-------- DESCRIPTION ---------------------------------------------------------
This module enables you to create moderation publication workflows, allowing authors to create content that isn't visible to the public until it has been approved by a moderator/publisher.
The module's implementation of hook_node_access() assumes that access is to granted/denied based on the logged-in user's permissions. However, the hook may be invoked in contexts whereby the access grants are to be returned for a particular account passed into the hook. This could result in an access bypass vulnerability if node_access() is called for a specific user account.
This vulnerability happens when using the XML sitemap module which as a result will disclose the URLs of un-accessible or unpublished content to anonymous users. The actual content itself is not disclosed.
-------- VERSIONS AFFECTED ---------------------------------------------------
* Revisioning 7.x-1.x versions prior to 7.x-1.3.
Drupal core is not affected. If you do not use the contributed Revisioning [3] module, there is nothing you need to do.
-------- SOLUTION ------------------------------------------------------------
Install the latest version:
* If you use the Revisioning module for Drupal 7.x, upgrade to Revisioning 7.x-1.3 [4].
See also the Revisioning [5] project page.
-------- REPORTED BY ---------------------------------------------------------
* Dave Reid [6], Drupal Security Team member * Adam Bramley [7]
-------- FIXED BY ------------------------------------------------------------
* Dave Reid [8], Drupal Security Team member * Rik de Boer [9], module maintainer
-------- COORDINATED BY ------------------------------------------------------
* Dave Reid [10], Drupal Security Team member
-------- 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/revisioning [2] http://drupal.org/security-team/risk-levels [3] http://drupal.org/project/revisioning [4] http://drupal.org/node/1407456 [5] http://drupal.org/project/revisioning [6] http://drupal.org/user/53892 [7] http://drupal.org/user/1036766 [8] http://drupal.org/user/53892 [9] http://drupal.org/user/404007 [10] http://drupal.org/user/53892 [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