mirror of
https://github.com/0xMarcio/cve.git
synced 2025-05-29 01:31:01 +00:00
21 lines
878 B
Markdown
21 lines
878 B
Markdown
![]() |
### [CVE-2018-12056](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-12056)
|
||
|

|
||
|

|
||
|

|
||
|
|
||
|
### Description
|
||
|
|
||
|
The maxRandom function of a smart contract implementation for All For One, an Ethereum gambling game, generates a random value with publicly readable variables because the _seed value can be retrieved with a getStorageAt call. Therefore, it allows attackers to always win and get rewards.
|
||
|
|
||
|
### POC
|
||
|
|
||
|
#### Reference
|
||
|
No PoCs from references.
|
||
|
|
||
|
#### Github
|
||
|
- https://github.com/ARPSyndicate/cvemon
|
||
|
- https://github.com/lnick2023/nicenice
|
||
|
- https://github.com/qazbnm456/awesome-cve-poc
|
||
|
- https://github.com/xbl3/awesome-cve-poc_qazbnm456
|
||
|
|