CVE-2020-15278
JSON

7.7high

Unauthorized privilege escalation in Mod module

Severity
7.7high CVSS:3.1 by GitHub_M
Exploit likelihood
1.09% (higher than 66% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mp9m-g7qj-6vqrPYSEC-2020-267

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

Product or packageVersionsReported by
Cog-Creators Red-DiscordBot< 3.4.1CVE List
red-discordbot (PyPI)before 3.4.1, before 726bfd38adfdfaef760412a68e01447b470f438bGitHub Advisory Database, PyPA Advisory Database
cogboard red_discord_botbefore 3.4.1NVD

All scores

GitHub_M7.7high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
GitHub7.7medium CVSS:3.0CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD6.0medium CVSS:2.0AV:N/AC:M/Au:S/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

GitHub Advisory Database
Impact

An unauthorized privilege escalation exploit has been discovered 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's possible to perform destructive actions within the guild the user has high privileges in.

Patches

This exploit has been fixed on version & 3.4.1.

Workarounds

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.

References
For more information

If you have any questions or comments about this advisory:

NVD (es)

Red Discord Bot versiones anteriores a 3.4.1, presenta una explotación de escalada de privilegios no autorizada en el módulo Mod. Esta explotación permite a usuarios de Discord con un alto nivel de privilegios dentro del gremio omitir una comprobación de jerarquía cuando la aplicación está en una condición específica que se encuentra fuera del control de ese usuario. Al abusar de esta explotación, es posible llevar a cabo acciones destructivas dentro del gremio en el que el usuario presenta altos privilegios. Esta explotación ha sido corregida en la versión 3.4.1. Como solución alternativa, descargar el módulo Mod con unload mod o, desactivar el comando massban con el comando disable global massban puede hacer que esta explotación no sea accesible. Seguimos recomendando encarecidamente actualizar a versión 3.4.1 para parchear completamente este problema

References

Sources

SourceRecordLicence
CVE ListCVE-2020-15278 changed 2024-08-04CVE Terms of Use
GitHub Advisory DatabaseGHSA-mp9m-g7qj-6vqr changed 2026-09-10CC-BY-4.0
NVDCVE-2020-15278 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2020-267 changed 2023-11-08CC-BY-4.0