Missing admin pause unpause functions in tellerwithmultiassetsupportpredicateproxy contract
The contract inherits OpenZeppelin's Pausable and checks paused() in deposit, but exposes no public pause or unpause functions. The owner therefore cannot pause the contract during an emergency, so the built-in pause mechanism is unusable.
- Disclosed after under an hour
50022 sc low missing admin pause unpause functions in tellerwithmultiassetsupportpredicateproxy contract
Submitted on Jul 21st 2025 at 08:14:59 UTC by @honey0x0 for Attackathon | Plume Network
- Report ID: #50022
- Report Type: Smart Contract
- Report severity: Low
- Target: https://github.com/immunefi-team/attackathon-plume-network-nucleus-boring-vault/blob/main/src/base/Roles/TellerWithMultiAssetSupportPredicateProxy.sol
- Impacts: Contract fails to deliver promised returns, but doesn't lose value
Description
Brief / Intro
The TellerWithMultiAssetSupportPredicateProxy contract inherits from OpenZeppelin's Pausable contract and implements pause checks in its functions, but lacks public admin functions to actually pause or unpause the contract. This renders the pause functionality unusable while still having the infrastructure in place.
Vulnerability Details
The contract inherits from Pausable and uses the paused() function to check if the contract is paused in its functions:
contract TellerWithMultiAssetSupportPredicateProxy is Ownable, ReentrancyGuard, PredicateClient, Pausable {
function deposit(
ERC20 depositAsset,
uint256 depositAmount,
uint256 minimumMint,
address recipient,
CrossChainTellerBase teller,
PredicateMessage calldata predicateMessage
)
external
nonReentrant
returns (uint256 shares)
{
if (paused()) {
revert TellerWithMultiAssetSupportPredicateProxy__Paused();
}
...
OpenZeppelin's Pausable exposes only internal functions _pause() and _unpause():
function _pause() internal virtual whenNotPaused {
_paused = true;
emit Paused(_msgSender());
}
function _unpause() internal virtual whenPaused {
_paused = false;
emit Unpaused(_msgSender());
}
The TellerWithMultiAssetSupportPredicateProxy contract does not expose any public functions that call these internal functions, making it impossible for the contract owner to pause or unpause the contract.
Typical public admin functions would be:
function pause() external onlyOwner {
_pause();
}
function unpause() external onlyOwner {
_unpause();
}
Impact Details
{% hint style="warning" %} The contract has pause functionality built-in but no public way to activate it. In case of security incidents or emergencies, admins cannot pause the contract to prevent further deposits. {% endhint %}
References
- https://github.com/immunefi-team/attackathon-plume-network-nucleus-boring-vault/blob/0ee676b5715075c26db6706960fd49ab59b587fc/src/base/Roles/TellerWithMultiAssetSupportPredicateProxy.sol#L78-L79
- https://github.com/immunefi-team/attackathon-plume-network-nucleus-boring-vault/blob/0ee676b5715075c26db6706960fd49ab59b587fc/src/base/Roles/TellerWithMultiAssetSupportPredicateProxy.sol#L133-L135
Proof of Concept
{% stepper %} {% step %}
Deployment
TellerWithMultiAssetSupportPredicateProxy is deployed with an owner address.
{% endstep %}
{% step %}
Emergency
An emergency situation or a security incident arises which prompts the admin to pause the contract immediately. {% endstep %}
{% step %}
Attempt to Pause
Admin looks for public pause() / unpause() functions but none exist.
{% endstep %}
{% step %}
Result
Contract can't be paused even though it has built-in pause functionality. {% endstep %} {% endstepper %}
Recommended Fix
Add owner-restricted public functions that call the internal pause/unpause implementations from OpenZeppelin:
function pause() external onlyOwner {
_pause();
}
function unpause() external onlyOwner {
_unpause();
}
This preserves the existing pause checks (e.g., paused()) while allowing the owner to operate the pause mechanism during emergencies.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
The contract inherits Pausable and calls paused() in its functions but never exposes owner-callable wrappers around the internal _pause() and _unpause() functions.
Impact
The owner cannot pause deposits during an incident, so the promised emergency stop is unavailable; the text does not claim any direct loss of funds.
What the attacker needed
Contract deployed with an owner; an emergency requiring a pause
The fix
Add owner-restricted public pause and unpause functions that call the internal Pausable implementations.
How it was found
- Deploy the contract with an owner address.
- An emergency arises that requires pausing the contract.
- The admin looks for public pause or unpause functions but none exist.
- The contract cannot be paused despite having pause checks built in.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A pause switch is a safety button that lets the owner stop deposits if something goes wrong. This contract has the wiring for that button and checks whether it is pressed, but there is no button to press. So the safety feature exists in name only and cannot be used.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.