What’s Vulnerable › Vulnerabilities
CVE-2015-7876
- Severity: high (CVSS 7.5 v2.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2015-10-21 · updated 2026-06-17
- Weakness: CWE-89
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.
Affected products
- Drupal 7 Driver For Sql Server And Sql Azure Project Drupal 7 Driver For Sql Server And Sql Azure: 7.x-1.0, 7.x-1.1, 7.x-1.2, 7.x-1.3
References
- 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
Get alerted when CVE-2015-7876 or the next vulnerability affects your stack