Christmas Dinner

First Flight #31
Beginner FriendlyFoundrySolidity
100 EXP
View results
Submission Details
Severity: low
Valid

Bypassing Payment Requirement for Participation Through Direct Function Call

Summary

The intended behavior is that a new member must pay amount to become a participant. However, a vulnerability allows a new member to directly call the changeParticipationStatus function and gain participant status without sending or paying any amount.


Vulnerability Details

The changeParticipationStatus function lacks proper validation to ensure that participant status is updated only after payment. As a result, an attacker can directly invoke this function to bypass the payment process and obtain participant status without fulfilling the payment requirement.


Impact

This vulnerability enables unauthorized users to participate in the event without making the required payment, potentially leading to financial losses and undermining the fairness of the system.


Tools Used

  • Foundry


Recommendations

Add a validation check in the changeParticipationStatus function to ensure that only participants who have successfully registered and paid the required amount can update their status.

Updates

Lead Judging Commences

0xtimefliez Lead Judge 8 months ago
Submission Judgement Published
Validated
Assigned finding tags:

usage of change participation logic circumvents deposit

Appeal created

0xzulkefal Submitter
8 months ago
0xtimefliez Lead Judge
8 months ago
0xtimefliez Lead Judge 8 months ago
Submission Judgement Published
Validated
Assigned finding tags:

usage of change participation logic circumvents deposit

Support

FAQs

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