CVE-2024-45307

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:onesoftnet:sudobot:*:*:*:*:*:*:*:*

History

07 Sep 2024, 01:34

Type Values Removed Values Added
CPE cpe:2.3:a:onesoftnet:sudobot:*:*:*:*:*:*:*:*
First Time Onesoftnet
Onesoftnet sudobot
CWE CWE-862
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
References () https://github.com/onesoft-sudo/sudobot/security/advisories/GHSA-crgg-w3rr-r9h4 - () https://github.com/onesoft-sudo/sudobot/security/advisories/GHSA-crgg-w3rr-r9h4 - Mitigation, Vendor Advisory
References () https://github.com/onesoft-sudo/sudobot/commit/ef46ca98562f3c1abef4ff7dd94d8f7b8155ee50 - () https://github.com/onesoft-sudo/sudobot/commit/ef46ca98562f3c1abef4ff7dd94d8f7b8155ee50 - Patch

03 Sep 2024, 19:40

Type Values Removed Values Added
New CVE

Information

Published : 2024-09-03 19:15

Updated : 2024-09-07 01:34


NVD link : CVE-2024-45307

Mitre link : CVE-2024-45307


JSON object : View

Products Affected

onesoftnet

  • sudobot
CWE
CWE-862

Missing Authorization