CVE-2020-15278 Unauthorized privilege escalation in Mod module

High 7.7 Published Updated
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.

PackageAffectedFixed in
red-discordbot PyPIAll versions3.4.1
red-discordbot PyPIAll versions3.4.1
Red-DiscordBot PyPIAll versions3.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.

Sources

Also known as GHSA-mp9m-g7qj-6vqr, PYSEC-2020-267.

Is CVE-2020-15278 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free