52075 sc medium arctokenpurchase contract is a token holder and may be yield recipient
Description
Brief/Intro
Vulnerability Details
// ArcToken.sol - Yield Distribution
function distributeYield(uint256 amount) external onlyRole(YIELD_DISTRIBUTOR_ROLE) nonReentrant {
...
for (uint256 i = 0; i < lastProcessedIndex; i++) {
address holder = $.holders.at(i);
if (!_isYieldAllowed(holder)) continue;
...
yToken.safeTransfer(holder, share); // Tokens sent to ArcTokenPurchase
}
...
}Impact Details
Proof of Concept
References
Previous49698 sc low coordinated validator attack delays slashing and enables commission theftNext52918 sc insight redundant check for allwinnersdrawn error
Was this helpful?