Description
Tabbycat 2.9.0 through 2.12.1 contains an incorrect authorization vulnerability in TournamentViewSet that allows unauthenticated attackers to gain write access because PerTournamentPermissionRequired returns True for views lacking a tournament attribute. Attackers can send POST, PUT, PATCH or DELETE requests to /api/v1/tournaments to create, modify or delete tournaments, cascading deletion to teams and speakers.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| TabbycatDebate | tabbycat | 2.9.0 – ≤ 2.12.1 | — |
References
- https://github.com/TabbycatDebate/tabbycat/issues/3047 issue-tracking
- https://github.com/TabbycatDebate/tabbycat/commit/b7f0746ba9cb5a23f94ac169dbe5b68a5fbd1ab2 patch
- https://github.com/TabbycatDebate/tabbycat/blob/v2.12.1/tabbycat/api/permissions.py#L71-L75 technical-description
- VulnCheck Advisory: Tabbycat 2.9.0 through 2.12.1 Unauthenticated Tournament Modification via REST API third-party-advisory