cog-creators/red-discordbot · Security
Remote Code Execution in Red Discord Bot
- GHSA ID
- GHSA-7257-96vg-qf6x
- CVE ID
- CVE-2020-15147
- Severity
- high
- Published
- Updated
- CVSS
- 8.5 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- CVSS v3
- 8.5 · CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H
- CVSS v4
- 7.7 · CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Description
Impact
A RCE exploit has been discovered 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.
Patches
This critical exploit has been fixed on version 3.3.12 & 3.4.
Workarounds
Unloading the Streams module with unload streams can render this exploit not accessible. We still highly recommend updating to 3.3.12 or 3.4 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
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
References
- https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-7257-96vg-qf6x ↗
- https://github.com/Cog-Creators/Red-DiscordBot/pull/4183 ↗
- https://github.com/Cog-Creators/Red-DiscordBot/pull/4183/commits/e269ea0d3bc88417163c18431b1df38a9be92bfc ↗
- https://nvd.nist.gov/vuln/detail/CVE-2020-15147 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/red-discordbot/PYSEC-2020-266.yaml ↗
- https://github.com/advisories/GHSA-7257-96vg-qf6x ↗