PT-2026-60805 · Ottermind+1 · Chat2Db
CVSS v4.0
7.1
High
| Vector | AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Chat2DB versions prior to 5.3.0
Description
An insecure direct object reference occurs when the application provides direct access to objects based on user-supplied input. In the 'GET /api/connection/datasource/{id}' endpoint, the handler calls the
dataSourceService.queryExistent(id, ...) function without verifying if the requesting user owns the resource. This allows any authenticated non-admin user to enumerate datasource IDs and retrieve plaintext database credentials of datasources belonging to other users.Recommendations
Update to version 5.3.0 or later.
Restrict access to the 'GET /api/connection/datasource/{id}' endpoint to prevent unauthorized credential retrieval.
Exploit
Fix
IDOR
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Chat2Db