Maia DAO - Ulysses - zhaojie's results

Harnessing the power of Arbitrum, Ulysses Omnichain specializes in Virtualized Liquidity Management.

General Information

Platform: Code4rena

Start Date: 22/09/2023

Pot Size: $100,000 USDC

Total HM: 15

Participants: 175

Period: 14 days

Judge: alcueca

Total Solo HM: 4

Id: 287

League: ETH

Maia DAO

Findings Distribution

Researcher Performance

Rank: 101/175

Findings: 1

Award: $25.68

QA:
grade-a

🌟 Selected for report: 0

🚀 Solo Findings: 0

Lines of code

https://github.com/code-423n4/2023-09-maia/blob/f5ba4de628836b2a29f9b5fff59499690008c463/src/RootBridgeAgent.sol#L1210 https://github.com/code-423n4/2023-09-maia/blob/f5ba4de628836b2a29f9b5fff59499690008c463/src/RootPort.sol#L87

Vulnerability details

Impact

Ulysses Protocol is a Omnichain servers,but cannot support non-EVM chains.

Proof of Concept

  1. The length of an address for receiving a message cannot exceed 40 bytes. The length of an address for a non-EVM chain must exceed 40 bytes.
if (_srcAddress.length != 40) revert LayerZeroUnauthorizedCaller();
  1. The RootPort uses address to store the token address. Address in the evm is incompatible with addresses on other non-EVM chains, so a compatible format is required.
    mapping(address token => bool isGlobalToken) public isGlobalAddress;

Tools Used

vscode

Modify the address format of cross-chain tokens and modify the limit on the address length when accepting messages.

Assessed type

Other

#0 - c4-pre-sort

2023-10-11T13:11:28Z

0xA5DF marked the issue as duplicate of #809

#1 - c4-pre-sort

2023-10-11T13:11:33Z

0xA5DF marked the issue as sufficient quality report

#2 - c4-judge

2023-10-27T08:57:02Z

alcueca changed the severity to QA (Quality Assurance)

#3 - c4-judge

2023-10-27T08:57:13Z

alcueca marked the issue as grade-b

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