CVE-2014-4502
Bfgminer vulnerability
Multiple heap-based buffer overflows in the parse_notify function in sgminer before 4.2.2, cgminer before 4.3.5, and BFGMiner before 4.1.0 allow remote pool servers to have unspecified impact via a (1) large or (2) negative value in the Extranonc2_size parameter in a mining.subscribe response and a crafted mining.notify request.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Bfgminer, Sgminer. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Bfgminer runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ckolivas/cgminer/commit/e1c5050734123973b99d181c45e74b2cbb00272e · Exploit
- github.com/luke-jr/bfgminer/commit/ff7f30129f15f7a2213f8ced0cd65c9a331493d9 · Exploit
- github.com/sgminer-dev/sgminer/commit/bac5831b355f916e0696b7bbcccfc51c057b729a · Exploit
- seclists.org/fulldisclosure/2014/Jul/119
- www.securityfocus.com/bid/68831
- github.com/sgminer-dev/sgminer/issues/258
- nvd.nist.gov/vuln/detail/CVE-2014-4502
- cve.org/CVERecord?id=CVE-2014-4502
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.