Sorare · Report #2067247
Operation CreateOrUpdateSo5LineupMutation does not restrict multiple captains
Validstatus
lowseverity
$300bounty
23upvotes
1 Aug 2023disclosed
How it was found
Summary:
By tampering with the POST request to the endpoint CreateOrUpdateSo5LineupMutation while editing a team you can change all football players to have the captain attribute to 'true'. This goes against the UI enforced logic of having only one captain per team, as this attribute gives the football player a 50% score bonus disrupting game logic.
Steps To Reproduce:
- Go to https://sorare.com/football
- Edit a team you own.
- Press "Confirm" button.
- Intercept the request made to /federation/graphql with the "operationName":"CreateOrUpdateSo5LineupMutation" {F2493465}
- Change all the players attribute "captain":true
Result:
Confirmed team of all captains: {F2493464}
Impact
An attacker could get an unfair advantage vs other users that are following the expected game logic, since the API does not check for multiple captains.