CVE-2021-29246 Path traversal in n/a
An attacker with admin privileges can exploit directory traversal in BTCPay Server to upload malicious files and achieve code execution.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2021-29246?
CVE-2021-29246 is a medium-severity path traversal vulnerability in n/a, published on 5 May 2021. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
BTCPay Server through 1.0.7.0 suffers from directory traversal, which allows an attacker with admin privileges to achieve code execution. The attacker must craft a malicious plugin file with special characters to upload the file outside of the restricted directory.
Weakness: CWE-22
Which versions are affected by CVE-2021-29246?
It affects 1 product.
Products include Btcpayserver Btcpay Server.
How do I fix CVE-2021-29246?
No fix has been published for CVE-2021-29246 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-29246 being exploited?
There is no known exploitation of CVE-2021-29246 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2022-32984 Information disclosure in n/a
- CVE-2021-29249 Information disclosure in n/a
- CVE-2021-29251 Missing authorization in n/a
- CVE-2023-0879 Cross-site Scripting (XSS) - Stored in btcpayserver/btcpayserver
- CVE-2023-1149 Improper Neutralization of Equivalent Special Elements in btcpayserver/btcpayserver
Sources
Also known as GHSA-6w4p-96gh-fgfp.