* Advisory ID: DRUPAL-SA-CONTRIB-2012-013 * Project: Search Autocomplete [1] (third-party module) * Version: 7.x * Date: 2012-January-25 * Security risk: Critical [2] * Exploitable from: Remote * Vulnerability: SQL Injection -------- DESCRIPTION --------------------------------------------------------- The Search Autocomplete module allows you to add autocomplete functionality to the search fields of a Drupal site. Search Autocomplete does not properly use Drupal's database API, making it possible for a malicious user to carryout SQL injection on the site. This vulnerability is mitigated by the fact that users must have a role with permission "use search_autocomplete" to exploit. -------- VERSIONS AFFECTED --------------------------------------------------- * Search Autocomplete versions prior to 7.x-2.1. Drupal core is not affected. If you do not use the contributed Search Autocomplete [3] module, there is nothing you need to do. -------- SOLUTION ------------------------------------------------------------ Install the latest version: * If you use the Search Autocomplete module for Drupal 7.x, upgrade to Search Autocomplete 7.x-2.1 [4] See the Search Autocomplete [5] project page for more information. -------- REPORTED BY --------------------------------------------------------- * Miguel Hermo (serans) [6] -------- FIXED BY ------------------------------------------------------------ * Dominique Clause (Miroslav Talenberg) [7] the module maintainer * Miguel Hermo (serans) [8] -------- COORDINATED BY ------------------------------------------------------ * Ben Jeavons [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/search_autocomplete [2] http://drupal.org/security-team/risk-levels [3] http://drupal.org/project/search_autocomplete [4] http://drupal.org/node/1410674 [5] http://drupal.org/project/search_autocomplete [6] http://drupal.org/user/1593256 [7] http://drupal.org/user/801982 [8] http://drupal.org/user/1593256 [9] http://drupal.org/user/91990 [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