CVE-2018-17877

UnknownEPSS 1.64%

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

EPSS Probability
1.64%

73.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
Greedy599Greedy 599All versions

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2018-17877?
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.
How severe is CVE-2018-17877?
Severity scoring for CVE-2018-17877 is pending analysis. The EPSS model estimates a 1.64% probability of exploitation in the next 30 days.
How do I fix CVE-2018-17877?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2018-17877?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST