Description
Bytebase before 3.16.0 contains an authorization bypass vulnerability in GetTaskRunLog, GetTaskRunSession and PreviewTaskRunRollback that allows authenticated users to access other projects' task runs by UID. Attackers with permission on one project can supply foreign task or task run UIDs to read execution logs, database session details, and rollback SQL from other projects.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
bytebase bytebase
Default version status: unaffected
0 to < 3.16.0affected3.16.0unaffected
pkg:golang/github.com/bytebase/bytebaseReferences
- https://github.com/bytebase/bytebase/issues/19369 ↗
- https://github.com/bytebase/bytebase/pull/19554 ↗
- https://github.com/bytebase/bytebase/commit/bb553e8423b38c826cd7b1da5c7117080cc8705d ↗
- https://github.com/bytebase/bytebase/releases/tag/3.16.0 ↗
- https://github.com/bytebase/bytebase/blob/3.15.1/backend/api/v1/rollout_service.go#L505 ↗
- https://github.com/bytebase/bytebase ↗
- https://www.vulncheck.com/advisories/bytebase-before-3.16.0-authorization-bypass-via-rollout-service-task-run-handlers ↗