Lucene search

K
cveGitHub_MCVE-2024-45307
HistorySep 03, 2024 - 7:15 p.m.

CVE-2024-45307

2024-09-0319:15:15
CWE-285
CWE-862
GitHub_M
web.nvd.nist.gov
24
sudobot
discord
privilege escalation
exploit
configuration
vulnerability
patch
sql statement
github security advisor
guild id

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

8

Confidence

High

EPSS

0.001

Percentile

39.7%

SudoBot, a Discord moderation bot, is vulnerable to privilege escalation and exploit of the -config command in versions prior to 9.26.7. Anyone is theoretically able to update any configuration of the bot and potentially gain control over the bot’s settings. Every version of v9 before v9.26.7 is affected. Other versions (e.g. v8) are not affected. Users should upgrade to version 9.26.7 to receive a patch. A workaround would be to create a command permission overwrite in the Database. A SQL statement provided in the GitHub Security Advisor can be executed to create a overwrite that disallows users without ManageGuild permission to run the -config command. Run the SQL statement for every server the bot is in, and replace <guild_id> with the appropriate Guild ID each time.

Affected configurations

Nvd
Vulners
Node
onesoftnetsudobotRange9.0.09.26.7
VendorProductVersionCPE
onesoftnetsudobot*cpe:2.3:a:onesoftnet:sudobot:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "vendor": "onesoft-sudo",
    "product": "sudobot",
    "versions": [
      {
        "version": ">= 9.0.0, < 9.26.7",
        "status": "affected"
      }
    ]
  }
]

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

8

Confidence

High

EPSS

0.001

Percentile

39.7%

Related for CVE-2024-45307