SecurityContext

CVE-2018-18666: SwftCoin - Integer Overflow

  • Cve: CVE-2018-18666
  • Name: SwftCoin - Integer Overflow
  • Description: The mintToken function of SwftCoin (SWFTC) aka SwftCoin, 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.
  • Impact: Attackers with owner privileges can arbitrarily set user balances, potentially leading to financial manipulation or token inflation.
  • Remediation: Implement safe math operations and update to the latest contract version with overflow protections.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: data_tampering
  • Requirement type: admin_privileges
  • Requirements: Attacker must be the contract owner
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.01424
  • Epss percentile: 0.73611
  • Assignee: [email protected]
  • Published at: 2018-12-28T17:29:00Z
  • Age in days: 2888
  • Modified at: 2026-06-17T01:47:40Z
  • Public exploits total: 2
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-18666
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

Public exploits

UrlSourceAdded date
https://github.com/SwftCoins/SwftCoin/issues/1nvd2018-12-28
https://github.com/n0pn0pn0p/smart_contract_-vulnerability/blob/master/PolyAi.mdnvd2018-12-28

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/SwftCoins/SwftCoin/issues/1Exploit, Third Party Advisory
https://github.com/n0pn0pn0p/smart_contract_-vulnerability/blob/master/PolyAi.mdExploit, Third Party Advisory
https://etherscan.io/address/0x0bb217e40f8a5cb79adf04e1aab60e5abd0dfc1e#codeThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
swft:swftcoinall versionsnonvd/v1/products/swft/swftcoin

Projects

RepositoryLink kindsIndexedUrl
swftcoins/swftcoinissuesyes/v1/repositories/swftcoins/swftcoin

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2018-12-28
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts