Drupal Core Sql Injection Vulnerability CVE-2014-3704 (Oct 24, 2014)


Drupal is a free and open-source content-management framework.The standard release of Drupal, known as Drupal core, contains basic features common to content management systems.

A SQL injection vulnerability exists in Drupal core (CVE-2014-3704)

The expandArguments function in the database abstraction API in Drupal core 7.x before 7.32 does not properly construct prepared statements, which allows remote attackers to conduct SQL injection attacks via an array containing crafted keys. The API does not properly sanitize the key values. So a remote user can add user account by constructing a Post request with a malicious sql-query. Below example shows a Post request having an SQL statement.

This request successfully adds an user named ‘sqlinjection’.

Following are the before and after screenshots:


This vulnerability has been patched.

Dell Sonicwall Threats Research team has implemented following signature to prevent this attack

  • IPS 1394: INSERT INTO Statement 3 (Possible SQL Injection)
  • IPS 4168: UPDATE SET Statement 3 (Possible SQL Injection)
  • IPS 1831: INSERT INTO Statement 1 (Possible SQL Injection)
Security News
The SonicWall Capture Labs Threat Research Team gathers, analyzes and vets cross-vector threat information from the SonicWall Capture Threat network, consisting of global devices and resources, including more than 1 million security sensors in nearly 200 countries and territories. The research team identifies, analyzes, and mitigates critical vulnerabilities and malware daily through in-depth research, which drives protection for all SonicWall customers. In addition to safeguarding networks globally, the research team supports the larger threat intelligence community by releasing weekly deep technical analyses of the most critical threats to small businesses, providing critical knowledge that defenders need to protect their networks.