CVE-2023-22452

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:kenny2automate_project:kenny2automate:*:*:*:*:*:*:*:*

History

21 Nov 2024, 07:44

Type Values Removed Values Added
References () https://github.com/Kenny2github/kenny2automate/commit/a947d7ce408687b587c7e6dfd6026f7c4ee31ac2 - Patch, Third Party Advisory () https://github.com/Kenny2github/kenny2automate/commit/a947d7ce408687b587c7e6dfd6026f7c4ee31ac2 - Patch, Third Party Advisory
References () https://github.com/Kenny2github/kenny2automate/security/advisories/GHSA-73j8-xrcr-q6j7 - Patch, Third Party Advisory () https://github.com/Kenny2github/kenny2automate/security/advisories/GHSA-73j8-xrcr-q6j7 - Patch, Third Party Advisory
Summary
  • (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.

Information

Published : 2023-01-02 20:15

Updated : 2024-11-21 07:44


NVD link : CVE-2023-22452

Mitre link : CVE-2023-22452

CVE.ORG link : CVE-2023-22452


JSON object : View

Products Affected

kenny2automate_project

  • kenny2automate
CWE
CWE-20

Improper Input Validation