PT-2018-14242 · Ethereum · Greedy 599
Published
2018-10-23
·
Updated
2018-12-08
·
CVE-2018-17877
CVSS v2.0
5.0
Medium
| Vector | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Greedy 599 (affected versions not specified)
Description
The issue concerns a lottery smart contract implementation for Greedy 599, an Ethereum gambling game. It generates a random value that can be predicted through an external contract call. An attacker can bypass the protection mechanism, which uses the extcodesize() function, by embedding the core code in the constructor of their exploit contract. This allows attackers to consistently win and receive rewards.
Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Greedy 599