The buyLoan function doesn't verify if the msg.sender is the lender for poolId, enabling anyone to use another person's pool for loan purchases.
To buy an auction refinancing, the user must have a pool with tokens. However, the buyLoan function does not check if the msg.sender is the lender for poolId. This makes it possible for anyone to use someone else's pool to buy the loan.
The user can use other pool to buy the loan
Manual Review
It is recommended to check if the poolId
is from msg.sender
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.