Skip to content

Code4rena

Coded Estate Invitational

Every publicly disclosed report for Coded Estate Invitational and what kind of bugs they were.

disclosed reports
18
most reported class
Business logic
bug classes found
3
first disclosure
2024
Find Coded Estate Invitational on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Coded Estate Invitational chose to make public.

Business logic

setbidtobuy allows token purchase even when sale is no longer listed

The setbidtobuy function in a CosmWasm NFT marketplace contract never checks the sell.islisted flag, so a token the seller has delisted can still be bought when auto-approve is enabled. An attacker could therefore acquire a token the seller no longer intended to sell.

Coded Estate Invitational

High
DoS

Users can’t cancel reservation due to out-of-gas

The cancellation functions loop over an owner-controlled list of cancellation items, so a large list can make the transaction run out of gas. A malicious NFT owner could set a very long list and thereby stop a reservation from being cancelled.

Coded Estate Invitational

Medium
Business logic

Reservations can be made outside of rental property’s available_period

The smart contract allows renters to make reservations for dates outside the property's declared available period because the reservation functions only check the minimum stay duration. An attacker could book a property for dates the owner did not intend to make available.

Coded Estate Invitational

Medium
Business logic

Insufficient price validation in transfer_nft function enables theft of listed tokens

The transfer_nft function in a smart contract does not verify that a buyer's bid matches the seller's listed price, and it allows the caller to specify any recipient. A malicious buyer can therefore transfer a listed NFT to an address with no bid, resulting in zero payment to the seller, and then cancel their own bid for a full refund.

Coded Estate Invitational

High
Business logic

Lack of differentiation between rental types leads to loss of funds

The contract stores short-term and long-term rentals in the same list but does not check the rental type when cancelling, so a short-term reservation can be cancelled using the long-term cancellation function. This refunds the deposit in the long-term rental's token, which may be more valuable, allowing an attacker to steal funds from the contract.

Coded Estate Invitational

High
Business logic

Malicious NFT owners can rug the reservation of the long-term

A homeowner can withdraw part of a tenant's long-term rental deposit and then reject the active reservation, refunding only the reduced deposit. This lets the homeowner keep the withdrawn funds while removing the tenant.

Coded Estate Invitational

Medium
Access control

Attakers can steal the funds from long-term reservation

When an NFT is listed for sale with auto-approval enabled, anyone who places a bid is automatically approved as a spender on that NFT. Because an approved address can call the long-term rental withdrawal function and choose the recipient, an attacker can withdraw the rental funds to themselves.

Coded Estate Invitational

High
Business logic

Logic flaw in check_can_edit_short allows editing short-term rental before finalization enabling theft of users’ deposited funds

The check that prevents editing a short-term rental listing only verifies that the last rental's check-out time has passed, not that all rentals are finalised. A malicious landlord can change the payment token after a rental ends but before finalisation, causing the contract to pay out in a more valuable token and draining other users' deposits.

Coded Estate Invitational

High