Skip to content
OpenAdvisories
High · 7.7 CVE-2020-15278 EUVD-2020-0165GHSA-mp9m-g7qj-6vqrPYSEC-2020-267

Unauthorized privilege escalation in Mod module

Published Oct 28, 2020 · Updated Aug 4, 2024 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
Cog-Creators Red-DiscordBot < 3.4.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI red-discordbot < 3.4.1 3.4.1 GHSA-mp9m-g7qj-6vqr

References