9.8critical
Remote Code Execution Vulnerability in MEGABOT
- Severity
- 9.8critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 2.12% (higher than 83% of CVEs)
- Published
- Last changed
- 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
| Product or package | Versions | Reported by |
|---|---|---|
| NicPWNs MEGABOT | < 1.5.0 | CVE List |
| megacord megabot | before 1.5.0 | CVE List, NVD |
All scores
| GitHub_M | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
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.
NVD (es)
MEGABOT es un bot de Discord totalmente personalizado para aprender y divertirse. El comando `/math` y la funcionalidad de las versiones de MEGABOT <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.
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 | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-43404 changed 2024-08-20 | CVE Terms of Use |
| NVD | CVE-2024-43404 changed 2026-06-17 | Public domain |