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).
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | cgminer | No fix yet | — |
| Ubuntu 20.04 LTS | cgminer | No fix yet | — |
| Ubuntu 18.04 LTS | cgminer +1 | No fix yet | — |
| Ubuntu 16.04 LTS | cgminer +1 | No fix yet | — |