Skip to content
Business logic Audit finding Intermediate

User can always inflate the `totalSellReserveAmount` variable to block the auction from being ended

0x23r0 Follow with 0xDazai, 0xRaz and 32 others

Originally disclosed on Sherlock

Source: https://github.com/sherlock-audit/2024-12-plaza-finance-judging/issues/723

This issue has been acknowledged by the team but won't be fixed at this time.

Found by

0x23r0, 0xDazai, 0xRaz, 0xc0ffEE, 0xmystery, AuditorPraise, Aymen0909, Benterkii, Boy2000, Chain-sentry, ChainProof, DenTonylifer, Hurley, KiroBrejka, Nave765, Ryonen, Saurabh_Singh, Waydou, ZoA, aswinraj94, copperscrewer, elolpuer, evmboi32, farismaulana, gegul, krishnambstu, moray5554, novaman33, pashap9990, queen, rudhra1749, sl1, solidityenj0yer, t0x1c, zxriptor

Summary

User can always inflate the totalSellReserveAmount variable to block the auction from being ended. This is an extremely and cheap attack to perform because the user practically loses nothing. He can call the Auction::bid function right before the end of the auction with some enormous buyReserveAmount as input. This will brick the money flow because he can do it over and over again for every auction, resulting in unprofitable investments for the people who hold bondETH

Root Cause

totalSellReserveAmount being easily inflatable without any checks to prevent it

Internal Pre-conditions

User making a valid bid with enormous buyReserveAmount as input, right before the end of the auction

External Pre-conditions

None

Attack Path

  1. User waits until for example 1 second before the end of the auction
  2. Then he calls the bid function, making a valid bid with big buyReserveAmount input

With this the attack is already performed. After this happens and someone call the Auction::endAuction function, the auction will be in FAILED_POOL_SALE_LIMIT state because of this check:

Solidity
        } else if (
            totalSellReserveAmount >=
            (IERC20(sellReserveToken).balanceOf(pool) * poolSaleLimit) / 100
        ) 

Impact

The money flow can be bricked and a user can purposefully bring every auction to FAILED_POOL_SALE_LIMIT for no cost at all, since he can just call the Auction::claimRefund function afterwords

PoC

None

Mitigation

No response

The original report as published on Sherlock, by 0x23r0. Images and videos are our own copies; raw HTML is shown as text. View it on Sherlock.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is known

A medium-severity business logic bug in Plaza Finance. Sherlock made it public on 9 February 2025. Found in the 682 audit contest (finding M-10), also found by 34 other wardens.

About Business logic

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

More by 0x23r0

View all

23 more disclosed reports, best first.

More from Plaza Finance

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.