CVE-2018-12454
Summary
| CVE | CVE-2018-12454 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2018-06-17 12:29:00 UTC |
| Updated | 2023-11-07 02:52:00 UTC |
| Description | 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. |
Risk And Classification
Problem Types: CWE-338
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | 1000guess | 1000 Guess | - | All | All | All |
| Application | 1000guess | 1000 Guess | - | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Attack on Pseudo-random number generator (PRNG) used in 1000 Guess, an Ethereum lottery game (CVE-2018–12454) | by Jonghyuk Song | Coinmonks | Medium | medium.com | ||
| Attack on Pseudo-random number generator (PRNG) used in 1000 Guess, an Ethereum lottery game (CVE-2018–12454) | by Jonghyuk Song | Coinmonks | Medium | MISC | medium.com | Exploit, Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.