View online: https://www.drupal.org/node/2373981 * Advisory ID: DRUPAL-SA-CONTRIB-2014-109 * Project: Freelinking [1] (third-party module) * Version: 6.x, 7.x * Date: 2014-November-12 * Security risk: 16/25 ( Critical) AC:Basic/A:User/CI:All/II:All/E:Theoretical/TD:Uncommon [2] * Vulnerability: Cross Site Scripting -------- DESCRIPTION --------------------------------------------------------- The Freelinking module implements a filter framework for easier creation of HTML links to other pages on the site or to external sites. The module does not sanitize the node title when providing a link to the node, opening a Cross Site Scripting (XSS) vulnerability. This vulnerability is mitigated by the fact that the person creating the content containing the link must have a role that allows use of an unsafe text format (e.g. "Full HTML"), or the Freelinking filter must be placed /after/ all text sanitizion filters (e.g. "Limit allowed HTML tags") in an otherwise safe text format (e.g. "Filtered HTML"). Please note that this vulnerability also existed the freelinking_nodetitle.inc in versions prior to 6.x-3.4 and 7.x-3.4, but this was patched in releases 6.x-3.4 and 7.x-3.4. -------- CVE IDENTIFIER(S) ISSUED -------------------------------------------- * /A CVE identifier [3] will be requested, and added upon issuance, in accordance with Drupal Security Team processes./ -------- VERSIONS AFFECTED --------------------------------------------------- * Freelinking 6.x-x.x versions prior to 6.x-3.5. * Freelinking 7.x-x.x versions prior to 7.x-3.5. Drupal core is not affected. If you do not use the contributed Freelinking [4] module, there is nothing you need to do. -------- SOLUTION ------------------------------------------------------------ Install the latest version: * If you use the Freelinking module for Drupal 6.x, upgrade to Freelinking 6.x-3.5 [5] * If you use the Freelinking module for Drupal 7.x, upgrade to Freelinking 7.x-3.5 [6] Please note that the plugin freelinking_path.inc contains multible vulnerabilities and was removed in the releases 6.x-3.3 and 7.x-3.3. You should check to see if this file is still present, and if it is: Remove it from the plugin sub-directory /before/ you install the latest version. Also see the Freelinking [7] project page. -------- REPORTED BY --------------------------------------------------------- * Cash Williams [8] of the Drupal Security Team -------- FIXED BY ------------------------------------------------------------ * Cash Williams [9] of the Drupal Security Team * Gisle Hannemyr [10], the module maintainer -------- COORDINATED BY ------------------------------------------------------ * Cash Williams [11] 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 https://www.drupal.org/contact [12]. Learn more about the Drupal Security team and their policies [13], writing secure code for Drupal [14], and securing your site [15]. [1] https://www.drupal.org/project/freelinking [2] https://www.drupal.org/security-team/risk-levels [3] http://cve.mitre.org/ [4] https://www.drupal.org/project/freelinking [5] https://www.drupal.org/node/2373117 [6] https://www.drupal.org/node/2373121 [7] https://www.drupal.org/project/freelinking [8] https://www.drupal.org/u/cashwilliams [9] https://www.drupal.org/u/cashwilliams [10] https://www.drupal.org/u/gisle [11] https://www.drupal.org/u/cashwilliams [12] https://www.drupal.org/contact [13] https://www.drupal.org/security-team [14] https://www.drupal.org/writing-secure-code [15] https://www.drupal.org/security/secure-configuration