admin can anytime change address to which withdrawal funds are sent. #177
Labels
bug
Something isn't working
QA (Quality Assurance)
Assets are not at risk. State handling, function incorrect as to spec, issues with clarity, syntax
sponsor acknowledged
Technically the issue is correct, but we're not going to resolve it for XYZ reasons
Lines of code
https://github.com/code-423n4/2022-05-rubicon/blob/8c312a63a91193c6a192a9aab44ff980fbfd7741/contracts/rubiconPools/BathHouse.sol#L327
https://github.com/code-423n4/2022-05-rubicon/blob/8c312a63a91193c6a192a9aab44ff980fbfd7741/contracts/rubiconPools/BathToken.sol#L265
Vulnerability details
In the setFeeTo function in BathToken, admin can change the address to which the withdrawal fees are sent. There is no timelock or multisig involved in the process. Which makes it easy for a sneaky admin to steal the funds behind everyone's back.
The text was updated successfully, but these errors were encountered: