Drupal Hotblocks third party module version 6.x suffers from cross site scripting and denial of service vulnerabilities.
3a4741a9e059e7fcb96a3197a8a6b543be251afe504d362ea481cb4229600a6b
View online: http://drupal.org/node/1732946
* Advisory ID: DRUPAL-SA-CONTRIB-2012-126
* Project: HotBlocks [1] (third-party module)
* Version: 6.x
* Date: 2012-August-15
* Security risk: Moderately critical [2]
* Exploitable from: Remote
* Vulnerability: Cross Site Scripting, Multiple vulnerabilities
-------- DESCRIPTION
---------------------------------------------------------
The Hotblocks module provides an enhanced GUI for administering blocks and
block content that is intended to be simpler and more controllable for less
privileged users than the default block administration tools.
.... Cross Site Scripting (XSS)
The module doesn't sufficiently sanitize the user input for "block names" on
the module's settings page. A user could inject arbitrary scripts into pages
affecting site users.
This XSS vulnerability is mitigated by the fact that an attacker must have a
role with the permission "administer hotblocks".
.... Denial of Service (DoS)
The hotblocks user interface also allows a user to configure one hotblock to
reference itself as content, thereby creating an infinite loop and
potentially rendering a site unusable.
The DoS vulnerability is mitigated by the fact that a user must have a role
with the permission "administer hotblocks" or a user with said permission
must have configured the site such that it allows hotblocks to be embedded in
other hotblocks.
CVE: Requested
-------- VERSIONS AFFECTED
---------------------------------------------------
* Hotblocks 6.x-1.x versions prior to 6.x-1.8.
Drupal core is not affected. If you do not use the contributed HotBlocks [3]
module, there is nothing you need to do.
-------- SOLUTION
------------------------------------------------------------
Install the latest version:
* If you use the Hotblocks module for Drupal 6.x, upgrade to Hotblocks
6.x-1.8 [4]
Also see the HotBlocks [5] project page.
-------- REPORTED BY
---------------------------------------------------------
* Justin C. Klein Keane [6]
-------- FIXED BY
------------------------------------------------------------
* Justin Dodge [7] the module maintainer
-------- COORDINATED BY
------------------------------------------------------
* Greg Knaddison [8] 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 [9].
Learn more about the Drupal Security team and their policies [10], writing
secure code for Drupal [11], and securing your site [12].
[1] http://drupal.org/project/hotblocks
[2] http://drupal.org/security-team/risk-levels
[3] http://drupal.org/project/hotblocks
[4] http://drupal.org/node/1732828
[5] http://drupal.org/project/hotblocks
[6] http://drupal.org/user/302225
[7] http://drupal.org/user/238638
[8] http://drupal.org/user/36762
[9] http://drupal.org/contact
[10] http://drupal.org/security-team
[11] http://drupal.org/writing-secure-code
[12] http://drupal.org/security/secure-configuration