LooksRare Aggregator contest - bin's results

An NFT aggregator protocol.

General Information

Platform: Code4rena

Start Date: 08/11/2022

Pot Size: $60,500 USDC

Total HM: 6

Participants: 72

Period: 5 days

Judge: Picodes

Total Solo HM: 2

Id: 178

League: ETH

LooksRare

Findings Distribution

Researcher Performance

Rank: 68/72

Findings: 1

Award: $36.34

QA:
grade-b

🌟 Selected for report: 0

🚀 Solo Findings: 0

Awards

36.3434 USDC - $36.34

Labels

bug
downgraded by judge
grade-b
QA (Quality Assurance)
sponsor disputed
Q-04

External Links

Lines of code

https://github.com/code-423n4/2022-11-looksrare/blob/e3b2c053f722b0ca2dce3a3eb06f64859b8b7a6f/contracts/proxies/SeaportProxy.sol#L86

Vulnerability details

Impact

The contract will receive assets from anybody.

Proof of Concept

https://github.com/code-423n4/2022-11-looksrare/blob/e3b2c053f722b0ca2dce3a3eb06f64859b8b7a6f/contracts/proxies/SeaportProxy.sol#L86 This code here is for refund ETH back to the user if fulfillAvailableAdvancedOrders failed, but there is no limitation that means anyone can transfer ETH to this contract.

Add the limitation for this function. receive() external payable { if (msg.sender != address(marketplace)) revert InvalidCaller(); }

#0 - Picodes

2022-11-21T15:39:19Z

Valid but why would someone transfer funds to this contract

#1 - c4-judge

2022-11-21T15:39:27Z

Picodes changed the severity to QA (Quality Assurance)

#2 - c4-sponsor

2022-11-22T23:09:05Z

0xhiroshi marked the issue as sponsor disputed

#3 - 0xhiroshi

2022-11-22T23:11:34Z

This is going to cost more gas during a refund for 0 benefits, we don't care if people randomly send ETH to the contract

#4 - c4-judge

2022-12-12T10:12:50Z

Picodes 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