{"id":"CVE-2018-17987","sourceIdentifier":"cve@mitre.org","published":"2018-12-26T21:29:00.997","lastModified":"2026-06-17T01:46:39.210","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"The determineWinner function of a smart contract implementation for HashHeroes Tiles, an Ethereum game, uses a certain blockhash value in an attempt to generate a random number for the case where NUM_TILES equals the number of people who purchased a tile, which allows an attacker to control the awarding of the prize by being the last person to purchase a tile."},{"lang":"es","value":"La función determineWinner de una implementación de contrato inteligente para HashHeroes Tiles, un juego de Ethereum, emplea cierto valor blockhash para intentar generar un número aleatorio para el caso en el que NUM_TILES equivale al número de personas que han adquirido un \"tile\". Esto permite que un atacante controle a quién se le entregará el premio, siendo la última persona en adquirir un \"tile\"."}],"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:L/PR:N/UI:N/S:U/C:N/I:H/A:N","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":3.9,"impactScore":3.6}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:N/I:P/A:N","baseScore":5.0,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":10.0,"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-330"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:hashheroes:hashheroes:-:*:*:*:*:*:*:*","matchCriteriaId":"A719E3D4-42EC-4578-AAB2-2C3A3DD7EDE8"}]}]}],"references":[{"url":"https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17987","source":"cve@mitre.org","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17987","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]}]}