The contract's internal accounting for deposited principal tokens does not account for fee-on-transfer tokens, so the recorded amount is higher than the actual tokens received. This inflates the pool's estimated value and distorts the exchange rate, causing users to receive incorrect shares when depositing or withdrawing.
The function FlashRolloverLoan_G5::_acceptCommitment() uses an incorrect function selector when calling SmartCommitmentForwarder, causing the call to fail for LenderCommitmentGroup_Smart. This prevents loan rollovers for that commitment type.
A lender can set a loan repayment listener contract that does not implement the repayLoanCallback function, causing the try/catch in the repayment function to revert instead of catching the error. This prevents borrowers from repaying their loans, forcing default and allowing the lender to seize collateral.
The `_sendOrEscrowFunds` function uses a try/catch that, if `transferFrom` reverts, deposits tokens into the EscrowVault. For LenderCommitmentGroup (LCG), these tokens become stuck because LCG lacks a withdraw function, yet the share price still increases, making the pool insolvent.
The liquidation function sends collateral to the lender instead of the liquidator, so liquidators receive no incentive to liquidate. This can lead to missed liquidations and incorrect accounting in the lending pool.
The contract's initialize function does not call the Ownable initializer, leaving it without an owner. As a result, the owner-only pause and unpause functions cannot be invoked, so borrowing cannot be paused.
The liquidation function in the LenderCommitmentGroup contract calculates the amount due using only the principal, ignoring accrued interest. A malicious user could exploit this to avoid paying interest when liquidating a defaulted loan, shifting the loss to the lending pool.
The smart contract calculates share exchange rates and underlying values without using a safe multiplication-division function, which can overflow for tokens with very high decimals. An attacker could cause a denial of service or trap funds if the pool's total estimated value becomes large enough to overflow.
The interest rate in LenderCommitmentGroup_Smart is derived from the pool's utilization ratio, which can be manipulated by depositing principal, taking a loan at a lower rate, and then withdrawing the deposit. This allows a borrower to obtain a much better interest rate without risk, reducing yield for liquidity providers.
Teller does not transfer collateral when a bid is submitted, only checking the borrower's balance. A malicious borrower can front-run the lender's acceptance by reducing the value of a mutable NFT collateral (such as a Uniswap V3 liquidity position) to nearly zero, so the lender lends against worthless collateral.
The FlashRolloverLoan_G5 contract approves TELLER_V2 for the repay amount but TELLER_V2 may pull less, leaving a dust approval. Some ERC20 tokens like USDC revert when changing a non-zero approval to another non-zero value, so the subsequent approval to POOL fails and the flash loan is blocked.
The liquidation auction mechanism for defaulted loans can be bypassed for loans near their end date. An attacker can repay the loan to make the amount owed zero, then liquidate with a zero token difference, paying only the original amount owed instead of the auction price.
The smart contract picks the wrong Uniswap price when calculating required collateral, choosing the best rather than worst price for the borrower. An attacker could manipulate the pool price via a flash loan to borrow almost for free and steal lender funds.
The interest rate calculation for new loans did not include the amount being borrowed, so borrowers could secure a lower APR than the pool's utilisation warranted. This reduced lender profits and made the maximum APR unreachable.
The TellerV2 contract sets bid.lender to a constant when a lender claims an NFT, causing the lenderCloseLoan check to fail and preventing the original lender from closing the loan. Additionally, the NFT owner (who may have changed) receives the lending tokens, so the original lender may not get their funds back.
The `_repayLoan` function adjusts a local payment amount to the owed amount but passes the original payment struct to fund transfer, allowing overpayment. This overpayment can make `getTotalPrincipalTokensOutstandingInActiveLoans` revert, causing a permanent denial of service for borrows in `LenderCommitmentGroup_Smart`.
The loan due date calculation can produce a due date two payment cycles away instead of one when a borrower repays shortly after the accepted timestamp or after one payment cycle. A malicious borrower could exploit this to delay payments and reduce the effective interest rate.
A market owner can change the marketplace fee just before a lender accepts a bid, causing the borrower to pay more fees than expected. The issue was previously reported but not fixed in the current code.
The contract uses an ERC20 transferFrom call without checking its return value, so tokens that return false instead of reverting (like ZRX) allow an attacker to add principal without transferring tokens. The attacker receives pool shares and can later burn them to withdraw other users' principal tokens.
The smart contract multiplied the collateral amount by 1e18 when checking if it was sufficient, so borrowers could take out loans with 1e18 times less collateral than required. An attacker could drain the lender's funds by borrowing the entire principal with a tiny amount of collateral.
The utilization ratio calculation for a lending pool ignores the liquidity threshold percentage, which caps the maximum borrowable amount. This causes the interest rate to be lower than it should be, reducing profits for liquidity providers.
The smart contract function `_getPriceFromSqrtX96` multiplies a 160-bit Uniswap price value by itself without overflow protection, causing a revert for pools where the value exceeds 128 bits. This makes those pools unusable for borrowing, leading to a denial of service.
The contract assumes that ERC20 tokens' symbol() function returns a string, but the ERC20 standard makes symbol() optional and some tokens (like MKR) return bytes32 instead. This causes pool creation to revert for such tokens, preventing the protocol from supporting them.
A borrower can set a repayment listener on a bid they borrowed directly from TellerV2, causing the commitment group's repayment counters to increase without a matching lending counter. This underflows the outstanding principal calculation and can brick the commitment group contract.
The repayment calculation uses the time since the last payment rather than the payment schedule, so a borrower who paid early in the first cycle and then tries to pay in the second cycle is required to pay nearly two cycles' worth. This can block the borrower from making the expected payment and lead to liquidation.
The share price of a lending pool could be manipulated by taking a loan and defaulting it, reducing the pool's estimated value to zero. An attacker could then deposit and receive zero shares, while later burning their existing shares to withdraw all user deposits.
The burnSharesToWithdrawEarnings function burns shares before calculating the share price, which increases the share value and causes users to be overpaid. An attacker could withdraw more principal than their fair share, potentially leading to insolvency.
TF
Teller Finance
High
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.