highLogic errorEVM-Solidity
Oku's New Order Types Contract: stopLimit Id collision with bracket orders due to no validation, opening up an attack to steal funds
- Payout
- $0
- Protocol
- Oku's New Order Types Contract
- Disclosed
- Dec 9, 2024
- Source
- sherlock
Oku's parallel order creation between StopLimit.sol and Bracket.sol can collide on orderId because generateOrderId hashes only block.number and the user address, adding no contract-specific entropy. By creating a Bracket order and a StopLimit order for the sam …
Similar reports
- No close matches yet.
References
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.