pysec-2020-267
Vulnerability from pysec
Published
2020-10-28 17:15
Modified
2021-11-16 03:58
Details

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.




{
  "affected": [
    {
      "package": {
        "ecosystem": "PyPI",
        "name": "red-discordbot",
        "purl": "pkg:pypi/red-discordbot"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "726bfd38adfdfaef760412a68e01447b470f438b"
            }
          ],
          "repo": "https://github.com/Cog-Creators/Red-DiscordBot",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "3.4.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "3.0.0",
        "3.0.0b16",
        "3.0.0b17",
        "3.0.0b18",
        "3.0.0b19",
        "3.0.0b20",
        "3.0.0b21",
        "3.0.0rc1",
        "3.0.0rc1.post1",
        "3.0.0rc2",
        "3.0.0rc3",
        "3.0.0rc3.post1",
        "3.0.1",
        "3.0.2",
        "3.1.0",
        "3.1.1",
        "3.1.2",
        "3.1.3",
        "3.1.4",
        "3.1.5",
        "3.1.6",
        "3.1.7",
        "3.1.8",
        "3.1.9",
        "3.2.0",
        "3.2.1",
        "3.2.2",
        "3.2.3",
        "3.3.0",
        "3.3.1",
        "3.3.10",
        "3.3.11",
        "3.3.12",
        "3.3.2",
        "3.3.3",
        "3.3.4",
        "3.3.5",
        "3.3.6",
        "3.3.7",
        "3.3.8",
        "3.3.9",
        "3.4.0"
      ]
    }
  ],
  "aliases": [
    "CVE-2020-15278",
    "GHSA-mp9m-g7qj-6vqr"
  ],
  "details": "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\u0027s 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.",
  "id": "PYSEC-2020-267",
  "modified": "2021-11-16T03:58:45.518170Z",
  "published": "2020-10-28T17:15:00Z",
  "references": [
    {
      "type": "FIX",
      "url": "https://github.com/Cog-Creators/Red-DiscordBot/commit/726bfd38adfdfaef760412a68e01447b470f438b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-mp9m-g7qj-6vqr"
    },
    {
      "type": "WEB",
      "url": "https://github.com/Cog-Creators/Red-DiscordBot/releases/tag/3.4.1"
    }
  ]
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading...

Loading...

Loading...
  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.