Skip to content
Access control Audit finding Beginner

Pausable functions are not exposed

The contract inherits OpenZeppelin's Pausable and checks paused() in critical functions, but never exposes external pause/unpause functions. The owner therefore cannot activate the emergency stop, so the protocol cannot be paused during an incident.

rajkaur Follow

Originally disclosed on Immunefi

  • Disclosed after under an hour

49647 sc low pausable functions are not exposed

Submitted on Jul 17th 2025 at 21:27:36 UTC by @rajkaur for Attackathon | Plume Network

{% hint style="info" %} Brief / Intro

The TellerWithMultiAssetSupportPredicateProxy contract inherits OpenZeppelin's Pausable contract to support an emergency stop. However, it does not expose external functions to call the internal _pause() and _unpause() methods, so the owner cannot activate or deactivate the pause state. {% endhint %}

Vulnerability Details

The contract correctly checks paused() to guard critical functions, indicating the developer intended the contract to be pausable. Example:

Solidity
function deposit(
)
    external
{
    if (paused()) {
        revert TellerWithMultiAssetSupportPredicateProxy__Paused();
    }
}

However, OpenZeppelin's _pause() and _unpause() functions are internal. The contract does not provide external/public functions (e.g., pause() / unpause()) wrapped with appropriate owner access control to call these internal functions. As a result, there is no mechanism for the owner to trigger the pause or unpause behavior.

Impact Details

If an emergency occurs, the protocol would not be able to pause the contract, defeating the intended emergency-stop protection.

Proof of Concept

The PoC is the absence of external pause/unpause wrappers combined with usage of paused() checks. The snippet above demonstrates the contract relies on paused() but provides no way for the owner to change that state.

Suggested remediation (not altering vulnerability text): add owner-restricted external functions that call _pause() and _unpause(), for example:

Solidity
function pause() external onlyOwner {
    _pause();
}

function unpause() external onlyOwner {
    _unpause();
}

(Do not change existing access control semantics; ensure the same owner/role restrictions used across the codebase are applied.)

The original report as published on Immunefi, by rajkaur. Images and videos are our own copies; raw HTML is shown as text. View it on Immunefi.

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 relies on OpenZeppelin's internal _pause() and _unpause() functions but never adds owner-restricted external wrappers to call them.

Impact

During an emergency the protocol could not pause the contract, so the intended emergency-stop protection would be unavailable.

What the attacker needed

Owner role on the contract; an emergency requiring a pause

The fix

Add owner-restricted external pause() and unpause() functions that call the internal _pause() and _unpause() methods.

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 meant to let the owner stop a contract in an emergency. Here the contract checks whether it is paused before allowing deposits, but there is no button for the owner to actually flip that switch. 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.

More by rajkaur

View all

1 more disclosed report, best first.

More from Plume Network

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.