What’s Vulnerable › Vulnerabilities
CVE-2023-22452: Improper Input Validation in kenny2automate
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.6% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-01-02 · updated 2026-06-17
- Weakness: CWE-20
Description
kenny2automate is a Discord bot. In the web interface for server settings, form elements were generated with Discord channel IDs as part of input names. Prior to commit a947d7c, no validation was performed to ensure that the channel IDs submitted actually belonged to the server being configured. Thus anyone who has access to the channel ID they wish to change settings for and the server settings panel for any server could change settings for the requested channel no matter which server it belonged to. Commit a947d7c resolves the issue and has been deployed to the official instance of the bot. The only workaround that exists is to disable the web config entirely by changing it to run on localhost. Note that a workaround is only necessary for those who run their own instance of the bot.
Affected products
- Kenny2github kenny2automate: before a947d7c — fixed in a947d7c
How to fix
Upgrade to a fixed version: Kenny2github kenny2automate a947d7c. Check the vendor advisory for mitigations.
References
- https://github.com/Kenny2github/kenny2automate/commit/a947d7ce408687b587c7e6dfd6026f7c4ee31ac2
- https://github.com/Kenny2github/kenny2automate/security/advisories/GHSA-73j8-xrcr-q6j7
- https://github.com/Kenny2github/kenny2automate/commit/a947d7ce408687b587c7e6dfd6026f7c4ee31ac2
- https://github.com/Kenny2github/kenny2automate/security/advisories/GHSA-73j8-xrcr-q6j7
Get alerted when CVE-2023-22452 or the next vulnerability affects your stack