CVE-2018-12056
HIGHAll For One - Predictable Randomness via Publicly Readable Seed
Title source: llmDescription
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.
References (2)
Core 2
Core References
Various Sources x_refsource_misc
https://medium.com/%40jonghyk.song/to-be-a-winner-of-ethereum-gambling-game-all-for-one-by-breaking-prng-1ab011163d40
Mailing List mailing-list
x_refsource_mlist
https://lists.apache.org/thread.html/a62aa2706105d68f1c02023fe24aaa3c13b4d8a1826181fed07d9682%40%3Cnotifications.zookeeper.apache.org%3E
Scores
CVSS v3
7.5
EPSS
0.0168
EPSS Percentile
73.8%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Details
CWE
CWE-338
Status
published
Products (1)
all-for-one/all_for_one
Published
Aug 15, 2018
Tracked Since
Feb 18, 2026