You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
multiple orders in the same block can be weaponized to steal funds to due blocktimestamp based id generation
Summary
Critical security flaw discovered in Oku Protocol's order management system where deterministic order ID generation based on timestamps enables order ID collisions and potential fund manipulation.
Root Cause
ID generation based on msg.sender and block
not checking for existing order values and just override it
Internal pre-conditions
Order creation system active
No order ID collision checks
Timestamp-based ID generation
Missing order tracking mechanism
External pre-conditions
Attack
User create two orders in oracleLess, one with low amounts and one with very large amounts that can be done thrugh flash loaon, then double cancel the orders since both orderIds are in the array but both of them have values of the second large order
Impact
Order ID collisions
Unauthorized fund access
Broken order tracking
Compromised accounting system
The text was updated successfully, but these errors were encountered:
Lively Pecan Griffin
High
multiple orders in the same block can be weaponized to steal funds to due blocktimestamp based id generation
Summary
Critical security flaw discovered in Oku Protocol's order management system where deterministic order ID generation based on timestamps enables order ID collisions and potential fund manipulation.
Root Cause
ID generation based on msg.sender and block
not checking for existing order values and just override it
Internal pre-conditions
External pre-conditions
Attack
User create two orders in oracleLess, one with low amounts and one with very large amounts that can be done thrugh flash loaon, then double cancel the orders since both orderIds are in the array but both of them have values of the second large order
Impact
The text was updated successfully, but these errors were encountered: