Submitted by GreyArt
NestedFactory.sol#L71
NestedFactory.sol#L286-L296
NestedFactory.sol#L370-L375
NestedFactory.sol#L482-L492
Should a user accidentally send ETH to the NestedFactory, anyone can utilise it to their own benefit by calling processOutputOrders() / processInputAndOutputOrders(). This is possible because:
Hence, the attack vector is simple. Should a user accidentally send ETH to the contract, create an output Order with token being ETH and amount corresponding to the NestedFactorys ETH balance.
maximebrugel (Nested Finance) confirmed and resolved:
