{"id":"CVE-2018-12885","sourceIdentifier":"cve@mitre.org","published":"2018-08-07T15:29:00.733","lastModified":"2026-06-17T01:38:30.067","vulnStatus":"Modified","cveTags":[],"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ón randMod() de una implementación de contrato inteligente de MyCryptoChamp, un juego de Ethereum, genera un valor aleatorio con variables legibles globalmente como la información 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."}],"affected":[{"source":"cve@mitre.org","affectedData":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]}],"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","baseScore":5.9,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE"},"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","baseScore":4.3,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"NONE","availabilityImpact":"NONE"},"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"]},{"url":"https://etherscan.io/address/0x689FB61845488297dfE7586E5f7956475955d2Dc","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]},{"url":"https://etherscan.io/address/0xa44e464b13280340904ffef0a65b8a0033460430","source":"af854a3a-2127-422b-91ae-364da2661108","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":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]}]}