SecurityContext

CVE-2018-13207: PornCoin - Integer Overflow

  • Cve: CVE-2018-13207
  • Name: PornCoin - Integer Overflow
  • Description: The sell function of a smart contract implementation for PornCoin (PRNC), an Ethereum token, has an integer overflow in which "amount * sellPrice" can be zero, consequently reducing a seller's assets.
  • Impact: Attackers can manipulate sell transactions to reduce seller assets, leading to financial loss for users.
  • Remediation: Implement safe arithmetic operations to prevent overflow, and update to the latest contract version with overflow protections.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: data_tampering
  • Requirement type: none
  • 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.00972
  • Epss percentile: 0.62868
  • Assignee: [email protected]
  • Published at: 2018-07-05T02:29:02Z
  • Age in days: 3064
  • Modified at: 2026-06-17T01:39:02Z
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-13207
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-190Integer Overflow or Wraparound

References

UrlSourceTags
https://github.com/BlockChainsSecurity/EtherTokens/blob/master/ETHEREUMBLACK/sell%20integer%20overflow.mdnvdThird Party Advisory
https://github.com/BlockChainsSecurity/EtherTokens/tree/master/PornCoinnvdThird Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
porn-coin:porncoinall versionsnonvd/v1/products/porn-coin/porncoin

Index

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

Exploitation

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