DbGate connection permission bypass in test and save endpoints
dbgate
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| dbgate dbgate |
| No fix yet |
Original description
DbGate before 7.3.3 contains a missing authorization vulnerability that allows connection-restricted authenticated users to bypass LOGIN_PERMISSIONS because test() and save() never call testConnectionPermission. Attackers can submit arbitrary connection definitions to POST /connections/test to probe internal database hosts, or to /connections/save to overwrite stored connections.
From the CVE record · VulnCheck