{"id":"CVE-2015-7876","sourceIdentifier":"cve@mitre.org","published":"2015-10-21T14:59:00.103","lastModified":"2026-06-17T00:33:18.617","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"La función escapeLike en sqlsrv/database.inc en el controlador de Drupal 7 para SQL Server y SQL Azure 7.x-1.x en versiones anteriores a 7.x-1.4 no escapa adecuadamente ciertos carácteres, lo que permite a atacantes remotos ejecutar comandos SQL arbitrarios a través de vectores que implican un módulo que usa la función db_like."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10.0,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-89"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"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:*:*","matchCriteriaId":"15F81725-1142-4AFB-A10A-1C3BFA874EF0"},{"vulnerable":true,"criteria":"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:*:*","matchCriteriaId":"F51874BA-1E8D-45AC-8556-2B3CC8CAA0D3"},{"vulnerable":true,"criteria":"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:*:*","matchCriteriaId":"7C55A8BD-818E-4E75-9240-CD50CEBA7EF9"},{"vulnerable":true,"criteria":"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:*:*","matchCriteriaId":"57B193C3-F9E7-4B15-A90A-987473DB6F97"}]}]}],"references":[{"url":"http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8","source":"cve@mitre.org"},{"url":"https://www.drupal.org/node/2569003","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://www.drupal.org/node/2569005","source":"cve@mitre.org","tags":["Patch"]},{"url":"https://www.drupal.org/node/2569577","source":"cve@mitre.org","tags":["Patch"]},{"url":"http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.drupal.org/node/2569003","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://www.drupal.org/node/2569005","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://www.drupal.org/node/2569577","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]}]}