RCE in Megacord Megabot
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.011 (64.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 65th percentile — 64.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.011 · newest: 0.011 · change: 0.000
Affected products
- Megacord Megabot
- Nicpwns Megabot — versions < 1.5.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/NicPWNs/MEGABOT/security/advisories/GHSA-vhxp-4hwq-w3p2 (Patch, Vendor Advisory)
- github.com/NicPWNs/MEGABOT/issues/137 (Issue Tracking)
- github.com/NicPWNs/MEGABOT/pull/138 (Patch, Issue Tracking)
- github.com/NicPWNs/MEGABOT/commit/71e79e5581ea36313700385b112d863053fb7ed6 (Patch)
- github.com/NicPWNs/MEGABOT/releases/tag/v1.5.0 (Release Notes)
Frequently asked questions
- What is CVE-2024-43404?
- CVE-2024-43404 is a critical-severity vulnerability in Megacord Megabot, classified under Eval Injection. CVSS score: 9.8/10. Published 2024-08-20.
- How severe is CVE-2024-43404?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2024-43404 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.