Privilege escalation in Twentysix26 X26-Cogs
CVE-2022-23604
x26-Cogs is a repository of cogs made by Twentysix for the Red Discord bot. Among these cogs is the Defender cog, a tool for Discord server moderation. A vulnerability in the Defender cog prior to version 1.10.0 allows users with admin privileges to issue commands as other users who share the same server. If a bot owner shares the same server as the attacker, it is possible for the attacker to issue bot-owner restricted commands. The issue has been patched in version 1.10.0. One may unload the Defender cog as a workaround.
Vulnerability class: Privilege Escalation
EPSS: 0.011 (63.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Twentysix26 X26-cogs — versions < 1.10.0
- X26-cogs_project X26-cogs
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory, Issue Tracking)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC, Release Notes)
Frequently asked questions
- What is CVE-2022-23604?
- CVE-2022-23604 is a high-severity vulnerability in Twentysix26 X26-Cogs, classified under Improper Privilege Management. CVSS score: 8.8/10. Published 2022-02-15.
- How severe is CVE-2022-23604?
- High severity. CVSS v3 base score is 8.8 out of 10.