Vulnerability in 1000guess 1000 Guess
CVE-2018-12454
The _addguess function of a simplelottery smart contract implementation for 1000 Guess, an Ethereum gambling game, generates a random value with publicly readable variables such as the current block information and a private variable (which can be read with a getStorageAt call). Therefore, it allows attackers to always win and get rewards.
EPSS: 0.013 (66.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- 1000guess 1000_guess
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (x_refsource_MISC)
Frequently asked questions
- What is CVE-2018-12454?
- CVE-2018-12454 is a high-severity vulnerability in 1000guess 1000 Guess, classified under Use of Cryptographically Weak Pseudo-Random Number Generator (PRNG). CVSS score: 7.5/10. Published 2018-06-17.
- How severe is CVE-2018-12454?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2018-12454 known to be exploited?
- 5 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.