CVE-2018-10057 Path traversal in n/a
An authenticated attacker can write configuration files to arbitrary locations on the server due to missing directory restrictions in cgminer and bfgminer.
- 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-2018-10057?
CVE-2018-10057 is a medium-severity path traversal vulnerability in n/a, published on 5 Jun 2018. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
The remote management interface of cgminer 4.10.0 and bfgminer 5.5.0 allows an authenticated remote attacker to write the miner configuration file to arbitrary locations on the server due to missing basedir restrictions (absolute directory traversal).
Weakness: CWE-22
Which versions are affected by CVE-2018-10057?
It affects 2 products.
Products include Bfgminer Bfgminer, Cgminer Project Cgminer.
How do I fix CVE-2018-10057?
No fix has been published for CVE-2018-10057 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-2018-10057 being exploited?
There is no known exploitation of CVE-2018-10057 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-7fj2-f693-x66w, UBUNTU-CVE-2018-10057.