CVE-2024-45307: SudoBot missing authorization check in `-config` command

Published Sep 3, 2024
·
Updated

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 <guildid> with the appropriate Guild ID each time.

Affected Software

1 affected component
Onesoftnet Sudobot>=9.0.0<9.26.7

Event History

Sep 3, 2024
CVE Published
via MITRE·07:01 PM
Data Sourced
via MITRE·07:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:15 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2024-45307?

CVE-2024-45307 is classified as a high severity vulnerability due to its potential for privilege escalation in the SudoBot.

2

How do I fix CVE-2024-45307?

To fix CVE-2024-45307, upgrade SudoBot to version 9.26.7 or later.

3

What are the affected versions of SudoBot for CVE-2024-45307?

CVE-2024-45307 affects all versions of SudoBot from 9.0.0 up to, but not including, 9.26.7.

4

What type of vulnerability is CVE-2024-45307?

CVE-2024-45307 is a vulnerability that allows for privilege escalation through the '-config' command.

5

Who can exploit CVE-2024-45307?

Anyone with access to the SudoBot can theoretically exploit CVE-2024-45307 to update configurations.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203