Skip to content

Code4rena

Concur Finance contest

Every publicly disclosed report for Concur Finance contest and what kind of bugs they were.

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

Disclosed reports

Newest first. Only what Concur Finance contest chose to make public.

Business logic

execute in VoteProxy should be payable

The execute function in VoteProxy lacks the payable modifier, so it reverts when called with a non-zero Ether value. An attacker cannot exploit this directly, but it prevents the owner from sending Ether through the proxy.

Concur Finance contest

Medium
Business logic

ConvexStakingWrapper.exitShelter() Will Lock LP Tokens, Preventing Users From Withdrawing

The exitShelter function transfers LP tokens back to the ConvexStakingWrapper contract but does not restake them in the pool. As a result, users cannot withdraw their LP tokens because the withdraw function attempts to unstake tokens that are no longer staked, causing a revert and locking funds.

Concur Finance contest

High
Business logic

MasterChef.sol Users won’t be able to receive the concur rewards

The MasterChef contract records deposits but does not hold the deposit tokens, so its internal balance check always returns zero. As a result, the reward calculation is skipped and users never receive Concur rewards.

Concur Finance contest

High
Business logic

Deposits after the grace period should not be allowed

The donate function in Shelter.sol allows deposits after the grace period ends, which can increase the savedTokens for a token and thus increase claim amounts for users who have not yet withdrawn, potentially disadvantaging those who already withdrew.

Concur Finance contest

Medium
Business logic

Unconstrained fee

The MasterChef contract allows the admin to set a token fee above 100%, which causes deposit calls to fail due to underflow when subtracting the fee from the reward. This can permanently break the contract's deposit functionality for that token, as the fee cannot be undone.

Concur Finance contest

Medium
DoS

USDMPegRecovery.sol#withdraw() withdraw may often fail

The withdraw function transfers tokens directly from the contract's balance, but after the guardian moves most funds into a Curve pool, the contract lacks sufficient tokens, causing withdrawals to fail. An attacker could not exploit this for gain, but users may be unable to withdraw their deposits.

Concur Finance contest

Medium
Business logic

USDM locked unless guardian remove liquidity

The USDM deposit contract lacks a mechanism for users to withdraw their deposited USDM, so funds remain locked until the guardian removes liquidity. An attacker cannot directly exploit this, but users are unable to retrieve their deposits.

Concur Finance contest

Medium
Business logic

Fee-on-transfer token donations in Shelter break withdrawals

The donate function credits the full transfer amount to savedTokens even for fee-on-transfer tokens, so the contract's recorded balance exceeds its actual token balance. The last person to withdraw cannot claim their share because the calculated amount exceeds the available balance.

Concur Finance contest

Medium
Access control

StakingRewards.recoverERC20 allows owner to rug the rewardsToken

The StakingRewards contract's recoverERC20 function allows the owner to withdraw the rewards token, which is meant to be distributed to stakers. A malicious owner could sweep all rewards tokens, effectively rugging depositors.

Concur Finance contest

Medium
Business logic

USDMPegRecovery.provide() Will Fail If There Is An Excess Of usdm Tokens

The provide function calculates the liquidity to add based only on the usdm balance, ignoring the pool3 balance. If the truncated usdm amount exceeds the available pool3 tokens, the function reverts, preventing guardians from providing liquidity even when sufficient tokens exist.

Concur Finance contest

Medium
Business logic

Deactivate function can be bypassed

The activate function could be called repeatedly, resetting the timestamp used to enforce a grace period. A malicious client could then deactivate a token after the deadline and transfer all contract funds to itself.

Concur Finance contest

Medium
Business logic

Rewards get diluted because totalAllocPoint can only increase.

The MasterChef contract lacks a way to remove pools or reduce their allocation points, so totalAllocPoint only increases. This dilutes rewards for active pools, causing stakers to receive less than expected while unused pools still accrue rewards.

Concur Finance contest

Medium
Business logic

Shelter claimed mapping is set with _to address and not msg.sender

The Shelter contract's withdraw function tracks claimed withdrawals using the recipient address (_to) instead of the caller (msg.sender), allowing any user with a small share to repeatedly withdraw and drain all funds.

Concur Finance contest

High
Business logic

Rogue pool in Shelter

The Shelter contract allows the client to call activate on an already activated token, resetting its start time. This prevents users from withdrawing their donated tokens while allowing the client to deactivate and take all funds.

Concur Finance contest

Medium
Access control

Owner can steal Concur rewards

The owner of the MasterChef contract can add a new depositor and inflate that depositor's assigned balance, allowing the owner to steal nearly all Concur reward tokens from other depositors.

Concur Finance contest

Medium
Business logic

Users Will Lose Concur Rewards If The Shelter Mechanism Is Enacted On A Pool

If the shelter mechanism is activated, users' accrued Concur rewards become permanently locked because the MasterChef contract continues to allocate tokens to the sheltered pool and has no way to remove it. An attacker cannot directly exploit this, but users lose their unharvested rewards.

Concur Finance contest

Medium
Business logic

StakingRewards reward rate can be dragged out and diluted

The notifyRewardAmount function extends the reward period and recalculates the reward rate, so calling it with zero reward dilutes the rate for all stakers. An attacker with permission to call this function could repeatedly reduce the reward rate, dragging out rewards and reducing yield.

Concur Finance contest

Medium
Access control

Owner can lock tokens in MasterChef

The owner of MasterChef can remove a depositor from the whitelist, which prevents that depositor from withdrawing their staked tokens and rewards. An attacker with owner privileges could lock users' funds and cause a portion of Concur tokens to remain undistributed.

Concur Finance contest

Medium
DoS

ConvexStakingWrapper deposits and withdraws will frequently be disabled if a token that doesn’t allow zero value transfers will be added as a reward one

The ConvexStakingWrapper contract unconditionally transfers reward tokens to a claim contract during deposit and withdraw operations, even when the incremental reward amount is zero. If a reward token that reverts on zero-value transfers is added, these transfers will fail, causing deposits and withdrawals to revert and effectively disabling them.

Concur Finance contest

Medium
Business logic

Repeated Calls to Shelter.withdraw Can Drain All Funds in Shelter

The withdraw function in the Shelter contract does not check if a user has already withdrawn their tokens, allowing a user who has deposited funds to call withdraw repeatedly and drain the shelter's entire balance, including other users' funds.

Concur Finance contest

High
DoS

deposit in ConvexStakingWrapper will most certainly revert

The deposit function in ConvexStakingWrapper calls poolInfo on a BaseRewardPool contract that does not implement that function, causing every deposit to revert. An attacker cannot exploit this for gain, but the core staking functionality is broken.

Concur Finance contest

High
Business logic

ConvexStakingWrapper._calcRewardIntegral() Can Be Manipulated To Steal Tokens From Other Pools

The reward calculation in ConvexStakingWrapper uses the contract's total reward token balance to determine newly claimed tokens, allowing a user to call getReward on multiple pools and then claim a disproportionate share from one pool. This lets an attacker siphon rewards from other pools, causing loss for other stakers.

Concur Finance contest

High