57482 sc critical front running a donation can inflate the share causing users to lose funds
Description
Brief / Intro
Vulnerability Details
function _deposit(address by, address to, uint256 assets, uint256 shares) internal override {
super._deposit(by, to, assets, shares); <@
// lock freshly minted shares
stakes[to].push(Stake({shares: shares, timestamp: block.timestamp}));
}Impact Details
Exploit steps
Proof of Concept
References
Previous57712 sc medium receiver deployment dos via salt reuseNext57426 sc medium dynamic price signature replay allows unlimited minting at historical prices
Was this helpful?