Vulnerability in Mycryptochamp

CVE-2018-12885

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.

EPSS: 0.014 (69.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-12885?
CVE-2018-12885 is a medium-severity vulnerability in Mycryptochamp, classified under Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG). CVSS score: 5.9/10. Published 2018-08-07.
How severe is CVE-2018-12885?
Medium severity. CVSS v3 base score is 5.9 out of 10.
Is CVE-2018-12885 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.