- Advisory ID: DRUPAL-SA-CONTRIB-2014-041
- Project: Block Search (third-party module)
- Version: 6.x
- Date: 2014-April-16
- Security risk: Highly critical
- Exploitable from: Remote
- Vulnerability: SQL Injection
Description
Block Search module provides an alternative way of managing blocks.
The module doesn't properly use Drupal's database API resulting in user-provided strings being passed directly to the database allowing SQL Injection.
This vulnerability is mitigated by the fact that an attacker must either use a CSRF attack against a user with sufficient permissions or have a role with the permission "admin blocks" or "set region".
CVE identifier(s) issued
- A CVE identifier will be requested, and added upon issuance, in accordance with Drupal Security Team processes.
Versions affected
- Block Search All versions.
Drupal core is not affected. If you do not use the contributed Block Search module, there is nothing you need to do.
Solution
No patch nor updated version is available.
Site administrators should disable the module.
Also see the Block Search project page.
Reported by
- Greg Knaddison of the Drupal Security Team
Fixed by
Not applicable.
Coordinated by
- Greg Knaddison 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.
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