Chat2DB < 5.3.0 Insecure Direct Object Reference via GET /api/connection/datasource
OtterMind Chat2DB
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| OtterMind Chat2DB |
| No fix yet |
Original description
Chat2DB before 5.3.0 contains an insecure direct object reference vulnerability in the GET /api/connection/datasource/{id} endpoint. The handler calls dataSourceService.queryExistent(id, ...) without an ownership check and returns the decrypted password field, allowing any authenticated non-admin user to enumerate datasource IDs and read the plaintext database credentials of datasources owned by other users.
From the CVE record · VulnCheck