CVE-2018-14088

9.8 CRITICAL

📋 TL;DR

This CVE describes an integer overflow vulnerability in the STeX White List (STE(WL)) Ethereum token smart contract. When the contract owner sets a large 'amount' value, the calculation 'amount * 1000000000000000' in the withdrawToFounders() function overflows, potentially allowing unauthorized token transfers. This affects anyone holding or interacting with the STE(WL) token on the Ethereum blockchain.

💻 Affected Systems

Products:
  • STeX White List (STE(WL)) Ethereum token smart contract
Versions: All vulnerable versions of the contract
Operating Systems: N/A - Smart contract vulnerability
Default Config Vulnerable: ⚠️ Yes
Notes: This is a smart contract vulnerability on the Ethereum blockchain, not a traditional software vulnerability. The vulnerability exists in the contract code itself.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Contract owner could drain all tokens from the contract, causing complete loss of funds for token holders and potentially collapsing the token's value.

🟠

Likely Case

Contract owner exploits the overflow to withdraw excessive tokens beyond intended limits, leading to significant financial losses for token holders.

🟢

If Mitigated

With proper smart contract auditing and overflow protection mechanisms, the vulnerability would be caught before deployment, preventing any exploitation.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires the contract owner role. The overflow mechanism is straightforward once the vulnerability is understood.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: N/A

Vendor Advisory: N/A

Restart Required: No

Instructions:

1. Deploy a new, fixed version of the smart contract using SafeMath libraries or overflow checks. 2. Migrate all token holders to the new contract. 3. Abandon the vulnerable contract. Note: Smart contracts are immutable once deployed, so the original contract cannot be patched.

🔧 Temporary Workarounds

Contract Migration

all

Create and deploy a new smart contract with proper integer overflow protection and migrate all token holders

N/A - Requires smart contract development and deployment

🧯 If You Can't Patch

  • Monitor the vulnerable contract for suspicious withdrawal transactions
  • Warn all token holders about the vulnerability and recommend they move funds to a secure wallet

🔍 How to Verify

Check if Vulnerable:

Review the smart contract source code for the withdrawToFounders() function and check for overflow protection in multiplication operations

Check Version:

Check the contract address on Etherscan or similar blockchain explorer to verify deployment of the fixed contract

Verify Fix Applied:

Audit the new contract code to ensure SafeMath libraries or explicit overflow checks are implemented in all arithmetic operations

📡 Detection & Monitoring

Log Indicators:

  • Unusually large withdrawal transactions from the contract
  • Multiple withdrawal transactions in quick succession

Network Indicators:

  • Monitoring Ethereum blockchain for transactions to/from the vulnerable contract address

SIEM Query:

N/A - This requires blockchain transaction monitoring rather than traditional SIEM

🔗 References

📤 Share & Export