CVEvulnerability
CVE-2018-14089
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2018-07-16
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 7.5 HIGH — CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- CVSS 2.0 ([email protected])
- 5.0 MEDIUM — AV:N/AC:L/Au:N/C:N/I:P/A:N
- Weaknesses
- CWE-20
Description
An issue was discovered in a smart contract implementation for Virgo_ZodiacToken, an Ethereum token. In this contract, 'bool sufficientAllowance = allowance <= _value' will cause an arbitrary transfer in the function transferFrom because '<=' is used instead of '>=' (which was intended). An attacker can transfer from any address to his address, and does not need to meet the 'allowance > value' condition.
Affected configurations
• virgo zodiactoken project virgo zodiactoken
Related
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://github.com/hellowuzekai/blockchains/blob/master/transferFrom.md Exploit, Third Party Advisory
- https://github.com/hellowuzekai/blockchains/blob/master/transferFrom.md Exploit, Third Party Advisory