Closed github-actions[bot] closed 1 year ago
Mukund
medium
judgeExpired
Modifier judgeExpired check for deadline parameter which is uint256 and its user controlled a malicious user can pass a random deadline value which passes the check and bypass it. User can call function even after its expired. https://github.com/sherlock-audit/2022-11-dodo/blob/main/contracts/SmartRoute/DODORouteProxy.sol#L91 https://github.com/sherlock-audit/2022-11-dodo/blob/main/contracts/SmartRoute/DODORouteProxy.sol#L174 https://github.com/sherlock-audit/2022-11-dodo/blob/main/contracts/SmartRoute/DODORouteProxy.sol#L250
Mukund
medium
MODIFIER
judgeExpired
CAN BE BYPASSEDModifier judgeExpired check for deadline parameter which is uint256 and its user controlled a malicious user can pass a random deadline value which passes the check and bypass it. User can call function even after its expired. https://github.com/sherlock-audit/2022-11-dodo/blob/main/contracts/SmartRoute/DODORouteProxy.sol#L91 https://github.com/sherlock-audit/2022-11-dodo/blob/main/contracts/SmartRoute/DODORouteProxy.sol#L174 https://github.com/sherlock-audit/2022-11-dodo/blob/main/contracts/SmartRoute/DODORouteProxy.sol#L250