* Advisory ID: DRUPAL-SA-CONTRIB-2009-106 * Project: Agreement (third-party module) * Version: 6.x * Date: 2009-November-18 * Security risk: Moderately Critical * Exploitable from: Remote * Vulnerability: Cross Site Scripting -------- DESCRIPTION --------------------------------------------------------- The Agreement module enables the display of a text-based agreement (think "Terms of Service") that users of a particular role must accept before they are given access to the site. The module does not sanitize some of the user-supplied fields, leading to a Cross Site Scripting (XSS [1]) vulnerability. -------- VERSIONS AFFECTED --------------------------------------------------- * Agreement module for Drupal 6.x prior to Agreement 6.x-1.2 [2] Drupal core is not affected. If you do not use the contributed Agreement module [3], there is nothing you need to do. -------- SOLUTION ------------------------------------------------------------ Upgrade to the latest version: * If you use the Agreement module for Drupal 6.x upgrade to Agreement 6.x-1.2 [4] -------- REPORTED BY --------------------------------------------------------- * Reported by Dylan Wilder-Tack [5] -------- FIXED BY ------------------------------------------------------------ * Fixed by Yuriy Babenko [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. [1] http://en.wikipedia.org/wiki/Cross-site_scripting [2] http://drupal.org/node/631538 [3] http://drupal.org/project/agreement [4] http://drupal.org/node/631538 [5] http://drupal.org/user/96647 [6] http://drupal.org/user/212855