Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW1wOW0tZzdxai02dnFy
Unauthorized privilege escalation in Mod module
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:
- Open an issue in Cog-Creators/Red-DiscordBot
- Over on our Discord server
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLW1wOW0tZzdxai02dnFy
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: almost 3 years ago
Updated: 9 months ago
Identifiers: GHSA-mp9m-g7qj-6vqr
References:
- https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-mp9m-g7qj-6vqr
- https://github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b470f438b
- https://pypi.org/project/Red-DiscordBot/
- https://github.com/Cog-Creators/Red-DiscordBot/releases/tag/3.4.1
- https://github.com/advisories/GHSA-mp9m-g7qj-6vqr
Affected Packages
pypi:red-discordbot
Versions: < 3.4.1Fixed in: 3.4.1