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
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | red-discordbot | < 3.4.1 | 3.4.1 |
Verweise
- https://github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b470f438b
- https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-mp9m-g7qj-6vqr
- https://github.com/Cog-Creators/Red-DiscordBot/releases/tag/3.4.1
- https://nvd.nist.gov/vuln/detail/CVE-2020-15278
- https://github.com/Cog-Creators/Red-DiscordBot
- https://github.com/pypa/advisory-database/tree/main/vulns/red-discordbot/PYSEC-2020-267.yaml
- CVSS-Vektor
CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N- Schwäche (CWE)
CWE-285- Plattform
- Python (PyPI)
- Paket
red-discordbot- Veröffentlicht
- 27.10.2020
- Aktualisiert
- 11.10.2026 15:17
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2020-267 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-mp9m-g7qj-6vqr - CC BY 4.0
Schwachstellenhistorie: red-discordbot
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 4
- Erste → letzte
- 08.2020 07.2024
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Hoch 1
- Mittel 3
Veröffentlichungen pro Jahr
- 2020: 3
- 2021: 0
- 2022: 0
- 2023: 0
- 2024: 1
- 2025: 0
- 2026: 0
-
Unauthorized privilege escalation in Mod module dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.