{ "id": "CVE-2018-12885", "sourceIdentifier": "cve@mitre.org", "published": "2018-08-07T15:29:00.733", "lastModified": "2018-10-18T14:40:50.460", "vulnStatus": "Analyzed", "descriptions": [ { "lang": "en", "value": "The randMod() function of the smart contract implementation for MyCryptoChamp, an Ethereum 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, attackers can get powerful champs/items and get rewards." }, { "lang": "es", "value": "La funci\u00f3n randMod() de una implementaci\u00f3n de contrato inteligente de MyCryptoChamp, un juego de Ethereum, genera un valor aleatorio con variables legibles globalmente como la informaci\u00f3n de bloque actual y una variable privada (que se puede leer con una llamada getStorageAt). Por lo tanto, los atacantes pueden obtener champs/objetos poderosos y obtener recompensas." } ], "metrics": { "cvssMetricV30": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "3.0", "vectorString": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N", "attackVector": "NETWORK", "attackComplexity": "HIGH", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 5.9, "baseSeverity": "MEDIUM" }, "exploitabilityScore": 2.2, "impactScore": 3.6 } ], "cvssMetricV2": [ { "source": "nvd@nist.gov", "type": "Primary", "cvssData": { "version": "2.0", "vectorString": "AV:N/AC:M/Au:N/C:P/I:N/A:N", "accessVector": "NETWORK", "accessComplexity": "MEDIUM", "authentication": "NONE", "confidentialityImpact": "PARTIAL", "integrityImpact": "NONE", "availabilityImpact": "NONE", "baseScore": 4.3 }, "baseSeverity": "MEDIUM", "exploitabilityScore": 8.6, "impactScore": 2.9, "acInsufInfo": false, "obtainAllPrivilege": false, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false } ] }, "weaknesses": [ { "source": "nvd@nist.gov", "type": "Primary", "description": [ { "lang": "en", "value": "CWE-338" } ] } ], "configurations": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:a:mycryptochamp:mycryptochamp:-:*:*:*:*:*:*:*", "matchCriteriaId": "DAD14618-E5CC-4A83-961E-E738CD498724" } ] } ] } ], "references": [ { "url": "https://etherscan.io/address/0x689FB61845488297dfE7586E5f7956475955d2Dc", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] }, { "url": "https://etherscan.io/address/0xa44e464b13280340904ffef0a65b8a0033460430", "source": "cve@mitre.org", "tags": [ "Third Party Advisory" ] }, { "url": "https://medium.com/coinmonks/get-legendary-items-by-breaking-pnrg-of-mycyptochamp-an-ethereum-online-game-cve-2018-12855-6e6beb41b8df", "source": "cve@mitre.org", "tags": [ "Exploit", "Third Party Advisory" ] } ] }