Description
ClickVisual through 1.1.2 contains a missing authorization vulnerability in the /api/v2/reports handlers that allows authenticated low-privileged users to access ClickHouse instances they were not granted. Attackers can iterate the instance-id parameter in ReportSourceDatabases, ReportSourceTables, ReportTableColumns and WhereCheckRun to enumerate schemas and infer row counts of restricted tables.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| clickvisual | clickvisual | ≤ 1.1.2 | — |
References
- https://hackmd.io/@hieuPenguinnn/clickvisual-report-module-missing-authz-cross-instance-idor third-party-advisory
- https://github.com/clickvisual/clickvisual/blob/v1.1.2/api/internal/api/apiv2/report/report.go#L282-L343 technical-description
- https://github.com/clickvisual/clickvisual/blob/v1.1.2/api/internal/service/report/metadata.go#L136-L152 technical-description
- VulnCheck Advisory: ClickVisual through 1.1.2 Missing Authorization in apiv2 Report Module third-party-advisory