30613 - [SC - Medium] malicious user can front run any call to the sw...
Description
Brief/Intro
Vulnerability Details
function swapReward(address gaugeAddress, uint256 tokenIndex, address oldToken, address newToken) external {
require(msg.sender == admin, "only admin can swap reward tokens");
IBribe(bribes[gaugeAddress]).swapOutRewardToken(tokenIndex, oldToken, newToken);
}Impact Details
Recommend
Proof of Concept
Previous30598 - [SC - Low] Access Control Flaw in _burn Function Leads to ...Next30634 - [SC - Critical] Unauthorized minting of unlimited FLUX in tran...
Last updated
Was this helpful?