Vault Vulnerable to SQL Injection When Configuring the Microsoft SQL Database Storage Backend
cve-program · CVE-2023-0620
PublishedHashiCorp 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.
Read the publisher's advisoryeuvd · EUVD-2023-1105
PublishedHashiCorp 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.
Read the publisher's advisorynvd · CVE-2023-0620
PublishedHashiCorp 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.
Read the publisher's advisoryosv · GHSA-v3hp-mcj5-pg39
PublishedHashiCorp Vault and Vault Enterprise versions 0.8.0 until 1.13.1 are vulnerable to an SQL injection attack when using the Microsoft SQL (MSSQL) Database Storage Backend. When configuring the MSSQL plugin, certain parameters are required to establish a connection (schema, database, and table) are not sanitized when passed to the user-provided MSSQL database. A privileged attacker with the ability to write arbitrary data to Vault's configuration may modify these parameters to execute a malicious SQL command when the Vault configuration is applied. This issue is fixed in versions 1.13.1, 1.12.5, and 1.11.9.
Read the publisher's advisoryosv · GO-2023-1685
PublishedHashiCorp Vault’s Microsoft SQL Database Storage Backend Vulnerable to SQL Injection Via Configuration File in github.com/hashicorp/vault
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2023-0620 · CVE overview and exploitation status
cve-program · CVE-2023-0620
- https://discuss.hashicorp.com/t/hcsec-2023-12-vault-s-microsoft-sql-database-storage-backend-vulnerable-to-sql-injection-via-configuration-file/52080/1
- https://security.netapp.com/advisory/ntap-20230526-0008/
euvd · EUVD-2023-1105
- https://discuss.hashicorp.com/t/hcsec-2023-12-vault-s-microsoft-sql-database-storage-backend-vulnerable-to-sql-injection-via-configuration-file/52080/1
- https://security.netapp.com/advisory/ntap-20230526-0008/
nvd · CVE-2023-0620
- https://discuss.hashicorp.com/t/hcsec-2023-12-vault-s-microsoft-sql-database-storage-backend-vulnerable-to-sql-injection-via-configuration-file/52080/1
- https://security.netapp.com/advisory/ntap-20230526-0008/
osv · GHSA-v3hp-mcj5-pg39
- https://nvd.nist.gov/vuln/detail/CVE-2023-0620
- https://github.com/hashicorp/vault/pull/19591
- https://discuss.hashicorp.com/t/hcsec-2023-12-vault-s-microsoft-sql-database-storage-backend-vulnerable-to-sql-injection-via-configuration-file/52080/1
- https://github.com/hashicorp/vault
- https://github.com/hashicorp/vault/releases/tag/v1.11.9
- https://github.com/hashicorp/vault/releases/tag/v1.12.5
- https://github.com/hashicorp/vault/releases/tag/v1.13.1
- https://security.netapp.com/advisory/ntap-20230526-0008
osv · GO-2023-1685
- https://github.com/advisories/GHSA-v3hp-mcj5-pg39
- https://nvd.nist.gov/vuln/detail/CVE-2023-0620
- https://github.com/hashicorp/vault/pull/19591
- https://discuss.hashicorp.com/t/hcsec-2023-12-vault-s-microsoft-sql-database-storage-backend-vulnerable-to-sql-injection-via-configuration-file/52080/1
- https://github.com/hashicorp/vault/releases/tag/v1.11.9
- https://github.com/hashicorp/vault/releases/tag/v1.12.5
- https://github.com/hashicorp/vault/releases/tag/v1.13.1
- https://security.netapp.com/advisory/ntap-20230526-0008
Related changes
Linked by CVE identifierNo related changes are available here.