CVE-2020-15278 Unauthorized privilege escalation in Mod module
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2020-15278?
CVE-2020-15278 is a high-severity vulnerability in Cog-Creators Red-DiscordBot, published on 28 Oct 2020.
Official description
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.
Weakness: CWE-863
Which versions are affected by CVE-2020-15278?
3 open source packages ship an affected version, including red-discordbot and Red-DiscordBot. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
red-discordbot PyPI | All versions | 3.4.1 |
red-discordbot PyPI | All versions | 3.4.1 |
Red-DiscordBot PyPI | All versions | 3.4.1 |
Products include Cogboard Red Discord Bot.
How do I fix CVE-2020-15278?
Upgrade red-discordbot to 3.4.1 or later.
Is CVE-2020-15278 being exploited?
There is no known exploitation of CVE-2020-15278 in the wild and no public exploit code.
Other vulnerabilities in Cog-Creators Red-DiscordBot
Sources
Also known as GHSA-mp9m-g7qj-6vqr, PYSEC-2020-267.