1. Challenge Information

2. TL;DR Solution Summary

The hash value sent is a combination of a secret key, username, and score. The secret key can be found on a JS code embedded on game.php page

3. Exploitation

3.1 Walkthrough

  1. Intercept the score update HTTP POST Request:

    Screenshot 2024-11-10 at 08.57.06.png

  2. Modify the Score and Resend:

    Screenshot 2024-11-10 at 08.58.29.png

  3. Identify the Hashing Algorithm:

    Screenshot 2024-11-10 at 09.00.29.png

  4. Find Hash Generation Logic:

    Screenshot 2024-11-10 at 09.02.56.png

  5. Generate the New Hash:

    Screenshot 2024-11-10 at 09.08.58.png

  6. Send the Modified Request with New Hash:

    Screenshot 2024-11-10 at 09.11.51.png

4. Final Output