Description (CNA)
stoatchat (delta/Revolt) versions from 20241213-1 before 20250210-1 allow users with only ViewChannel (read) permission on a channel to fetch that channel's webhooks, including their tokens, because the webhook fetch endpoint checked for ViewChannel instead of ManageWebhooks. Using a retrieved token, an attacker can send arbitrary messages to the channel, bypassing channel permissions and impersonating a bot or webhook. Fixed in 20250210-1 (0.8.2).
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| stoatchat / stoatchat | affected 20241213-1 before 20250210-1; unaffected 20250210-1 |
CWE
CWE-639
References
- https://github.com/stoatchat/stoatchat/security/advisories/GHSA-8684-rvfj-v3jq
- https://github.com/stoatchat/stoatchat/commit/e3723d647effb81ea3d3919d848faf64dbe89829
- https://www.vulncheck.com/advisories/stoatchat-20241213-1-webhook-token-disclosure-via-read-permissions
ADP enrichment
No English description supplied.
No references supplied.