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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
sqlchat sqlchat
Default version status: unaffected
0 to ≤ 665af875413affadfeefff81794f1d7758782bc2affected
pkg:github/sqlchat/sqlchatReferences
- https://github.com/sqlchat/sqlchat/issues/189 ↗
- https://github.com/sqlchat/sqlchat/blob/665af875413affadfeefff81794f1d7758782bc2/src/pages/api/connection/execute.ts ↗
- https://github.com/sqlchat/sqlchat/blob/665af875413affadfeefff81794f1d7758782bc2/src/pages/api/connection/test.ts ↗
- https://github.com/sqlchat/sqlchat ↗
- https://www.vulncheck.com/advisories/sql-chat-unauthenticated-database-connection-proxy-in-the-api-connection-endpoints ↗