Medium
Web
125 pts
A developer thought putting secrets inside the login token was safe because "it's encrypted". Here's a token captured from their app's cookie:
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMDQyIiwidXNlciI6Imd1ZXN0Iiwicm9sZSI6InVzZXIiLCJub3RlIjoiVUR7and0X3A0eWwwNGRzXzRyM19uMHRfczNjcjN0fSJ9.nuyItV2SlbsqxtNVYqLKXOv-TmT-sjTCqN3pXRts0qI
Need a hint?
This is a JWT. The middle part (between the dots) is just Base64URL-encoded JSON. Try jwt.io.