HexBrain

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:

  1. Go to https://sorare.com/football
  2. Edit a team you own.
  3. Press "Confirm" button.
  4. Intercept the request made to /federation/graphql with the "operationName":"CreateOrUpdateSo5LineupMutation" {F2493465}
  5. 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.

This report was disclosed publicly on HackerOne and belongs to its author and the program. See the original