- Advisory ID: DRUPAL-SA-CONTRIB-2015-148
- Project: Drupal 7 driver for SQL Server and SQL Azure (third-party module)
- Version: 7.x
- Date: 2015-September-16
- Security risk: 10/25 ( Moderately Critical) AC:Complex/A:None/CI:Some/II:None/E:Theoretical/TD:Uncommon
- Vulnerability: SQL Injection
Description
Drupal 7 driver for SQL Server and SQL Azure module has a SQL injection vulnerability.
Certain characters aren’t properly escaped by the Drupal database API. A malicious user may be able to access restricted information by performing a specially-crafted search.
Only sites that use contrib or custom modules which rely on the db_like() function may be affected.
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- Drupal 7 driver for SQL Server and SQL Azure 7.x-1.x versions prior to 7.x-1.4
Drupal core is not affected. If you do not use the contributed Drupal 7 driver for SQL Server and SQL Azure module, there is nothing you need to do.
Solution
Install the latest version:
- If you use the Drupal 7 driver for SQL Server and SQL Azure module for Drupal 7.x-1.x, you can upgrade to Drupal 7 driver for SQL Server and SQL Azure 7.x-1.4
- If you use the Drupal 7 driver for SQL Server and SQL Azure module for Drupal 7.x-2.x, you can upgrade to Drupal 7 driver for SQL Server and SQL Azure 7.x-2.0
Although a 7.x-1.4 version has been released the 7.x-1.x branch is currently unsupported and not maintained.
Also see the Drupal 7 driver for SQL Server and SQL Azure project page.
Reported by
Fixed by
- David Garcia the module maintainer
- Fabio Epifani
Coordinated by
- Pere Orga of the Drupal Security Team
- Michael Hess 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.
Learn more about the Drupal Security team and their policies, writing secure code for Drupal, and securing your site.
Follow the Drupal Security Team on Twitter at https://twitter.com/drupalsecurity