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.
Advisories
Source ID Title
EUVD EUVD EUVD-2018-4039 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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-05T08:24:03.573Z

Reserved: 2018-06-08T00:00:00

Link: CVE-2018-12056

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2018-08-15T17:29:00.610

Modified: 2024-11-21T03:44:30.643

Link: CVE-2018-12056

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses