Description
CloudBeaver through 25.3.5 contains a missing authorization vulnerability in the initConnection GraphQL mutation that lets view-only shared-project members persist credentials without datasource-edit permission. Attackers can set saveCredentials and sharedCredentials flags with chosen authProperties so other users connect to the shared connection under the attacker's database identity.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| DBeaver | CloudBeaver | ≤ 25.3.5 | — |
References
- https://hackmd.io/@haind03/cloudbeaver-initconnection-shared-credential-authz-bypass third-party-advisory
- https://github.com/dbeaver/cloudbeaver/blob/48885c48f5fbd363bf3391f47a669629b4f3dd24/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/core/DBWServiceCore.java#L130-L140 technical-description
- https://github.com/dbeaver/cloudbeaver/blob/48885c48f5fbd363bf3391f47a669629b4f3dd24/server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/core/impl/WebServiceCore.java#L349-L480 technical-description
- https://github.com/dbeaver/cloudbeaver product
- VulnCheck Advisory: CloudBeaver through 25.3.5 Missing Authorization via initConnection GraphQL Mutation third-party-advisory