{"id":"CVE-2024-43404","published":"2024-08-20T14:55:12Z","modified":"2024-08-20T20:29:22Z","title":"Remote Code Execution Vulnerability in MEGABOT","vendor":"NicPWNs","product":"MEGABOT","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01108,"percentile":0.6668,"provenance":"source"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"references":[{"url":"https://github.com/NicPWNs/MEGABOT/security/advisories/GHSA-vhxp-4hwq-w3p2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/NicPWNs/MEGABOT/issues/137","tags":["x_refsource_MISC"]},{"url":"https://github.com/NicPWNs/MEGABOT/pull/138","tags":["x_refsource_MISC"]},{"url":"https://github.com/NicPWNs/MEGABOT/commit/71e79e5581ea36313700385b112d863053fb7ed6","tags":["x_refsource_MISC"]},{"url":"https://github.com/NicPWNs/MEGABOT/releases/tag/v1.5.0","tags":["x_refsource_MISC"]}],"priority":{"score":20.2,"factors":[{"name":"EPSS percentile","points":13.34},{"name":"CVSS severity","points":6.86}]},"vendorSlug":"nicpwns","affectedVersions":[{"vendor":"NicPWNs","product":"MEGABOT","versions":["< 1.5.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"total","timestamp":"2024-08-20T20:07:50.076252Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-40269","exploited":false,"provenance":"source"}}