We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-45307

SudoBot missing authorization check in `-config` command



Description

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.

Reserved 2024-08-26 | Published 2024-09-03 | Updated 2024-09-03 | Assigner GitHub_M


HIGH: 8.8CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:H

Problem types

CWE-285: Improper Authorization

CWE-862: Missing Authorization

Product status

>= 9.0.0, < 9.26.7
affected

References

github.com/...udobot/security/advisories/GHSA-crgg-w3rr-r9h4

github.com/...ommit/ef46ca98562f3c1abef4ff7dd94d8f7b8155ee50

cve.org (CVE-2024-45307)

nvd.nist.gov (CVE-2024-45307)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-45307

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.