{"id":"CVE-2020-15147","published":"2020-08-21T17:15:16Z","modified":"2024-08-04T13:08:21Z","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.12"]}],"description":{"text":"Red Discord Bot before versions 3.3.12 and 3.4 has a Remote Code Execution vulnerability in the Streams module. This exploit allows Discord users with specifically crafted \"going live\" messages to inject code into the Streams module's going live message. By abusing this exploit, it's possible to perform destructive actions and/or access sensitive information. As a workaround, unloading the Trivia module with `unload streams` can render this exploit not accessible. It is highly recommended updating to 3.3.12 or 3.4 to completely patch this issue.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02614,"percentile":0.85371,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/Cog-Creators/Red-DiscordBot/security/advisories/GHSA-7257-96vg-qf6x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/4183","tags":["x_refsource_MISC"]},{"url":"https://github.com/Cog-Creators/Red-DiscordBot/pull/4183/commits/e269ea0d3bc88417163c18431b1df38a9be92bfc","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.12"],"patched":["3.3.12"],"from":["GHSA-7257-96vg-qf6x","PYSEC-2020-266"],"provenance":"source"}],"advisories":[{"id":"GHSA-7257-96vg-qf6x","url":"https://github.com/advisories/GHSA-7257-96vg-qf6x","severity":"HIGH","ecosystem":"PyPI","package":"Red-DiscordBot","vulnerableRanges":["<3.3.12"],"patched":["3.3.12"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2020-0164","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2020-0164","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-15147","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":23.0,"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":17.07,"detail":"percentile 0.8537"},{"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.95,"detail":"base score 8.5"},{"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,"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-15147","published":"2020-08-21","fixed":"3.3.12","kev":false},{"cve":"CVE-2020-15278","published":"2020-10-28","fixed":"3.4.1","kev":false,"link":{"from":"CVE-2020-15147","to":"CVE-2020-15278","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Red-DiscordBot","fromFixed":"3.3.12","toFixed":"3.4.1","daysApart":68}]}},{"cve":"CVE-2024-39905","published":"2024-07-11","fixed":"3.5.10","kev":false}],"package":"PyPI:Red-DiscordBot"}}