The OptimisticListing contract only checks that a new proposal's price per token is lower than the existing one, without constraining the collateral amount. An attacker can create a proposal with a very low collateral (e.g., 1) and a price just below the current one, blocking legitimate proposals and holding the vault hostage.
The purchase function in GroupBuy lacks re-entrancy protection and sets the success flag only after an external call, allowing an attacker to re-enter and drain all ETH from the contract.
When the purchase proof is empty, the GroupBuy contract compares the token ID directly to the Merkle root instead of verifying a proof. This allows an attacker to purchase any token whose ID equals the Merkle root, even if it is not in the allowed list.
The rejectProposal function reverts if the proposed listing's collateral is less than the amount being rejected. An attacker can front-run a rejection transaction by reducing the collateral to one unit less than the amount, causing the rejection to fail and delaying it until the proposal period ends.
The contract does not check the return value of ERC20 approve, so an order can be listed even if the approval to the conduit failed. An attacker could create an unfillable order that locks user funds, as the only remedies are costly or may never occur.
The state-checking functions for a group-buy pool both allow the same timestamp condition, so an attacker can claim a refund and then re-bid to receive the same funds again. This lets the attacker drain the contract.
The purchase function in GroupBuy.sol did not validate the user-supplied market contract address, allowing an attacker to supply a malicious contract that receives the raised funds and returns an address holding the NFT so ownership checks pass. The attacker could steal the collected ETH or acquire the NFT without contributing.
The purchase function allows an NFT to be bought for less than the minimum reserve price, but the claim function still deducts the full reserve price from each contributor's contribution, causing excess funds to be lost. An attacker could exploit this to make contributors lose their ETH when the NFT is bought at a discount.
The GroupBuy contract sends ETH using a low-level call but does not check whether the call succeeded. If the recipient contract reverts, the ETH remains in GroupBuy while the contract still zeroes the user's contribution, causing a loss of funds for the recipient.
The contract's ETH transfer helper falls back to sending WETH if a direct ETH transfer fails, which can happen when the recipient is a contract without a fallback function or with insufficient gas. An attacker or unlucky proposer could have their ETH converted to WETH and stuck in a contract that cannot handle WETH, causing a loss of funds.
In the propose function, the contract updates the pending balance of the new proposer instead of the previous one, so the old proposer loses their collateral and the new proposer can make proposals without paying.
When a user contributes funds after the supply is filled and at a price not higher than the current minimum bid, the bid is not recorded and the funds are not added to the user's withdrawable balance. The user's ether becomes stuck in the contract until the NFT is purchased, which may never happen.
The priority queue used to order bids is a binary heap whose ordering depends on bid quantity when prices are equal. When the current minimum bid is partially filled, its quantity is reduced in place without re-heapifying, corrupting the heap so the wrong bid is treated as the minimum and some bids become unreachable.
The minimum bid price for a GroupBuy pool is calculated by dividing the initial price by the total supply, which rounds down. When all Raes are minted at this minimum price, the total collected can be less than the initial price, so the purchase reverts and the NFT cannot be bought.
The SeaportLister contract sets an ERC20 approval to the maximum without first resetting it to zero, which reverts for tokens like USDT that require zero before a non-zero approval. As a result, only the first listing using such a token can succeed; subsequent listings or re-listings revert.
TV
Tessera - Versus contest
Medium
Instant results are busy. Press Enter to search every report.
No direct matches. Search every report above, or try a bug class like IDOR or SSRF.