{"api_version":"1","generated_at":"2026-07-23T08:28:54+00:00","cve":"CVE-2015-7876","urls":{"html":"https://cve.report/CVE-2015-7876","api":"https://cve.report/api/cve/CVE-2015-7876.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-7876","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-7876"},"summary":{"title":"CVE-2015-7876","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2015-10-21 14:59:00","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-89","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"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"}}],"references":[{"url":"https://www.drupal.org/node/2569577","name":"https://www.drupal.org/node/2569577","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"Drupal 7 driver for SQL Server and SQL Azure - Moderately Critical - SQL Injection - SA-CONTRIB-2015-148 | Drupal.org","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8","name":"http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Fix like escaping. (2ea0da8a) · Commits · project / sqlsrv · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.drupal.org/node/2569003","name":"https://www.drupal.org/node/2569003","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"sqlsrv 7.x-1.4 | Drupal.org","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.drupal.org/node/2569005","name":"https://www.drupal.org/node/2569005","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"],"title":"sqlsrv 7.x-2.0 | Drupal.org","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-7876","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-7876","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"7876","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"drupal_7_driver_for_sql_server_and_sql_azure_project","cpe5":"drupal_7_driver_for_sql_server_and_sql_azure","cpe6":"7.x-1.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"drupal","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"7876","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"drupal_7_driver_for_sql_server_and_sql_azure_project","cpe5":"drupal_7_driver_for_sql_server_and_sql_azure","cpe6":"7.x-1.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"drupal","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"7876","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"drupal_7_driver_for_sql_server_and_sql_azure_project","cpe5":"drupal_7_driver_for_sql_server_and_sql_azure","cpe6":"7.x-1.2","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"drupal","cpe12":"*","cpe13":"*"},{"cve_year":"2015","cve_id":"7876","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"drupal_7_driver_for_sql_server_and_sql_azure_project","cpe5":"drupal_7_driver_for_sql_server_and_sql_azure","cpe6":"7.x-1.3","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"drupal","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T08:06:30.672Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://www.drupal.org/node/2569577"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://www.drupal.org/node/2569005"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://www.drupal.org/node/2569003"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2015-09-16T00:00:00.000Z","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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2016-04-04T15:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://www.drupal.org/node/2569577"},{"tags":["x_refsource_CONFIRM"],"url":"https://www.drupal.org/node/2569005"},{"tags":["x_refsource_CONFIRM"],"url":"https://www.drupal.org/node/2569003"},{"tags":["x_refsource_CONFIRM"],"url":"http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-7876","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://www.drupal.org/node/2569577","refsource":"MISC","url":"https://www.drupal.org/node/2569577"},{"name":"https://www.drupal.org/node/2569005","refsource":"CONFIRM","url":"https://www.drupal.org/node/2569005"},{"name":"https://www.drupal.org/node/2569003","refsource":"CONFIRM","url":"https://www.drupal.org/node/2569003"},{"name":"http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8","refsource":"CONFIRM","url":"http://cgit.drupalcode.org/sqlsrv/commit/?id=2ea0da8"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2015-7876","datePublished":"2015-10-21T14:00:00.000Z","dateReserved":"2015-10-21T00:00:00.000Z","dateUpdated":"2024-08-06T08:06:30.672Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2015-10-21 14:59:00","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-89","n/a"],"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,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"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"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"7876","Ordinal":"1","Title":"CVE-2015-7876","CVE":"CVE-2015-7876","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"7876","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2015-7876"},{"CveYear":"2015","CveId":"7876","Ordinal":"2","NoteData":"2015-10-21","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"7876","Ordinal":"3","NoteData":"2016-04-04","Type":"Other","Title":"Modified"}]}}}