CVEvulnerability
CVE-2015-7876
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2015-10-21
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 2.0 ([email protected])
- 7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
- Weaknesses
- 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 configurations
• drupal 7 driver for sql server and sql azure project drupal 7 driver for sql server and sql azure 7.x-1.0
• drupal 7 driver for sql server and sql azure project drupal 7 driver for sql server and sql azure 7.x-1.1
• drupal 7 driver for sql server and sql azure project drupal 7 driver for sql server and sql azure 7.x-1.2
• drupal 7 driver for sql server and sql azure project drupal 7 driver for sql server and sql azure 7.x-1.3
Related
Weakness · CWE (1)
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command weakness
References
- http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8 cgit.drupalcode.org
- https://www.drupal.org/node/2569003 Patch
- https://www.drupal.org/node/2569005 Patch
- https://www.drupal.org/node/2569577 Patch
- http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8 cgit.drupalcode.org
- https://www.drupal.org/node/2569003 Patch
- https://www.drupal.org/node/2569005 Patch
- https://www.drupal.org/node/2569577 Patch