CVE-2020-15147 Remote Code Execution in Red Discord Bot
Attackers can execute arbitrary code via crafted Discord messages in the Streams module, potentially accessing sensitive data or causing damage.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-15147?
CVE-2020-15147 is a high-severity code injection vulnerability in Cog-Creators Red-DiscordBot, published on 21 Aug 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Red Discord Bot before versions 3.3.12 and 3.4 has a Remote Code Execution vulnerability in the Streams module. This exploit allows Discord users with specifically crafted "going live" messages to inject code into the Streams module's going live message. By abusing this exploit, it's possible to perform destructive actions and/or access sensitive information. As a workaround, unloading the Trivia module with `unload streams` can render this exploit not accessible. It is highly recommended updating to 3.3.12 or 3.4 to completely patch this issue.
Which versions are affected by CVE-2020-15147?
3 open source packages ship an affected version, including red-discordbot and Red-DiscordBot. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
red-discordbot PyPI | All versions | 3.3.12 |
red-discordbot PyPI | All versions | 3.3.12 |
Red-DiscordBot PyPI | All versions | 3.3.12 |
Products include Cogboard Red Discord Bot.
How do I fix CVE-2020-15147?
Upgrade red-discordbot to 3.3.12 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2020-15147 being exploited?
There is no known exploitation of CVE-2020-15147 in the wild and no public exploit code.
Other vulnerabilities in Cog-Creators Red-DiscordBot
Sources
Also known as GHSA-7257-96vg-qf6x, PYSEC-2020-266.