6.5medium
Path Traversal at Discord-Recon .recon Command Path
- Severity
- 6.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.63% (higher than 77% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| DEMON1A Discord-Recon | <= 0.0.3 | CVE List |
| discord discord-recon | before 0.0.4 | NVD |
All scores
| GitHub_M | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
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.
NVD (es)
Discord-Recon es un bot para el servicio de chat Discord. En versiones de Discord-Recon versiones 0.0.3 y anteriores, un atacante remoto puede leer archivos locales del servidor que pueden divulgar información importante. Como solución alternativa, un encargado de mantenimiento de bots puede ubicar el archivo "app.py" y agregar" .replace ("..", '')" en la variable "Path" dentro de la función "recon". La vulnerabilidad está parcheada en versión 0.0.4
References
| https://github.com/DEMON1A/Discord-Recon/security/advisories/GHSA-p2pw-8xwf-879g | mitigation, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29466 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-29466 changed 2026-06-17 | Public domain |