7.5
HIGH
CVE-2018-10299
Beauty Ecosystem Coin (BEC) Integer Overflow Vulnerability
Description

An integer overflow in the batchTransfer function of a smart contract implementation for Beauty Ecosystem Coin (BEC), the Ethereum ERC20 token used in the Beauty Chain economic system, allows attackers to accomplish an unauthorized increase of digital assets by providing two _receivers arguments in conjunction with a large _value argument, as exploited in the wild in April 2018, aka the "batchOverflow" issue.

INFO

Published Date :

April 23, 2018, 4:29 a.m.

Last Modified :

Aug. 29, 2018, 3:40 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
Public PoC/Exploit Available at Github

CVE-2018-10299 has a 12 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2018-10299 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Beauty beauty_ecosystem_coin
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2018-10299.

URL Resource
https://dasp.co/#item-3 Exploit Third Party Advisory
https://medium.com/secbit-media/a-disastrous-vulnerability-found-in-smart-contracts-of-beautychain-bec-dbf24ddbc30e Exploit Third Party Advisory
https://peckshield.com/2018/04/22/batchOverflow/ Exploit Third Party Advisory
https://support.okex.com/hc/en-us/articles/360002944212-BeautyChain-BEC-Withdrawal-and-Trading-Suspended Third Party Advisory
https://twitter.com/OKEx_/status/987967343983714304 Third Party Advisory
https://www.reddit.com/r/ethereum/comments/8esyg9/okex_erc20_bug/ Issue Tracking Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Solidity Makefile

Updated: 1 month, 4 weeks ago
0 stars 0 fork 0 watcher
Born at : May 5, 2024, 8:04 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 2 months, 3 weeks ago
1 stars 0 fork 0 watcher
Born at : Jan. 16, 2024, 4:07 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year ago
0 stars 0 fork 0 watcher
Born at : Aug. 26, 2023, 12:11 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year, 4 months ago
0 stars 0 fork 0 watcher
Born at : May 3, 2023, 2:04 p.m. This repo has been linked 1 different CVEs too.

Vulnerable Code Clone Detection for Solidity

Python Solidity

Updated: 1 year, 6 months ago
1 stars 0 fork 0 watcher
Born at : July 21, 2022, 11:33 a.m. This repo has been linked 1 different CVEs too.

None

Solidity JavaScript

Updated: 2 years, 6 months ago
0 stars 1 fork 1 watcher
Born at : March 7, 2022, 4:54 p.m. This repo has been linked 1 different CVEs too.

Solidity Security

solidity evilreflex attack-contract

Updated: 1 month, 1 week ago
4 stars 4 fork 4 watcher
Born at : March 3, 2021, 1:40 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 year, 1 month ago
17 stars 10 fork 10 watcher
Born at : Jan. 2, 2021, 10:19 p.m. This repo has been linked 1050 different CVEs too.

None

Updated: 1 month, 1 week ago
82 stars 32 fork 32 watcher
Born at : Oct. 2, 2020, 2:49 p.m. This repo has been linked 1111 different CVEs too.

Comprehensive list of known attack vectors and common anti-patterns

Updated: 2 weeks, 5 days ago
1375 stars 201 fork 201 watcher
Born at : May 30, 2018, 3:36 p.m. This repo has been linked 1 different CVEs too.

A fix for the batchOverflow bug https://medium.com/@peckshield/alert-new-batchoverflow-bug-in-multiple-erc20-smart-contracts-cve-2018-10299-511067db6536

JavaScript

Updated: 6 years, 2 months ago
0 stars 0 fork 0 watcher
Born at : May 11, 2018, 12:23 p.m. This repo has been linked 1 different CVEs too.

A repo with information about security of Ethereum Smart Contracts

Updated: 3 years, 9 months ago
0 stars 1 fork 1 watcher
Born at : April 28, 2018, 2:18 a.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2018-10299 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2018-10299 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Reanalysis by [email protected]

    Aug. 29, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:beauty:beauty_ecosystem_coin:-:*:*:*:*:*:*:* *cpe:2.3:a:ethereum_project:ethereum:-:*:*:*:*:*:*:* OR *cpe:2.3:a:beauty:beauty_ecosystem_coin:-:*:*:*:*:*:*:*
  • Initial Analysis by [email protected]

    Jun. 05, 2018

    Action Type Old Value New Value
    Added CVSS V2 (AV:N/AC:L/Au:N/C:N/I:P/A:N)
    Added CVSS V3 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
    Changed Reference Type https://www.reddit.com/r/ethereum/comments/8esyg9/okex_erc20_bug/ No Types Assigned https://www.reddit.com/r/ethereum/comments/8esyg9/okex_erc20_bug/ Issue Tracking, Third Party Advisory
    Changed Reference Type https://support.okex.com/hc/en-us/articles/360002944212-BeautyChain-BEC-Withdrawal-and-Trading-Suspended No Types Assigned https://support.okex.com/hc/en-us/articles/360002944212-BeautyChain-BEC-Withdrawal-and-Trading-Suspended Third Party Advisory
    Changed Reference Type https://twitter.com/OKEx_/status/987967343983714304 No Types Assigned https://twitter.com/OKEx_/status/987967343983714304 Third Party Advisory
    Changed Reference Type https://dasp.co/#item-3 No Types Assigned https://dasp.co/#item-3 Exploit, Third Party Advisory
    Changed Reference Type https://medium.com/secbit-media/a-disastrous-vulnerability-found-in-smart-contracts-of-beautychain-bec-dbf24ddbc30e No Types Assigned https://medium.com/secbit-media/a-disastrous-vulnerability-found-in-smart-contracts-of-beautychain-bec-dbf24ddbc30e Exploit, Third Party Advisory
    Changed Reference Type https://peckshield.com/2018/04/22/batchOverflow/ No Types Assigned https://peckshield.com/2018/04/22/batchOverflow/ Exploit, Third Party Advisory
    Added CWE CWE-190
    Added CPE Configuration OR *cpe:2.3:a:beauty:beauty_ecosystem_coin:-:*:*:*:*:*:*:* *cpe:2.3:a:ethereum_project:ethereum:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Apr. 28, 2018

    Action Type Old Value New Value
    Changed Description An integer overflow in the batchTransfer function of a smart contract implementation for Beauty Ecosystem Coin (BEC), the Ethereum ERC20 token used in the Beauty Chain economic system, allows attackers to accomplish an unauthorized increase of digital assets by providing two _receivers arguments in conjunction with a large _value argument, as exploited in the wild in April 2018, aka the "batchOverflow" issue. NOTE: the OKEx exchange suspended BEC trading as of 2018-04-22; however, the integer overflow in this codebase can still be exploited through transactions involving other exchanges and/or other tokens. An integer overflow in the batchTransfer function of a smart contract implementation for Beauty Ecosystem Coin (BEC), the Ethereum ERC20 token used in the Beauty Chain economic system, allows attackers to accomplish an unauthorized increase of digital assets by providing two _receivers arguments in conjunction with a large _value argument, as exploited in the wild in April 2018, aka the "batchOverflow" issue.
    Added Reference https://www.reddit.com/r/ethereum/comments/8esyg9/okex_erc20_bug/ [No Types Assigned]
    Added Reference https://medium.com/secbit-media/a-disastrous-vulnerability-found-in-smart-contracts-of-beautychain-bec-dbf24ddbc30e [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2018-10299 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2018-10299 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.74 }} 0.46%

score

0.80420

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability