CVE-2015-7876

critical

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.

References

https://www.drupal.org/node/2569577

https://www.drupal.org/node/2569005

https://www.drupal.org/node/2569003

http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8

Details

Source: Mitre, NVD

Published: 2015-10-21

Updated: 2026-06-17

Risk Information

CVSS v2

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Severity: High

CVSS v3

Base Score: 9.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Severity: Critical

EPSS

EPSS: 0.00703