Skip to content

Code4rena

Blur Exchange contest

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

disclosed reports
5
most reported class
Access control
bug classes found
4
first disclosure
2022
Find Blur Exchange contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Blur Exchange contest chose to make public.

Business logic

All orders which use expirationTime == 0 to support oracle cancellation are not executable

A code refactoring removed the special handling that treated an order expiration time of zero as 'no expiry', so every order signed with that value can no longer be matched. An attacker gains nothing directly, but traders relying on oracle cancellation lose the ability to have their orders executed.

Blur Exchange contest

Medium
Audit finding

Direct theft of buyer’s ETH funds

A seller or fee recipient could reenter the exchange contract during a bulk order execution and drain the buyer's remaining ETH by calling bulkExecute with an empty array, which triggered a refund of the entire contract balance. The attacker could then keep most of the stolen funds while returning just enough to complete the first order, leaving the buyer with no refund and subsequent orders failing.

Blur Exchange contest

High
Smart contracts

Yul call return value not checked

The Yul call return value in _returnDust was not checked, so if a contract rejected the refund, the dust stayed in the Exchange and could be sent to a later caller. An attacker could cause another user's refund to be lost and later claim those funds.

Blur Exchange contest

Medium
Access control

Hacked owner or malicious owner can immediately steal all assets on the platform

The Exchange contract is an immediately upgradeable proxy, so a malicious or compromised owner could upgrade it to a version that calls the ExecutionDelegate to transfer any user-approved tokens to themselves. This would let them steal all assets that users have approved to the platform.

Blur Exchange contest

Medium