#VU74183 SQL injection in Vault


Published: 2023-03-30

Vulnerability identifier: #VU74183

Vulnerability risk: Medium

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2023-0620

CWE-ID: CWE-89

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Vault
Web applications / Modules and components for CMS

Vendor: HashiCorp

Description

The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.

The vulnerability exists due to insufficient sanitization of user-supplied data when using Vault’s community-supported Microsoft SQL (MSSQL) database storage backend. A remote user can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.

Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.

Mitigation
Install update from vendor's website.

Vulnerable software versions

Vault: 1.12.0 - 1.12.4, 1.13.0, 1.11.0 - 1.11.8, 1.10.0 - 1.10.11, 1.9.0 - 1.9.10, 1.8.0 - 1.8.12, 1.7.0 - 1.7.10, 1.6.0 - 1.6.7, 1.5.0 - 1.5.9, 1.4.0 - 1.4.7, 1.2.0 - 1.2.7, 1.3.0 - 1.3.10, 1.1.0 - 1.1.5, 1.0.0 - 1.0.3


External links
http://discuss.hashicorp.com/t/hcsec-2023-12-vault-s-microsoft-sql-database-storage-backend-vulnerable-to-sql-injection-via-configuration-file/52080/1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability