* Advisory ID: DRUPAL-SA-CONTRIB-2010-106 * Project: Comment Edited (third-party module) * Version: 6.x * Date: 2010-Dec-01 * Security risk: Moderately critical * Exploitable from: Remote * Vulnerability: Cross Site Scripting
-------- DESCRIPTION ---------------------------------------------------------
The Comment Edited module displays a customizable message at the bottom of a comment when it has been edited. The module does not sanitize some of the user-supplied data before displaying it, leading to a Cross Site Scripting (XSS [1]) vulnerability that may lead to a malicious user gaining full administrative access. This vulnerability is mitigated by the fact that the attacker must have a role with the 'administer comments' permission which should generally only be granted to trusted roles. -------- VERSIONS AFFECTED ---------------------------------------------------
* Comment Edited module for Drupal 6.x versions prior to 6.x-1.4
Drupal core is not affected. If you do not use the contributed Comment Edited [2] module, there is nothing you need to do. -------- SOLUTION ------------------------------------------------------------
Install the latest version: * If you use the Comment Edited module for Drupal 6.x upgrade to Comment Edited 6.x-1.4 [3]
See also the Comment Edited project page [4]. -------- REPORTED BY ---------------------------------------------------------
* Balazs Dianiska (snufkin) [5], module maintainer
-------- FIXED BY ------------------------------------------------------------
* Balazs Dianiska (snufkin) [6], 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 [7], writing secure code for Drupal [8], and Secure Configuration [9] of your site.
[1] http://en.wikipedia.org/wiki/Cross-site_scripting [2] http://drupal.org/project/comment_edited [3] http://drupal.org/node/986524 [4] http://drupal.org/project/comment_edited [5] http://drupal.org/user/58645 [6] http://drupal.org/user/58645 [7] http://drupal.org/security-team [8] http://drupal.org/writing-secure-code [9] http://drupal.org/security/secure-configuration