CVE-2021-29461 LFI and possible code execution on discord-recon using tools arguments
Attackers can exploit Discord Recon Server to read internal files and execute arbitrary code via tool arguments.
- 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-29461?
CVE-2021-29461 is a high-severity code injection vulnerability in DEMON1A Discord-Recon, published on 20 Apr 2021. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Discord Recon Server is a bot that allows one to do one's reconnaissance process from one's Discord. A vulnerability in Discord Recon Server prior to 0.0.3 could be exploited to read internal files from the system and write files into the system resulting in remote code execution. This issue has been fixed in version 0.0.3. As a workaround, one may copy the code from `assets/CommandInjection.py` in the Discord Recon Server code repository and overwrite vulnerable code from one's own Discord Recon Server implementation with code that contains the patch.
Which versions are affected by CVE-2021-29461?
It affects 1 product.
Products include Demon1a Discord-Recon.
How do I fix CVE-2021-29461?
No fix has been published for CVE-2021-29461 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-29461 being exploited?
There is no known exploitation of CVE-2021-29461 in the wild and no public exploit code.
Other vulnerabilities in DEMON1A Discord-Recon
Sources
Also known as GHSA-3m9v-v33c-g83x.