Skip to content

Code4rena

OpenSea Seaport contest

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

disclosed reports
4
most reported class
Business logic
bug classes found
2
first disclosure
2022
Find OpenSea Seaport contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what OpenSea Seaport contest chose to make public.

Business logic

_aggregateValidFulfillmentOfferItems() can be tricked to accept invalid inputs

The function that validates offer items used a bitwise error buffer that could hold the value 3 when both a zero amount and an overflow occurred, and the switch statement only handled 1 and 2, so the order was accepted. An attacker could fulfil an order with a much lower consideration than expected, potentially buying an NFT for almost nothing.

OpenSea Seaport contest

High
Smart contracts

Wrong items length assertion in basic order

An off-by-one error in a length assertion allowed a fulfiller to craft calldata with an empty additionalRecipients array while the order expected more, causing an out-of-bounds read that skipped transferring the last consideration item. This let the fulfiller pay less than the full consideration amount, though only for basic orders with multiple consideration items and a low-decimal ERC20 as the last item.

OpenSea Seaport contest

Medium
Business logic

Merkle Tree criteria can be resolved by wrong tokenIDs

The Merkle tree criteria verification did not check that the supplied tokenId was a leaf, so an attacker could use an intermediate hash as a tokenId and fulfil an offer with an NFT the offerer did not request. This could cause the offerer to receive a low-value token instead of one with the desired traits.

OpenSea Seaport contest

Medium