A gambling smart contract implementation for RuletkaIo, an Ethereum gambling game, generates a random value that is predictable by an external contract call. The developer wrote a random() function that uses a block timestamp and block hash from the Ethereum blockchain. This can be predicted by writing the same random function code in an exploit contract to determine the deadSeat value.
Advisories
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2018-9708 | A gambling smart contract implementation for RuletkaIo, an Ethereum gambling game, generates a random value that is predictable by an external contract call. The developer wrote a random() function that uses a block timestamp and block hash from the Ethereum blockchain. This can be predicted by writing the same random function code in an exploit contract to determine the deadSeat value. |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-05T11:01:14.649Z
Reserved: 2018-10-03T00:00:00.000Z
Link: CVE-2018-17968
No data.
Status : Modified
Published: 2018-10-23T21:30:53.737
Modified: 2024-11-21T03:55:18.283
Link: CVE-2018-17968
No data.
OpenCVE Enrichment
No data.
Weaknesses
EUVD