6.5medium
Improper Input Validation in kenny2automate
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.60% (higher than 49% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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
| Product or package | Versions | Reported by |
|---|---|---|
| Kenny2github kenny2automate | < a947d7c | CVE List |
| kenny2automate_project kenny2automate | before a947d7c | NVD |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (es)
kenny2automate es un robot de Discord. En la interfaz web para la configuración del servidor, los elementos del formulario se generaron con ID de canal de Discord como parte de los nombres de entrada. Antes de confirmar a947d7c, no se realizó ninguna validación para garantizar que los ID de canal enviados realmente pertenecieran al servidor que se estaba configurando. Por lo tanto, cualquiera que tenga acceso al ID del canal cuya configuración desea cambiar y al panel de configuración del servidor de cualquier servidor podría cambiar la configuración del canal solicitado sin importar a qué servidor pertenezca. La confirmación a947d7c resuelve el problema y se implementa en la instancia oficial del bot. La única solución que existe es deshabilitar completamente la configuración web cambiándola para que se ejecute en localhost. Tenga en cuenta que una solución alternativa solo es necesaria para quienes ejecutan su propia instancia del bot.
References
| https://github.com/Kenny2github/kenny2automate/security/advisories/GHSA-73j8-xrcr-q6j7 | patch, third-party-advisory | |
| https://github.com/Kenny2github/kenny2automate/commit/a947d7ce408687b587c7e6dfd6026f7c4ee31ac2 | patch, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-22452 changed 2025-03-10 | CVE Terms of Use |
| NVD | CVE-2023-22452 changed 2026-06-17 | Public domain |