Skip to content

Code4rena

AbraNFT contest

Every publicly disclosed report for AbraNFT contest and what kind of bugs they were.

disclosed reports
6
most reported class
Smart contracts
bug classes found
3
first disclosure
2022
Find AbraNFT contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what AbraNFT contest chose to make public.

Access control

Lender is able to seize the collateral by changing the loan parameters

The lender could change the loan parameters of an active loan, including setting the loan-to-value ratio to zero. This made a check in the collateral removal function always pass, allowing the lender to seize the borrower's collateral at any time.

AbraNFT contest

High
Business logic

Mistake while checking LTV to lender accepted LTV

The contract's LTV check in the lend function is reversed, so a lender who offers a lower accepted LTV than the borrower asks for will still have their loan executed at the borrower's higher LTV. This could strand the lender with a riskier loan than they intended.

AbraNFT contest

High
Smart contracts

Critical Oracle Manipulation Risk by Lender

The lender could replace the price oracle on an outstanding loan because the parameter update check did not compare the new oracle with the current one. A malicious lender could then feed a manipulated low price so the contract allowed them to seize collateral that had risen in value above the amount owed.

AbraNFT contest

High
Smart contracts

Reentrancy at _requestLoan allows requesting a loan without supplying collateral

The _requestLoan function makes an external call to the collateral contract before updating the contract's state, allowing a malicious borrower to reenter and request a loan without supplying collateral. The borrower can then remove the collateral and still have a valid loan, potentially stealing lender funds.

AbraNFT contest

Medium
Smart contracts

Avoidance of Liquidation Via Malicious Oracle

A borrower could supply a malicious oracle when requesting a loan, and the lender had no way to verify or reject it. The malicious oracle would never return a liquidating rate, allowing the borrower to avoid liquidation.

AbraNFT contest

High