CVE-2024-43404 Remote Code Execution Vulnerability in MEGABOT
CriticalCVSS 9.8
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| megacord megabot | < 1.5.0 | 1.5.0 | Fixed |
| NicPWNs MEGABOT | = < 1.5.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| NicPWNs MEGABOT | = < 1.5.0 | No fix listed |
| megacord megabot | < 1.5.0 | 1.5.0 |
References
- https://github.com/NicPWNs/MEGABOT/security/advisories/GHSA-vhxp-4hwq-w3p2 patch vendor-advisory
- https://github.com/NicPWNs/MEGABOT/issues/137 issue-tracking
- https://github.com/NicPWNs/MEGABOT/pull/138 issue-tracking patch
- https://github.com/NicPWNs/MEGABOT/commit/71e79e5581ea36313700385b112d863053fb7ed6 patch
- https://github.com/NicPWNs/MEGABOT/releases/tag/v1.5.0 release-notes