Skip to content

Code4rena

Forgotten Runiverse - Versus contest

Every publicly disclosed report for Forgotten Runiverse - Versus contest and what kind of bugs they were.

disclosed reports
7
most reported class
Business logic
bug classes found
3
first disclosure
2023
Find Forgotten Runiverse - Versus contest on bugbounty.fyi Current scope, rewards and status, if it runs a public program.

Disclosed reports

Newest first. Only what Forgotten Runiverse - Versus contest chose to make public.

Business logic

RuniverseLand.sol#mint() can be bricked

The mint() function derives the token ID from numMinted, but mintTokenId() allows arbitrary token IDs, so if a minter mints a token with an ID that collides with a future numMinted value, subsequent mint() calls will fail because the token already exists. This can brick the minting functionality.

Forgotten Runiverse - Versus contest

Medium
Business logic

Grief on transfers due to vestingStart during vesting

The vesting start setter did not check that the new start was before the vesting end, so an admin could set a start later than the end. This would make the vesting duration underflow and break transfers of vested tokens and the vestsAt view function.

Forgotten Runiverse - Versus contest

Medium
Business logic

setPlotsAvailablePerSize does not work correctly

The setPlotsAvailablePerSize function allows the owner to change plot availability per size without checking that the new values are at least the number already minted or that their sum does not exceed the maximum supply. This can cause an underflow in getAvailableLands or prevent some plot sizes from being minted, leading to financial loss.

Forgotten Runiverse - Versus contest

Medium
Smart contracts

ownerMintUsingTokenId can brick the whole contract

The ownerMintUsingTokenId function lets the owner mint a token with an arbitrary ID, which can collide with a future token ID generated by ownerGetNextTokenId, causing all subsequent mints to revert and bricking the contract. The owner can also mint tokens with plot sizes that are not meant to be for sale.

Forgotten Runiverse - Versus contest

Medium
Access control

Extensive permissions for owner

The smart contract owner had unchecked privileges to mint unlimited tokens, change vesting schedules, and alter plot rarity. An attacker with owner access could mint beyond the cap, make vested tokens unvested, or devalue NFTs by changing rarity.

Forgotten Runiverse - Versus contest

Medium
Business logic

secondaryMinter may break plotsAvailablePerSize

The RuniverseLand contract allows both primaryMinter and secondaryMinter to mint NFTs, but only the RuniverseLandMinter contract enforces per-size plot limits. The secondaryMinter can mint any tokenId without those limits, breaking the plotsAvailablePerSize invariant.

Forgotten Runiverse - Versus contest

Medium