Contract Cannot Be Paused: Missing Public pause and unpause Functions
The contract inherits OpenZeppelin's Pausable but does not expose public pause and unpause functions, so it cannot be paused. An attacker could exploit this during a hack or black swan event to prevent administrators from mitigating further harm.
- Disclosed after under an hour
51567 sc low contract cannot be paused missing public pause and unpause functions
Submitted on Aug 4th 2025 at 04:22:59 UTC by @MMophule for Attackathon | Plume Network
- Report ID: #51567
- 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:
- Unable to Pause Contract
Description
Brief/Intro
The contract inherits from the OpenZeppelin Pausable contract, but does not implement the required public pause() and unpause() functions. OpenZeppelin's Pausable only provides internal _pause() and _unpause() functions, so the inheriting contract must expose public functions (usually access-controlled) that call those internals.
Vulnerability Details
Because there are no public pause() and unpause() functions implemented, the contract cannot be paused via the standard mechanisms provided by OpenZeppelin's Pausable.
Impact Details
During potential hacks or black swan events, being unable to pause the contract can prevent administrators from mitigating further harm. This was assessed as medium in impact.
Proof of Concept
The contract and any subcontracts inheriting from it do not include public functions that call _pause() and _unpause(), so pause/unpause functionality is effectively unavailable.
Suggested Fix (implicit)
Ensure the contract exposes appropriately access-controlled public functions that call _pause() and _unpause() (for example, pause() and unpause() guarded by an admin/owner role).
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 OpenZeppelin's Pausable but fails to expose public functions that call the internal _pause() and _unpause() methods.
Impact
During potential hacks or black swan events, being unable to pause the contract can prevent administrators from mitigating further harm.
What the attacker needed
None
The fix
The contract should expose appropriately access-controlled public functions that call _pause() and _unpause().
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.
This is a smart contract that is supposed to have a pause button so administrators can stop it in an emergency. The code includes a standard pause feature, but it never adds the public buttons that would actually trigger it. So if something goes wrong, nobody can pause the contract.
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.