Description
SQL Chat contains four unauthenticated API endpoints that accept client-supplied database connection parameters and execute arbitrary SQL queries against attacker-specified hosts. Attackers can connect to internal databases, execute SQL commands, enumerate schemas, and pivot into the server's network without authentication.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| sqlchat | sqlchat | — | — |
References
- GitHub Issue #189 issue-tracking
- execute.ts: no auth, client-supplied connection technical-description
- test.ts: connect oracle for arbitrary host and port technical-description
- https://github.com/sqlchat/sqlchat product
- VulnCheck Advisory: SQL Chat Unauthenticated Database-Connection Proxy in the /api/connection Endpoints third-party-advisory