Vulnerability in All-For-One All For One

CVE-2018-12056

The maxRandom function of a smart contract implementation for All For One, an Ethereum gambling game, generates a random value with publicly readable variables because the _seed value can be retrieved with a getStorageAt call. Therefore, it allows attackers to always win and get rewards.

EPSS: 0.017 (74.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/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-12056?
CVE-2018-12056 is a high-severity vulnerability in All-For-One All For One, classified under Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG). CVSS score: 7.5/10. Published 2018-08-15.
How severe is CVE-2018-12056?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2018-12056 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.