CVE-2024-45307
CVSS V2 None
CVSS V3 None
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.
Overview
- CVE ID
- CVE-2024-45307
- Assigner
- GitHub_M
- Vulnerability Status
- PUBLISHED
- Published Version
- 2024-09-03T19:01:11.231Z
- Last Modified Date
- 2024-09-03T19:31:25.397Z
Weakness Enumerations
References
Reference URL | Reference Tags |
---|---|
https://github.com/onesoft-sudo/sudobot/security/advisories/GHSA-crgg-w3rr-r9h4 | x_refsource_CONFIRM |
https://github.com/onesoft-sudo/sudobot/commit/ef46ca98562f3c1abef4ff7dd94d8f7b8155ee50 | x_refsource_MISC |
Sources
Source Name | Source URL |
---|---|
NIST | https://nvd.nist.gov/vuln/detail/CVE-2024-45307 |
MITRE | https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-45307 |
History
Created | Old Value | New Value | Data Type | Notes |
---|---|---|---|---|
2024-09-04 13:06:53 | Added to TrackCVE |