CVE & CISA-KEV Catalog

CVE-2024-45307

HIGH
8.8
CVSS v3
NVD

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.

How to fix

Remediation Available
sudobotNVD
Affected:>= 9.0.0, < 9.26.7Fixed in:9.26.7CVE-2024-45307derived from NVD

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredNone
User InteractionRequired
ScopeChanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityHigh

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

Exploit Intelligence

0.30%probability of exploitation in 30 days
22ndpercentile

Low risk: more likely to be exploited than 22% of all known CVEs.

References

Vendor Advisory1

Related Vulnerabilities

Other CWE-285 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-29927Critical9.1100%-Fix
CVE-2021-28799Critical10.078%KEV + RansomFix
CVE-2023-32707High8.874%-Fix
CVE-2023-48241High7.573%-Fix
CVE-2023-22480High7.367%-Fix
CVE-2022-3229Critical9.866%--
Embed a live status badge for CVE-2024-45307
CVE-2024-45307 severity badge

Markdown

[![CVE-2024-45307](https://tridentstack.com/cve/badge/CVE-2024-45307.svg)](https://tridentstack.com/cve/CVE-2024-45307)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-45307"><img src="https://tridentstack.com/cve/badge/CVE-2024-45307.svg" alt="CVE-2024-45307"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-09-07.