Show plain JSON{"id": "CVE-2018-17071", "metrics": {"cvssMetricV2": [{"type": "Primary", "source": "nvd@nist.gov", "cvssData": {"version": "2.0", "baseScore": 5.0, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "authentication": "NONE", "integrityImpact": "NONE", "accessComplexity": "LOW", "availabilityImpact": "NONE", "confidentialityImpact": "PARTIAL"}, "acInsufInfo": false, "impactScore": 2.9, "baseSeverity": "MEDIUM", "obtainAllPrivilege": false, "exploitabilityScore": 10.0, "obtainUserPrivilege": false, "obtainOtherPrivilege": false, "userInteractionRequired": false}], "cvssMetricV30": [{"type": "Primary", "source": "nvd@nist.gov", "cvssData": {"scope": "UNCHANGED", "version": "3.0", "baseScore": 7.5, "attackVector": "NETWORK", "baseSeverity": "HIGH", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "integrityImpact": "NONE", "userInteraction": "NONE", "attackComplexity": "LOW", "availabilityImpact": "NONE", "privilegesRequired": "NONE", "confidentialityImpact": "HIGH"}, "impactScore": 3.6, "exploitabilityScore": 3.9}]}, "published": "2018-09-18T21:29:03.807", "references": [{"url": "https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17071", "tags": ["Exploit", "Third Party Advisory"], "source": "cve@mitre.org"}, {"url": "https://github.com/TEAM-C4B/CVE-LIST/tree/master/CVE-2018-17071", "tags": ["Exploit", "Third Party Advisory"], "source": "af854a3a-2127-422b-91ae-364da2661108"}], "vulnStatus": "Modified", "weaknesses": [{"type": "Primary", "source": "nvd@nist.gov", "description": [{"lang": "en", "value": "CWE-338"}]}], "descriptions": [{"lang": "en", "value": "The fallback function of a simple lottery smart contract implementation for Lucky9io, an Ethereum gambling game, generates a random value with the publicly readable variable entry_number. This variable is private, yet it is readable by eth.getStorageAt function. Also, attackers can purchase a ticket at a low price by directly calling the fallback function with small msg.value, because the developer set the currency unit incorrectly. Therefore, it allows attackers to always win and get rewards."}, {"lang": "es", "value": "La funci\u00f3n fallback de una simple implementaci\u00f3n de contrato inteligente de loter\u00eda para Lucky9io, un juego de apuestas de Ethereum, genera un valor aleatorio con la variable legible p\u00fablicamente entry_number. Este valor es privado, aunque puede ser le\u00eddo por la funci\u00f3n eth.getStorageAt. Adem\u00e1s, los atacantes pueden comprar un ticket a bajo precio llamando directamente a la funci\u00f3n fallback con un msg.value peque\u00f1o. Esto se debe a que el desarrollador ha establecido la divisa incorrectamente. Por lo tanto, permite que los atacantes ganen siempre y obtengan recompensas."}], "lastModified": "2024-11-21T03:53:49.540", "configurations": [{"nodes": [{"negate": false, "cpeMatch": [{"criteria": "cpe:2.3:a:lucky9:lucky9io:-:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "A90B2110-2E27-4E5F-B298-6A62FE97F3E1"}], "operator": "OR"}]}], "sourceIdentifier": "cve@mitre.org"}