Contract cannot be paused despite inheriting pausable
The contract inherits OpenZeppelin's Pausable but never exposes any function to call _pause or _unpause, so the paused state can never change. An attacker could keep interacting with the contract during an incident because the admin cannot halt deposits.
- Disclosed after under an hour
51836 sc low contract cannot be paused despite inheriting pausable
Submitted on Aug 6th 2025 at 05:17:17 UTC by @Finlooz4 for Attackathon | Plume Network
- Report ID: #51836
- 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:
- Missing implementation of expected functionality
Description
Brief/Intro
The TellerWithMultiAssetSupportPredicateProxy contract inherits from OpenZeppelin's Pausable but does not implement any functions to actually pause or unpause the contract. As a result, although the contract performs pause checks before allowing deposits, there is no mechanism to change the paused state. This renders the pausable feature ineffective and prevents the contract from being halted in emergencies or during maintenance.
Vulnerability Details
OpenZeppelin's Pausable provides internal functions _pause() and _unpause() to manage the paused state. These functions are internal and must be invoked by the inheriting contract (typically via public/external functions protected by an access control modifier). In this contract, no public or external functions call _pause() or _unpause(), so the paused state cannot be toggled by any actor, including the contract owner.
Examples from the contract:
// In deposit:
if (paused()) {
revert TellerWithMultiAssetSupportPredicateProxy__Paused();
}
// In depositAndBridge:
if (paused()) {
revert TellerWithMultiAssetSupportPredicateProxy__Paused();
}
The presence of these checks indicates the contract was intended to be pausable, but without functions to set the paused state, these checks are effectively inert. The default state is unpaused, so paused() will always return false unless _pause() is called — which cannot happen given the current implementation.
Impact Details
Because the contract cannot be paused:
- In the event of a security vulnerability or critical bug, the contract cannot be halted to stop further interactions, allowing an exploit to continue unchecked.
- Maintenance or upgrades that require halting operations cannot be performed safely, risking inconsistencies or errors during those procedures.
- Overall, the inability to pause reduces the protocol's reactive and defensive capabilities during incidents.
References
// Inherits Pausable but NO functions to change pause state
contract TellerWithMultiAssetSupportPredicateProxy is ... Pausable {...}
// Pause checks that always pass (since contract can't be paused)
if (paused()) { // Always false
revert TellerWithMultiAssetSupportPredicateProxy__Paused();
}
Proof of Concept
{% stepper %} {% step %}
Describe the exploit scenario
Vulnerability is present in deposit() (and similar functions). An attacker weaponizes this logic to drain the teller vault.
{% endstep %}
{% step %}
Admin attempts mitigation
An admin attempts to pause the contract to limit the attack scope. The contract cannot be paused due to missing pause/unpause implementations. {% endstep %}
{% step %}
Consequence
Attacker continues to execute the attack and drain funds while the contract remains unpausable. {% endstep %} {% endstepper %}
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 checks paused() but never adds public or external functions that call the internal _pause() and _unpause().
Impact
The protocol cannot halt deposits during an incident or maintenance, so an ongoing exploit could continue unchecked.
What the attacker needed
A separate vulnerability to exploit; admin needs to pause during incident
The fix
Add access-controlled public or external functions that call _pause() and _unpause() so the owner can toggle the paused state.
How it was found
- An attacker exploits a logic flaw in deposit() to drain the teller vault.
- The admin tries to pause the contract to limit the attack.
- The pause fails because no pause function exists.
- The attacker keeps draining funds while the contract stays unpausable.
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 'pausable' contract is meant to have a switch that lets the owner stop deposits in an emergency. Here the switch exists inside the code but no button was wired to it, so the contract is always 'not paused'. That means if something goes wrong, the team cannot stop people from using it.
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.