Description
Bytebase before 3.16.0 contains an authorization bypass vulnerability in the UpdateIssueComment handler that allows low-privileged project users to modify comments in other projects by supplying a foreign comment UID. Attackers with any project role, including Project Viewer, can set their own project's issue as parent and reference another project's comment UID to overwrite comments they cannot access.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| bytebase | bytebase | < 3.16.0 | 3.16.0 |
References
- https://github.com/bytebase/bytebase/issues/19369 issue-tracking
- https://github.com/bytebase/bytebase/pull/19552 patch issue-tracking
- https://github.com/bytebase/bytebase/commit/270e25529731b59988b58f4a4b3bda431c748bc9 patch
- 3.16.0 Release Notes release-notes
- https://github.com/bytebase/bytebase/blob/3.15.1/backend/api/v1/issue_service.go#L1116 technical-description
- https://github.com/bytebase/bytebase product
- VulnCheck Advisory: Bytebase before 3.16.0 Authorization Bypass via UpdateIssueComment third-party-advisory