Description (CNA)
Coze Studio through 0.5.1 fails to validate that table names in workflow SQL customization nodes belong to the caller's workspace. Authenticated attackers can enumerate predictable table identifiers and execute SQL statements against other workspaces' memory databases to read, insert, or delete data.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| coze-dev / coze-studio | affected 0 through 0.5.1 |
CWE
CWE-863
References
- https://github.com/coze-dev/coze-studio/issues/2710
- https://github.com/coze-dev/coze-studio
- https://github.com/coze-dev/coze-studio/blob/22275b1c2661d35344a7493cffe401e8cc61cf8e/backend/domain/memory/database/service/database_impl.go#L2203-L2250
- https://github.com/coze-dev/coze-studio/blob/22275b1c2661d35344a7493cffe401e8cc61cf8e/backend/infra/rdb/impl/rdb/mysql.go#L825-L830
- https://www.vulncheck.com/advisories/coze-studio-through-0.5.1-cross-tenant-database-access-via-workflow-sql-node
ADP enrichment
No English description supplied.
No references supplied.