HTB Web Insomnia
by macavitysworld - Thursday March 21, 2024 at 05:36 AM
#1
HTB Web Challenge - Insomnia(Quick writeup)
  • Interception of the login request and deletion of the password parameter.
  • Entered an existing username in the DB (e.g., "test") to receive the JWT token.
  • Sent the JWT token to /index.php/profile endpoint with the username changed to "administrator" to obtain the flag.

Flag
Hidden Content
You must register or login to view this content.
Reply
#2
Wow this is very helpful
Reply
#3
how can I change the JWT? I have not the JWT_SECRET and the JWT became invalid!
Reply
#4
Thanks friend, I'll see... keep it up my king...
Reply
#5
(03-22-2024, 06:53 PM)Art10n Wrote: how can I change the JWT? I have not the JWT_SECRET and the JWT became invalid!

- Intercept the request
- sent to repeater
- Delete password parameter
- add user as administrator
- you'll get the required token
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 106 42,238 10-31-2026, 07:33 PM
Last Post: aistax
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 383 138,758 10-31-2026, 11:47 AM
Last Post: thaytoiyeucoay30nam
  HTB PWN- Oxidized ROP macavitysworld 4 1,045 10-29-2026, 01:01 PM
Last Post: A1Raid3r
  HTB - code + titanic walkthrough | free tony_boom23 3 7,262 10-25-2026, 06:35 AM
Last Post: A1Raid3r
  HTB apt lab note zapot 14 35,535 10-03-2026, 08:09 PM
Last Post: whuuaa



 Users browsing this thread: 1 Guest(s)