Core Contracts

Regnum Aurum Acquisition Corp
HardhatReal World AssetsNFT
77,280 USDC
View results
Submission Details
Severity: high
Valid

Liquidated RAACNFTs are stuck in StabilityPool

Summary

When users are liquidated, their collateral, in the form of a RAACNFT will be transferred from the LendingPool to the StabilityPool.

However, the StabilityPool does not have any functions exposed to transfer the RAACNFT to another address.

Vulnerability Details

  1. In the finalizeLiquidation() function in the LendingPool, the RAACNFTs that were used as the colateral for the user is transferred as such.

  2. Once the RAACNFTs are in the StabilityPool, there is no way for transfer them out for resale.

Impact

RAACNFTs used as collateral will be stuck in StabilityPool.

Tools Used

Manual Review

Recommendations

Expose a onlyOwner function to transfer the NFT to an address of choice.

Updates

Lead Judging Commences

inallhonesty Lead Judge 7 months ago
Submission Judgement Published
Validated
Assigned finding tags:

Liquidated RAACNFTs are sent to the StabilityPool by LendingPool::finalizeLiquidation where they get stuck

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.

Give us feedback!