8.2high
Remote Code Execution in Red Discord Bot
- Severity
- 8.2high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.16% (higher than 67% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-55j9-849x-26h4PYSEC-2020-265
Description
In Red Discord Bot before version 3.3.11, 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. This critical exploit has been fixed on version 3.3.11.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Cog-Creators Red-DiscordBot | < 3.3.11 | CVE List |
| red-discordbot (PyPI) | before 3.3.11, before 9ab536235bafc2b42c3c17d7ce26f1cc64482a81 | GitHub Advisory Database, PyPA Advisory Database |
| cogboard red_discord_bot | before 3.3.11 | NVD |
All scores
| GitHub_M | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
| GitHub | 8.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N |
| GitHub | medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N |
| NVD | 9.6critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
| NVD | 5.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Classification
What each source says
CVE List
In Red Discord Bot before version 3.3.11, 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. This critical exploit has been fixed on version 3.3.11.
GitHub Advisory Database
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
https://github.com/Cog-Creators/Red-DiscordBot/pull/4175
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
NVD (es)
En Red Discord Bot versiones anteriores a versión 3.3.11, se detectó una explotación de RCE en el módulo Trivia: esta explotación permite a usuarios de Discord con nombres de usuario específicamente diseñados inyectar código en el comando de la tabla de clasificación del módulo Trivia. Al abusar de esta explotación, es posible llevar a cabo acciones destructivas y / o acceder a información confidencial. Esta explotación crítica se ha corregido en la versión 3.3.11.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2020-15140 changed 2024-08-04 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-55j9-849x-26h4 changed 2026-07-08 | CC-BY-4.0 |
| NVD | CVE-2020-15140 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2020-265 changed 2026-02-22 | CC-BY-4.0 |