CVE-2023-0620

Summary

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.

Affected Software

VendorProductVersion RangeStatus
HashiCorpVault1.13.0 < 1.13.1affected
HashiCorpVault1.12.0 < 1.12.5affected
HashiCorpVault0.8.0 < 1.11.9affected
HashiCorpVault Enterprise1.13.0 < 1.13.1affected
HashiCorpVault Enterprise1.12.0 < 1.12.5affected
HashiCorpVault Enterprise0.8.0 < 1.11.9affected

Weaknesses

  • CWE-89: CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: total

References