CVE-2024-39905 MEDIUM

CVE-2024-39905: Red-DiscordBot vulnerable to Incorrect Authorization in commands API

Vendor Cog-Creators
Product Red-DiscordBot
Weakness CWE-863 · Incorrect authorization
Published July 11, 2024
Last update August 2, 2024

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity Low

CVSS vector

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

What the vulnerability does

01Description

Red is a fully modular Discord bot. Due to a bug in Red's Core API, 3rd-party cogs using the `@commands.can_manage_channel()` command permission check without additional permission controls may authorize a user to run a command even when that user doesn't have permissions to manage a channel. None of the core commands or core cogs are affected. The maintainers of the project are not aware of any _public_ 3rd-party cog utilizing this API at the time of writing this advisory. The problem was patched and released in version 3.5.10.

Key dates

02Disclosure timeline

July 11, 2024 CVE published
August 2, 2024 Record updated