CVE-2015-7876
Severity CVSS v4.0:
Pending analysis
Type:
CWE-89
SQL Injection
Publication date:
21/10/2015
Last modified:
12/04/2025
Description
The escapeLike function in sqlsrv/database.inc in the Drupal 7 driver for SQL Server and SQL Azure 7.x-1.x before 7.x-1.4 does not properly escape certain characters, which allows remote attackers to execute arbitrary SQL commands via vectors involving a module using the db_like function.
Impact
Base Score 2.0
7.50
Severity 2.0
HIGH
Vulnerable products and versions
CPE | From | Up to |
---|---|---|
cpe:2.3:a:drupal_7_driver_for_sql_server_and_sql_azure_project:drupal_7_driver_for_sql_server_and_sql_azure:7.x-1.0:*:*:*:*:drupal:*:* | ||
cpe:2.3:a:drupal_7_driver_for_sql_server_and_sql_azure_project:drupal_7_driver_for_sql_server_and_sql_azure:7.x-1.1:*:*:*:*:drupal:*:* | ||
cpe:2.3:a:drupal_7_driver_for_sql_server_and_sql_azure_project:drupal_7_driver_for_sql_server_and_sql_azure:7.x-1.2:*:*:*:*:drupal:*:* | ||
cpe:2.3:a:drupal_7_driver_for_sql_server_and_sql_azure_project:drupal_7_driver_for_sql_server_and_sql_azure:7.x-1.3:*:*:*:*:drupal:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8
- https://www.drupal.org/node/2569003
- https://www.drupal.org/node/2569005
- https://www.drupal.org/node/2569577
- http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8
- https://www.drupal.org/node/2569003
- https://www.drupal.org/node/2569005
- https://www.drupal.org/node/2569577