Skip to content
OpenAdvisories
Critical · 9.8 CVE-2024-43404 EUVD-2024-40269

Remote Code Execution Vulnerability in MEGABOT

Published Aug 20, 2024 · Updated Aug 20, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
NicPWNs MEGABOT < 1.5.0 —

References