Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. Red-DiscordBot
  4. ›
  5. GHSA-q886-75m2-vff8

GHSA-q886-75m2-vff8: Duplicate Advisory: Unauthorized privilege escalation in Mod module

May 24, 2022 (updated April 29, 2024)

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-mp9m-g7qj-6vqr. This link is maintained to preserve external references.

Original 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.

References

  • github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b470f438b
  • github.com/Cog-Creators/Red-DiscordBot/releases/tag/3.4.1
  • github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-mp9m-g7qj-6vqr
  • github.com/advisories/GHSA-q886-75m2-vff8
  • nvd.nist.gov/vuln/detail/CVE-2020-15278

Code Behaviors & Features

Detect and mitigate GHSA-q886-75m2-vff8 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.4.1

Fixed versions

  • 3.4.1

Solution

Upgrade to version 3.4.1 or above.

Impact 7.7 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

pypi/Red-DiscordBot/GHSA-q886-75m2-vff8.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:47 +0000.