Auth bypass in Cogboard Red Discord Bot
CVE-2020-15278
Red Discord Bot before version 3.4.1 has an unauthorized privilege escalation exploit in the Mod module. This exploit allows Discord users with a high privilege level within the guild to bypass hierarchy checks when the application is in a specific condition that is beyond that user's control. By abusing this exploit, it is possible to perform destructive actions within the guild the user has high privileges in. This exploit has been fixed in version 3.4.1. As a workaround, unloading the Mod module with unload mod or, disabling the massban command with command disable global massban can render this exploit not accessible. We still highly recommend updating to 3.4.1 to completely patch this issue.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.7 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.011, 65.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Cogboard Red Discord Bot
- Cog-Creators Red-Discordbot — versions < 3.4.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (leoambrus/artefactswithoutCVEonGitHubAdvisoryDatabase). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-mp9m-g7qj-6vqr (Third Party Advisory)
- github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b4… (Patch, Third Party Advisory)
- github.com/Cog-Creators/Red-DiscordBot/releases/tag/3.4.1 (Third Party Advisory)