CVE-2018-12885
Mycryptochamp vulnerability
The randMod() function of the smart contract implementation for MyCryptoChamp, an Ethereum game, generates a random value with publicly readable variables such as the current block information and a private variable, (which can be read with a getStorageAt call). Therefore, attackers can get powerful champs/items and get rewards.
Affected products
Mycryptochamp. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mycryptochamp 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
- etherscan.io/address/0x689FB61845488297dfE7586E5f7956475955d2Dc · Third Party Advisory
- etherscan.io/address/0xa44e464b13280340904ffef0a65b8a0033460430 · Third Party Advisory
- medium.com/coinmonks/get-legendary-items-by-breaking-pnrg-of-mycyptochamp-an-ethereum-onli · Exploit
- nvd.nist.gov/vuln/detail/CVE-2018-12885
- cve.org/CVERecord?id=CVE-2018-12885
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.