CVE-2024-43404

MEGABOT is a fully customized Discord bot for learning and fun. The `/math` command and functionality of MEGABOT versions < 1.5.0 contains a remote code execution vulnerability due to a Python `eval()`. The vulnerability allows an attacker to inject Python code into the `expression` parameter when using `/math` in any Discord channel. This vulnerability impacts any discord guild utilizing MEGABOT. This vulnerability was fixed in release version 1.5.0.
Configurations

Configuration 1 (hide)

cpe:2.3:a:megacord:megabot:*:*:*:*:*:*:*:*

History

26 Aug 2024, 18:29

Type Values Removed Values Added
References () https://github.com/NicPWNs/MEGABOT/commit/71e79e5581ea36313700385b112d863053fb7ed6 - () https://github.com/NicPWNs/MEGABOT/commit/71e79e5581ea36313700385b112d863053fb7ed6 - Patch
References () https://github.com/NicPWNs/MEGABOT/issues/137 - () https://github.com/NicPWNs/MEGABOT/issues/137 - Issue Tracking
References () https://github.com/NicPWNs/MEGABOT/pull/138 - () https://github.com/NicPWNs/MEGABOT/pull/138 - Issue Tracking, Patch
References () https://github.com/NicPWNs/MEGABOT/releases/tag/v1.5.0 - () https://github.com/NicPWNs/MEGABOT/releases/tag/v1.5.0 - Release Notes
References () https://github.com/NicPWNs/MEGABOT/security/advisories/GHSA-vhxp-4hwq-w3p2 - () https://github.com/NicPWNs/MEGABOT/security/advisories/GHSA-vhxp-4hwq-w3p2 - Patch, Vendor Advisory
Summary
  • (es) MEGABOT es un bot de Discord totalmente personalizado para aprender y divertirse. El comando `/math` y la funcionalidad de las versiones de MEGABOT &lt;1.5.0 contienen una vulnerabilidad de ejecución remota de código debido a una `eval()` de Python. La vulnerabilidad permite a un atacante inyectar código Python en el parámetro `expresión` cuando se usa `/math` en cualquier canal de Discord. Esta vulnerabilidad afecta a cualquier gremio de discordia que utilice MEGABOT. Esta vulnerabilidad se solucionó en la versión 1.5.0.
CPE cpe:2.3:a:megacord:megabot:*:*:*:*:*:*:*:*
First Time Megacord megabot
Megacord
CWE CWE-94

20 Aug 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-08-20 15:15

Updated : 2024-08-26 18:29


NVD link : CVE-2024-43404

Mitre link : CVE-2024-43404

CVE.ORG link : CVE-2024-43404


JSON object : View

Products Affected

megacord

  • megabot
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')

CWE-95

Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')