CVEvulnerability
CVE-2018-18425
6.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2019-06-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 6.5 MEDIUM — CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 4.0 MEDIUM — AV:N/AC:L/Au:S/C:N/I:P/A:N
- Weaknesses
- CWE-330
Description
The doAirdrop function of a smart contract implementation for Primeo (PEO), an Ethereum token, does not check the numerical relationship between the amount of the air drop and the token's total supply, which lets the owner of the contract issue an arbitrary amount of currency. (Increasing the total supply by using 'doAirdrop' ignores the hard cap written in the contract and devalues the token.)
Affected configurations
• primeo project primeo
Related
Weakness · CWE (1)
- CWE-330 Use of Insufficiently Random Values weakness
References
- https://etherscan.io/address/0x21a8a03b34e053f9b1d4545213d9d1d411a9d449#code Third Party Advisory
- https://www.jianshu.com/p/09f238e9e568 Exploit, Patch, Third Party Advisory
- https://etherscan.io/address/0x21a8a03b34e053f9b1d4545213d9d1d411a9d449#code Third Party Advisory
- https://www.jianshu.com/p/09f238e9e568 Exploit, Patch, Third Party Advisory