What’s Vulnerable › Vulnerabilities
CVE-2018-12885
- Severity: medium (CVSS 5.9 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.4% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-08-07 · updated 2026-06-17
- Weakness: CWE-338
Description
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: all versions
References
- https://etherscan.io/address/0x689FB61845488297dfE7586E5f7956475955d2Dc
- https://etherscan.io/address/0xa44e464b13280340904ffef0a65b8a0033460430
- https://medium.com/coinmonks/get-legendary-items-by-breaking-pnrg-of-mycyptochamp-an-ethereum-online-game-cve-2018-12855-6e6beb41b8df
- https://etherscan.io/address/0x689FB61845488297dfE7586E5f7956475955d2Dc
- https://etherscan.io/address/0xa44e464b13280340904ffef0a65b8a0033460430
- https://medium.com/coinmonks/get-legendary-items-by-breaking-pnrg-of-mycyptochamp-an-ethereum-online-game-cve-2018-12855-6e6beb41b8df
Get alerted when CVE-2018-12885 or the next vulnerability affects your stack