DittoETH

Ditto
DeFiFoundryOracle
55,000 USDC
View results
Submission Details
Severity: medium
Invalid

Diamond upgrade proposition can be falsified

Summary

Diamond upgrade proposition can be falsified
Malicious or compromised admins can send any _init and _calldata at their will. This is dangerous as they will be used for a delegatecall operation. An attacker can execute a delegatecall to steal funds or selfdestruct the system.

Vulnerability Details

  • Malicious can create an empty payload for _init and _calldata.

  • Then the malicious executes the update with _init pointing to a malicious contract, stealing funds from the system.

Impact

Diamonds will be upgraded by admin. Malicious or compromised admins can exploit the contract in any way of their choice.

Tools Used

Recommendations

[Refer to the same bug as well as how to redeploy LibDiamond.diamondCut](Refer to the same bug as well as how to redeploy LibDiamond.diamondCut)

Updates

Lead Judging Commences

0xnevi Lead Judge
over 1 year ago
0xnevi Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Other

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.