CVE-2024-43404

CRITICAL EPSS 61.8%
Published Aug 20, 20241y ago · Modified Jun 17, 20262w ago
9.8 CVSS 3.1
Critical
Find Similar
Published Aug 20, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
9.8
Exploitability
3.9
Impact
5.9
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability High

Threat Intelligence

EPSS Exploit Probability
61.8% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 2

CWE-94 Improper Control of Generation of Code (Code Injection) Injection
CWE-95

Affected Products 1

VendorProductVersionRange
megacordmegabot* <1.5.0

References 5

  • github.com https://github.com/NicPWNs/MEGABOT/commit/71e79e5581ea36313700385b112d863053fb7ed6
    Patch
  • github.com https://github.com/NicPWNs/MEGABOT/issues/137
    Issue Tracking
  • github.com https://github.com/NicPWNs/MEGABOT/pull/138
    Issue TrackingPatch
  • github.com https://github.com/NicPWNs/MEGABOT/releases/tag/v1.5.0
    Release Notes
  • github.com https://github.com/NicPWNs/MEGABOT/security/advisories/GHSA-vhxp-4hwq-w3p2
    PatchVendor Advisory

Remediation

  • github.com https://github.com/NicPWNs/MEGABOT/commit/71e79e5581ea36313700385b112d863053fb7ed6
    Patch
  • github.com https://github.com/NicPWNs/MEGABOT/pull/138
    Issue TrackingPatch
  • github.com https://github.com/NicPWNs/MEGABOT/security/advisories/GHSA-vhxp-4hwq-w3p2
    PatchVendor Advisory