Vulnerability · Published Oct 28, 2020 · Assigned by GitHub_M

CVE-2020-15278Unauthorized privilege escalation in Mod module

High 7.7

In plain English

A high-severity incorrect authorization in Red-DiscordBot from Cog-Creators. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)1.1%top 34.5% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIred-discordbot3.4.1GHSA-mp9m-g7qj-6vqr
PyPIred-discordbot3.4.1PYSEC-2020-267

Affected products (as reported)

VendorProductVersions
Cog-Creators Red-DiscordBot < 3.4.1

Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

References