40,000 USDC
View results
Submission Details
Severity: high

Seller can increase the successful amount of confirmed Escrow

Summary

Seller can increase his credit by self-deployed an Escrow contract with the buyer address is in seller's control

Vulnerability Details

Since there is no price minimum for an Escrow, seller can create many escrow and mark the Escrow as confirmed to increase his position if there is any leaderboard in the future. See https://github.com/Cyfrin/2023-07-escrow/blob/main/src/Escrow.sol#L32, it has no minimum price check.

Impact

Seller can maliciously increase his confidence among other in the list.

Tools Used

Manual

Recommendations

  1. Add a validation for minimum price.

Support

FAQs

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