Deposit to Zero/Contract Address Leads To Indefinitely Lock the Rewards #34
Labels
bug
Something isn't working
disagree with severity
Sponsor confirms validity, but disagrees with warden’s risk assessment (sponsor explain in comments)
invalid
This doesn't seem right
sponsor confirmed
Sponsor agrees this is a problem and intends to fix it (OK to use w/ "disagree with severity")
Lines of code
https://github.com/code-423n4/2022-03-biconomy/blob/main/contracts/hyphen/LiquidityFarming.sol#L156
Vulnerability details
Impact
During the code review, It has been observed that, on the NFT staking user can define "to" address with zero/contract address. When the user interface,
Proof of Concept
https://github.com/code-423n4/2022-03-biconomy/blob/main/contracts/hyphen/LiquidityFarming.sol#L156
Scenario
Tools Used
None
Recommended Mitigation Steps
Consider to address validation in the related parameter.
The text was updated successfully, but these errors were encountered: