Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
7.5

CVE-2018-13740: OneChain token lets owner set any user balance

CVE-2018-13740 · published 8 years ago
Summary

The OneChain smart‑contract code that creates new tokens contains a calculation error that can be abused by the contract owner to assign any amount of tokens to any account. This could let the owner give themselves or others unlimited tokens, affecting the token’s value and trust. Review the contract code and apply the corrected version or disable the flawed function until it is fixed.

What to do

The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.

Affected software
VendorProductAffected versions
onechain_project onechain All versions
cpe:2.3:a:onechain_project:onechain:-:*:*:*:*:*:*:*
Original advisory text
The mintToken function of a smart contract implementation for OneChain, an Ethereum token, has an integer overflow that allows the owner of the contract to set the balance of an arbitrary user to a...
The mintToken function of a smart contract implementation for OneChain, an Ethereum token, has an integer overflow that allows the owner of the contract to set the balance of an arbitrary user to any value.
Fix within
Internet-facing 14 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically (estimated)
  • Gives an attacker partial control (estimated)
Severity
7.5 High
Exploitation
1% chance of attack within 30 days
Type
CWE-190Integer Overflow
Timeline
Published9 Jul 2018
Updated4 Nov 2026
First seen29 Sep 2026
Sources
Track software like this
Free during beta