Skip to content

Code4rena

Ondo Finance

Every publicly disclosed report for Ondo Finance and what kind of bugs they were.

disclosed reports
10
most reported class
Business logic
bug classes found
2
first disclosure
2023
Find Ondo Finance on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Ondo Finance chose to make public.

Business logic

All bridged funds will be lost for the users using the account abstraction wallet

The bridge contract uses the sender's address on the source chain as the recipient address on the destination chain, assuming the same address exists there. Users of account abstraction wallets, whose addresses differ across chains, would have their bridged funds minted to an address they do not control, causing permanent loss.

Ondo Finance

Medium
Business logic

Chain support cannot be removed or cleared in bridge contracts

The bridge contracts store chain support as strings or hashes, so setting the address to zero does not clear the support. An attacker could not directly exploit this, but the owner cannot remove chain support, potentially causing tokens to be burned without being minted on the destination.

Ondo Finance

Medium
Business logic

CashManager.setEpochDuration functions has inconsistent output

The setEpochDuration function updates the epoch duration without first transitioning the current epoch, so the outcome depends on whether an external agent front-runs or back-runs the transaction. This can change the recorded duration and epoch number of recent epochs.

Ondo Finance

Medium
Smart contracts

KYCRegistry is susceptible to signature replay attack.

The KYCRegistry contract's addKYCAddressViaSignature function does not prevent replaying a signature after KYC status has been revoked, allowing a user to regain KYC status until the signature's deadline. An attacker could re-submit the original signature to bypass revocation and move funds in or out of the protocol.

Ondo Finance

Medium
Business logic

Admin should be able to refund or redeem the sanctioned users

The report claims that sanctioned or unverified users' funds become permanently locked because the admin function for completing redemptions also enforces KYC checks on the recipients. An attacker cannot exploit this; it is a design flaw that could trap user funds.

Ondo Finance

Medium
Smart contracts

First Deposit Bug

The first depositor of a new CToken market can mint a tiny amount and then donate underlying tokens directly to the contract, inflating the exchange rate so that later depositors receive zero CTokens. The attacker can then redeem their single CToken for the entire balance, stealing all subsequent deposits.

Ondo Finance

Medium
Business logic

Loss of user funds when completing CASH redemptions

The completeRedemptions function calculates the amount of collateral each redeemer receives using the total burned CASH minus refunds, but it does not update the stored totalBurned after a refund. If redemptions and refunds are processed in separate calls, later redemptions receive less collateral than they should, causing a loss of funds for users.

Ondo Finance

High
Business logic

setPendingRedemptionBalance() may cause the user’s cash token to be lost

The setPendingRedemptionBalance function allows an admin to overwrite a user's pending redemption balance without checking the previous value. If a user increases their balance via requestRedemption before the admin's adjustment, the admin's call can overwrite the user's added amount, causing the user to lose cash tokens.

Ondo Finance

Medium