Moonwell - Jigsaw's results

An open lending and borrowing DeFi protocol.

General Information

Platform: Code4rena

Start Date: 24/07/2023

Pot Size: $100,000 USDC

Total HM: 18

Participants: 73

Period: 7 days

Judge: alcueca

Total Solo HM: 8

Id: 267

League: ETH

Moonwell

Findings Distribution

Researcher Performance

Rank: 27/73

Findings: 1

Award: $261.96

🌟 Selected for report: 0

🚀 Solo Findings: 0

Findings Information

🌟 Selected for report: Aymen0909

Also found by: ABAIKUNANBAEV, Jigsaw, hals, sces60107

Labels

bug
2 (Med Risk)
partial-50
duplicate-276

Awards

261.9578 USDC - $261.96

External Links

Lines of code

https://github.com/code-423n4/2023-07-moonwell/blob/fced18035107a345c31c9a9497d0da09105df4df/src/core/Governance/TemporalGovernor.sol#L266

Vulnerability details

Impact

Detailed description of the impact of this finding. Guardians are able to fasttrack and execute proposals even when the contract is not paused. per the comments: @notice Allow the guardian to process a VAA when the /// Temporal Governor is paused this is only for use during /// periods of emergency when the governance on moonbeam is /// compromised and we need to stop additional proposals from going through. /// @param VAA The signed Verified Action Approval to process however the function itself is missing a whenPaused modifier, allowing a guardian to fastrack and execute proposals even the contract is not paused.

Proof of Concept

W/o a whenPaused modifier, guardian/owner is able to execute fasttracked proposals even when governance is not compromised.

Tools Used

manual review

add whenPaused modifier.

Assessed type

Governance

#0 - c4-pre-sort

2023-08-03T13:53:43Z

0xSorryNotSorry marked the issue as duplicate of #245

#1 - c4-judge

2023-08-12T20:42:31Z

alcueca marked the issue as satisfactory

#2 - c4-judge

2023-08-12T20:42:36Z

alcueca marked the issue as partial-50

AuditHub

A portfolio for auditors, a security profile for protocols, a hub for web3 security.

Built bymalatrax © 2024

Auditors

Browse

Contests

Browse

Get in touch

ContactTwitter