Aurora IDEX Membership(IDXM), ERC20... CVE-2018–10666

- AV AC AU C I A
发布: 2025-04-13
修订: 2025-04-13

### Abstract I found a new vulnerability in smart contract of IDXM Token (CVE-2018–10666)[1]. Attackers can acquire contract ownership because the setOwner function is delcared as public. A new owner can subsequently bypass intended access restrictions by, for example, calling uploadBalances. ### Details In the following, I will explain more details about the vulnerability. Figure 1 shows the vulnerable setOnwer() function [2]. ![](https://images.seebug.org/1531106794677-w331s) Figure 1. setOwner() function is delcared as public In Solidity, there are four types of visibilities for functions: external, public, internal or private, where the default is public [3]. setOwner() function is declared without any visibility, so it is declared as public. It means that anybody can call it and change owner variable. So, an attacker can change the owner variable to his account address. ### What can attackers do? There are important functions that should be called by only owner, such as...

0%
暂无可用Exp或PoC
当前有0条受影响产品信息