* Advisory ID: DRUPAL-SA-CONTRIB-2010-039 * Project: CCK TableField (third-party module) * Version: 6.x * Date: 2010-May-05 * Security risk: Moderately Critical * Exploitable from: Remote * Vulnerability: Cross Site Scripting
-------- DESCRIPTION ---------------------------------------------------------
The CCK TableField module provides a generic method to attach tabular data to a node. CCK TableField does not sanitize table headers before output, allowing anyone with permissions to create or edit a node containing one or more TableField fields to insert arbitrary HTML and script code. Such a cross site scripting [1] (XSS) attack may also lead to a malicious user gaining full administrative access. -------- VERSIONS AFFECTED ---------------------------------------------------
* CCK TableField module for Drupal 6.x version prior to 6.x-1.2.
Drupal core is not affected. If you do not use the contributed CCK TableField module for Drupal 6.x, there is nothing you need to do. -------- SOLUTION ------------------------------------------------------------
Install the latest version or disable the module. * If you use CCK TableField 6.x-1.1 or older, upgrade to CCK TableField 6.x-1.2 [2]
See also the CCK TableField [3] project page. -------- REPORTED BY ---------------------------------------------------------
* mr.baileys [4] of the Drupal Security Team [5].
-------- FIXED BY ------------------------------------------------------------
* Kevin Hankens [6], the module maintainer.
-------- CONTACT -------------------------------------------------------------
The security team for Drupal can be reached at security at drupal.org or via the form at http://drupal.org/contact [7].
Read more about the Security Team and Security Advisories at http://drupal.org/security.
[1] http://en.wikipedia.org/wiki/Cross-site_scripting [2] http://drupal.org/node/790364 [3] http://drupal.org/project/tablefield [4] http://drupal.org/user/383424 [5] http://drupal.org/security-team [6] http://drupal.org/user/78090 [7] http://drupal.org/contact