* Advisory ID: DRUPAL-SA-CONTRIB-2012-044 * Project: Contact Forms [1] (third-party module) * Version: 6.x * Date: 2012-March-28 * Security risk: Moderately critical [2] * Exploitable from: Remote * Vulnerability: Cross Site Scripting
-------- DESCRIPTION ---------------------------------------------------------
This module expands the features of the site wide contact form. It eliminates the drop down category menu by generating a clean looking contact form with a unique path, for each of the contact form categories.
The module doesn't sufficiently filter user text of the page title and additional information, leading to a cross-site scripting (XSS) vulnerability.
This vulnerability is mitigated by the fact that an attacker must have a role with the permission "administer site-wide contact form" and the core contact form needs to be enabled.
-------- VERSIONS AFFECTED ---------------------------------------------------
* Contact forms 6.x-1.x versions prior to 6.x-1.13 [3].
Drupal core is not affected. If you do not use the contributed Contact Forms [4] module, there is nothing you need to do.
-------- SOLUTION ------------------------------------------------------------
Install the latest version:
* If you use the Contact Forms module for Drupal 6.x, upgrade to 6.x-1.13 [5]
Also see the Contact Forms [6] project page.
-------- REPORTED BY ---------------------------------------------------------
* Ivo Van Geertruyen [7] of the Drupal Security Team
-------- FIXED BY ------------------------------------------------------------
* Geoff Davies [8] the module maintainer
-------- COORDINATED BY ------------------------------------------------------
* Greg Knaddison [9] 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 [10].
Learn more about the Drupal Security team and their policies [11], writing secure code for Drupal [12], and securing your site [13].
[1] http://drupal.org/project/contact_forms [2] http://drupal.org/security-team/risk-levels [3] http://drupal.org/node/1506330 [4] http://drupal.org/project/contact_forms [5] http://drupal.org/node/1506330 [6] http://drupal.org/project/contact_forms [7] http://drupal.org/user/383424 [8] http://drupal.org/user/29262 [9] http://drupal.org/user/36762 [10] http://drupal.org/contact [11] http://drupal.org/security-team [12] http://drupal.org/writing-secure-code [13] http://drupal.org/security/secure-configuration