CVE-2021-29465 Remote file overwrite on discord-recon can result in DoS and Remote Code Execution
A remote attacker can overwrite system files via command injection in Discord-Recon, leading to remote code execution or denial of service.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-29465?
CVE-2021-29465 is a high-severity command injection vulnerability in DEMON1A Discord-Recon, published on 22 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Discord-Recon is a bot for the Discord chat service. Versions of Discord-Recon 0.0.3 and prior contain a vulnerability in which a remote attacker is able to overwrite any file on the system with the command results. This can result in remote code execution when the user overwrite important files on the system. As a workaround, bot maintainers can edit their `setting.py` file then add `<` and `>` into the `RCE` variable inside of it to fix the issue without an update. The vulnerability is patched in version 0.0.4.
Which versions are affected by CVE-2021-29465?
It affects 1 product.
Products include Discord Discord-Recon.
How do I fix CVE-2021-29465?
No fix has been published for CVE-2021-29465 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2021-29465 being exploited?
There is no known exploitation of CVE-2021-29465 in the wild and no public exploit code.
Other vulnerabilities in DEMON1A Discord-Recon
Sources
Also known as GHSA-6pp2-rpj3-jcjx.