cog-creators/red-dashboard · Security
Remote Code Execution (RCE) Exploit on Cross Site Scripting (XSS) Vulnerability
- GHSA ID
- GHSA-hm45-mgqm-gjm4
- CVE ID
- CVE-2020-26249
- Severity
- medium
- Published
- Updated
- CVSS
- 7.7 · CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
- CVSS v3
- 7.7 · CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N
- CVSS v4
- 5.1 · CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Description
Impact
A RCE exploit has been discovered in the Red Discord Bot - Dashboard Webserver: this exploit allows Discord users with specially crafted Server names and Usernames/Nicknames to inject code into the webserver front-end code. By abusing this exploit, it's possible to perform destructive actions and/or access sensitive information.
Patches
This high severity exploit has been fixed on version 0.1.7a.
Workarounds
There are no workarounds, bot owners must upgrade their relevant packages (Dashboard module and Dashboard webserver) in order to patch this issue
References
- 99d88b8
- a6b9785
For more information
If you have any questions or comments about this advisory:
- Open an issue in Cog-Creators/Red-Dashboard
- Over on the official Red Server or at the Third Party Server Toxic Layer
CWEs
- CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://github.com/Cog-Creators/Red-Dashboard/security/advisories/GHSA-hm45-mgqm-gjm4 ↗
- https://github.com/Cog-Creators/Red-Dashboard/commit/99d88b840674674166ce005b784ae8e31e955ab1 ↗
- https://github.com/Cog-Creators/Red-Dashboard/commit/a6b9785338003ec87fb75305e7d1cc2d40c7ab91 ↗
- https://pypi.org/project/Red-Dashboard ↗
- https://nvd.nist.gov/vuln/detail/CVE-2020-26249 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/red-dashboard/PYSEC-2020-98.yaml ↗
- https://github.com/advisories/GHSA-hm45-mgqm-gjm4 ↗