Open hats-bug-reporter[bot] opened 1 year ago
Thank you for the submission. "WhiteHat" contract is retired so no transferownership will happen, nor will it have any impact. Event during its service, the basic trust assumption is that the administrator doesn't perform arbitrary ownership transfer.
As stated in the contest rules, contracts in "static" folders are out of scope.
Github username: @9olidity Submission hash (on-chain): 0x48ec22da6f1f0c22ac01d03e06a594cedf720012eb7ee428f33f63e859ef7f13 Severity: low
Description: Description\
ownerRescueBoosterNft
did not check whethermyHoprStake.owner()
is qualifiedAttack Scenario\
The
reclaimErc721Tokens()
function will send nft to theowner
ofmyHoprStake
contract. Generally, theowner
is the currentHoprWhitehat
contract address, but here the administrator can modify theowner
address ofmyHoprStake
contract throughtransferBackOwnership()
. IfmyHoprStake::owner
is notaddress (this)
, then nft cannot be transferred. , this function failed to executeAttachments
The administrator executes the transferBackOwnership function to modify the myHoprStake contract owner address.
gimmeToken()
function