{"id":"CVE-2020-15140","published":"2020-08-21T16:40:15Z","modified":"2024-08-04T13:08:22Z","title":"Remote Code Execution in Red Discord Bot","vendor":"Cog-Creators","product":"Red-DiscordBot","tier":"core","eol":null,"affectedVersions":[{"vendor":"Cog-Creators","product":"Red-DiscordBot","versions":["< 3.3.11"]}],"description":{"text":"In Red Discord Bot before version 3.3.11, a RCE exploit has been discovered in the Trivia module: this exploit allows Discord users with specifically crafted usernames to inject code into the Trivia module's leaderboard command. By abusing this exploit, it's possible to perform destructive actions and/or access sensitive information. This critical exploit has been fixed on version 3.3.11.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01156,"percentile":0.66929,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-55j9-849x-26h4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/4175/commits/9ab536235bafc2b42c3c17d7ce26f1cc64482a81","tags":["x_refsource_MISC"]}],"techniques":[{"id":"T1133","name":"External Remote Services","tactics":["initial-access","persistence"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 2)","mappingType":"exploitation_technique","evidence":[],"confidence":"high"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"source","basis":"ctid-cve","bases":["ctid-cve"],"basisDetail":"CTID attack_to_cve (Phase 2)","mappingType":"primary_impact","evidence":[],"confidence":"high"}],"reports":[],"affected":[{"ecosystem":"PyPI","package":"Red-DiscordBot","vulnerableRanges":["<3.3.11"],"patched":["3.3.11"],"from":["GHSA-55j9-849x-26h4","PYSEC-2020-265"],"provenance":"source"}],"advisories":[{"id":"GHSA-55j9-849x-26h4","url":"https://github.com/advisories/GHSA-55j9-849x-26h4","severity":"MODERATE","ecosystem":"PyPI","package":"Red-DiscordBot","vulnerableRanges":["<3.3.11"],"patched":["3.3.11"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2020-0163","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0163","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[{"stage":"exploitation","techniques":["T1133"],"provenance":"source"},{"stage":"primary","techniques":["T1059"],"provenance":"source"}],"timeline":[{"date":"2020-08-21","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2020-15140","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":19.1,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":13.39,"detail":"percentile 0.6693"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":5.74,"detail":"base score 8.2"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"packageHistory":[{"cve":"CVE-2020-15140","published":"2020-08-21","fixed":"3.3.11","kev":false},{"cve":"CVE-2020-15147","published":"2020-08-21","fixed":"3.3.12","kev":false,"link":{"from":"CVE-2020-15140","to":"CVE-2020-15147","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Red-DiscordBot","fromFixed":"3.3.11","toFixed":"3.3.12","daysApart":0},{"kind":"similar","provenance":"machine","score":0.58,"basis":"same product + description similarity"}]}},{"cve":"CVE-2020-15278","published":"2020-10-28","fixed":"3.4.1","kev":false},{"cve":"CVE-2024-39905","published":"2024-07-11","fixed":"3.5.10","kev":false}],"package":"PyPI:Red-DiscordBot"}}