Vulnerability · Published Aug 20, 2024 · Assigned by GitHub_M
CVE-2024-43404Remote Code Execution Vulnerability in MEGABOT
Critical 9.8
In plain English
A critical-severity security flaw in MEGABOT from NicPWNs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 66% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
Weakness: CWE-95 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/NicPWNs/MEGABOT/security/advisories/GHSA-vhxp-4hwq-w3p2 x_refsource_CONFIRM
- https://github.com/NicPWNs/MEGABOT/issues/137 x_refsource_MISC
- https://github.com/NicPWNs/MEGABOT/pull/138 x_refsource_MISC
- https://github.com/NicPWNs/MEGABOT/commit/71e79e5581ea36313700385b112d863053fb7ed6 x_refsource_MISC
- https://github.com/NicPWNs/MEGABOT/releases/tag/v1.5.0 x_refsource_MISC