CVE-2021-29466 Path Traversal at Discord-Recon .recon Command Path
A remote attacker can read local files from the server hosting the Discord-Recon bot, potentially disclosing sensitive information.
- 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-29466?
CVE-2021-29466 is a medium-severity path traversal 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. In versions of Discord-Recon 0.0.3 and prior, a remote attacker is able to read local files from the server that can disclose important information. As a workaround, a bot maintainer can locate the file `app.py` and add `.replace('..', '')` into the `Path` variable inside of the `recon` function. The vulnerability is patched in version 0.0.4.
Which versions are affected by CVE-2021-29466?
It affects 1 product.
Products include Discord Discord-Recon.
How do I fix CVE-2021-29466?
No fix has been published for CVE-2021-29466 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2021-29466 being exploited?
There is no known exploitation of CVE-2021-29466 in the wild and no public exploit code.
Other vulnerabilities in DEMON1A Discord-Recon
Sources
Also known as GHSA-p2pw-8xwf-879g.