Lucene search

K
cvelistHashiCorpCVELIST:CVE-2023-0620
HistoryMar 30, 2023 - 12:28 a.m.

CVE-2023-0620 Vault Vulnerable to SQL Injection When Configuring the Microsoft SQL Database Storage Backend

2023-03-3000:28:13
CWE-89
HashiCorp
www.cve.org
2
hashicorp
sql injection
sql database

6.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

6.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%

HashiCorp Vault and Vault Enterprise versions 0.8.0 through 1.13.1 are vulnerable to an SQL injection attack when configuring the Microsoft SQL (MSSQL) Database Storage Backend. When configuring the MSSQL plugin through the local, certain parameters are not sanitized when passed to the user-provided MSSQL database. An attacker may modify these parameters to execute a malicious SQL command.

This issue is fixed in versions 1.13.1, 1.12.5, and 1.11.9.

CNA Affected

[
  {
    "vendor": "HashiCorp",
    "product": "Vault",
    "platforms": [
      "Windows",
      "MacOS",
      "Linux",
      "x86",
      "ARM",
      "64 bit",
      "32 bit"
    ],
    "repo": "https://github.com/hashicorp/vault",
    "versions": [
      {
        "lessThan": "1.13.1",
        "status": "affected",
        "version": "1.13.0",
        "versionType": "semver"
      },
      {
        "lessThan": "1.12.5",
        "status": "affected",
        "version": "1.12.0",
        "versionType": "semver"
      },
      {
        "lessThan": "1.11.9",
        "status": "affected",
        "version": "0.8.0",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unaffected"
  },
  {
    "vendor": "HashiCorp",
    "product": "Vault Enterprise",
    "platforms": [
      "Windows",
      "MacOS",
      "Android",
      "x86",
      "ARM",
      "64 bit",
      "32 bit"
    ],
    "versions": [
      {
        "lessThan": "1.13.1",
        "status": "affected",
        "version": "1.13.0",
        "versionType": "semver"
      },
      {
        "lessThan": "1.12.5",
        "status": "affected",
        "version": "1.12.0",
        "versionType": "semver"
      },
      {
        "lessThan": "1.11.9",
        "status": "affected",
        "version": "0.8.0",
        "versionType": "semver"
      }
    ],
    "defaultStatus": "unaffected"
  }
]

6.5 Medium

CVSS3

Attack Vector

LOCAL

Attack Complexity

LOW

Privileges Required

HIGH

User Interaction

REQUIRED

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H

6.9 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

9.0%