53051 sc high unconsented stakeonbehalf enables third party gas griefing dos by bloating uservalidators breaking withdraw claimall
Description
Vulnerability Details
// StakingFacet.sol (L428)
function stakeOnBehalf(uint16 validatorId, address staker) external payable returns (uint256) {
...
_performStakeSetup(staker, validatorId, msg.value); // no consent check
}Impact Details
Proof of Concept
Previous53056 sc low native withdraw to msg sender only non payable contract stakers cannot withdraw permanent funds lock Next53048 sc medium approval logic can break on non standard erc 20s usdt style and leave allowances loose
Was this helpful?