highLogic errorEVM-Solidity
Munchables: Invalid validation in `_farmPlots` function allowing a malicious user repeated farming without locked funds
- Payout
- $0
- Protocol
- Munchables
- Disclosed
- Aug 16, 2024
- Source
- code4rena
Munchables' LandManager `_farmPlots` invalidation logic contains an off-by-one comparison error. The check `_getNumPlots(landlord) < _toiler.plotId` fails to flag a toiler farming on plot index 0 once the landlord unlocks all funds and the plot count drops to …
Similar reports
- No close matches yet.
References
- https://github.com/code-423n4/2024-07-munchables-findings/issues/87
- https://github.com/code-423n4/2024-07-munchables-findings
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.