CVE-2018-12056 Business logic in n/a
Attackers can predict random values in the All For One gambling game to always win rewards due to insecure randomness implementation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2018-12056?
CVE-2018-12056 is a high-severity vulnerability in n/a, published on 15 Aug 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-338
Which versions are affected by CVE-2018-12056?
It affects 1 product.
Products include All-for-One All for One.
How do I fix CVE-2018-12056?
No fix has been published for CVE-2018-12056 yet. Limit exposure of the affected software until one is available.
Is CVE-2018-12056 being exploited?
There is no known exploitation of CVE-2018-12056 in the wild and no public exploit code.
Sources
Also known as GHSA-g9vx-xx6g-3r24.