CVE-2018-17877
Last modified
CVE-2018-17877 is a vulnerability of currently unknown severity. A lottery smart contract implementation for Greedy 599, an Ethereum gambling game, generates a random value that is predictable via an external contract call. The developer used the extcodesize() function to prevent a malicious contract from being called, but the attacker can bypass it by writing the core code in the constructor of their exploit code. EPSS estimates a 1.64% chance of exploitation in the next 30 days.
Description
A lottery smart contract implementation for Greedy 599, an Ethereum gambling game, generates a random value that is predictable via an external contract call. The developer used the extcodesize() function to prevent a malicious contract from being called, but the attacker can bypass it by writing the core code in the constructor of their exploit code. Therefore, it allows attackers to always win and get rewards.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Greedy599 | Greedy 599 | All versions |
References
- https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17877Exploit, Third Party Advisory
- https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17877Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-17877?
How severe is CVE-2018-17877?
How do I fix CVE-2018-17877?
Are you affected by CVE-2018-17877?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
