Missing pause control implementation in tellerwithmultiassetsupportpredicateproxy
The contract inherits a pausable mechanism and checks a paused flag in deposit functions, but no function exists to actually pause or unpause the contract. As a result, the pause guard is never enforced, and the owner cannot stop deposits during an emergency.
- Disclosed after under an hour
51162 sc low missing pause control implementation in tellerwithmultiassetsupportpredicateproxy
Submitted on Jul 31st 2025 at 17:22:43 UTC by @TeamJosh for Attackathon | Plume Network
- Report ID: #51162
- 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, intending to provide an emergency stop mechanism for sensitive user-facing operations like deposit and depositAndBridge.
However, the contract does not implement any mechanism to trigger the internal _pause() or _unpause() functions, rendering the paused() check in these functions ineffective.
Vulnerability Details
The following guard appears in deposit() and depositAndBridge():
if (paused()) {
revert TellerWithMultiAssetSupportPredicateProxy__Paused();
}
These checks are intended to prevent interaction when the system is paused. However, there is no public or internal function in the contract that calls _pause() or _unpause(), which are required to actually change the pause state.
Key missing components:
- No
pause()orunpause()function callable by the owner. - No emergency pause mechanism in case of malicious activity or discovered vulnerabilities.
As a result, the paused() state will always return false, meaning the guard is never actually enforced, and emergency control is effectively broken.
Impact Details
- Inability to pause user-facing entry points (
depositanddepositAndBridge) in case of exploits or bugs.
Proof of Concept
// Try pausing the contract (this function doesn’t exist)
proxy.pause(); // Error: function does not exist
// Confirm that deposit is always enabled despite claiming to be pausable
bool pausedState = proxy.paused(); // always false
proxy.deposit(...); // always succeeds, even in supposed paused state
References
(Add any relevant links to documentation or code)
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 uses its paused() check but never exposes or calls the internal _pause() and _unpause() functions, so the pause state can never change.
Impact
The owner cannot pause deposit and depositAndBridge in an emergency, so the promised emergency stop is ineffective.
What the attacker needed
None
The fix
Add owner-callable pause() and unpause() functions that call the inherited _pause() and _unpause() so the guard can be enforced.
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 button is meant to let the owner stop deposits if something goes wrong. Here the contract checks whether it is paused, but there is no button to actually pause it, so the check always passes. This means the emergency stop does not work.
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.