CVE-2022-23604
X26-cogs Project X26-cogs vulnerability
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.
Affected products
X26-cogs. The exact versions are in the references.
What to do now
- Check your exposureFind out whether X26-cogs Project X26-cogs runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/Twentysix26/x26-Cogs/commit/72dd9323cb4c90f3a5accac7087605375d178246 · Patch
- github.com/Twentysix26/x26-Cogs/releases/tag/v1.10 · Third Party Advisory
- github.com/Twentysix26/x26-Cogs/security/advisories/GHSA-cfh8-v56j-5757 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-23604
- cve.org/CVERecord?id=CVE-2022-23604
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.