Remote Code Execution in Red Discord Bot
Moderate severity
GitHub Reviewed
Published
Aug 20, 2020
in
Cog-Creators/Red-DiscordBot
•
Updated Oct 25, 2024
Description
Reviewed
Aug 21, 2020
Published to the GitHub Advisory Database
Aug 21, 2020
Published by the National Vulnerability Database
Aug 21, 2020
Last updated
Oct 25, 2024
Impact
A RCE exploit has been discovered in the Trivia module: this exploit allows Discord users with specifically crafted usernames to inject code into the Trivia module's leaderboard command. By abusing this exploit, it's possible to perform destructive actions and/or access sensitive information.
Patches
This critical exploit has been fixed on version 3.3.11.
Workarounds
Unloading the Trivia module with
unload trivia
can render this exploit not accessible. We still highly recommend updating to 3.3.11 to completely patch this issue.References
Cog-Creators/Red-DiscordBot#4175
For more information
If you have any questions or comments about this advisory:
References