Skip to content

Duplicate Advisory: Unauthorized privilege escalation in Mod module

High severity GitHub Reviewed Published May 24, 2022 to the GitHub Advisory Database • Updated Apr 29, 2024
Withdrawn This advisory was withdrawn on Apr 29, 2024

Package

pip red-discordbot (pip)

Affected versions

< 3.4.1

Patched versions

3.4.1

Description

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

Published by the National Vulnerability Database Oct 28, 2020
Published to the GitHub Advisory Database May 24, 2022
Reviewed Apr 29, 2024
Withdrawn Apr 29, 2024
Last updated Apr 29, 2024

Severity

High

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
Required
Scope
Changed
Confidentiality
High
Integrity
High
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N

Weaknesses

CVE ID

No known CVE

GHSA ID

GHSA-q886-75m2-vff8

Source code

No known source code
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.