CVE-2020-15278
Unauthorized privilege escalation in Mod module
Description
Red Discord Bot before version 3.4.1 has an unauthorized privilege escalation exploit in the Mod module. This exploit allows Discord users with a high privilege level within the guild to bypass hierarchy checks when the application is in a specific condition that is beyond that user's control. By abusing this exploit, it is possible to perform destructive actions within the guild the user has high privileges in. This exploit has been fixed in version 3.4.1. As a workaround, unloading the Mod module with unload mod or, disabling the massban command with command disable global massban can render this exploit not accessible. We still highly recommend updating to 3.4.1 to completely patch this issue.
How to fix CVE-2020-15278
To remediate CVE-2020-15278, upgrade the affected package to a fixed version below.
- —upgrade to 3.4.1 or later
- —upgrade to 726bfd38adfdfaef760412a68e01447b470f438b or later
Is CVE-2020-15278 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 3.4.1
- from 0, < 726bfd38adfdfaef760412a68e01447b470f438b | from 0, < 3.4.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | HIGH7.7 | CVSS:3.0/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N |