Temporary Advertisements:
Ad
Ad
Ad
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.
Thanks @paw for the rank!!
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
(Mar 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
Thanks @paw for the rank!!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 166 34,830 1 hour ago
Last Post: meomeothantai
  CC,CVV,VBV,NON VBV ,DUMPS ,FULLZ,BANK LOGS (FULL INFO) BEST LINKABLES @RICKBUTLER Ballerwailer4G 0 72 5 hours ago
Last Post: Ballerwailer4G
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 110 14,309 10 hours ago
Last Post: Kazahk
Heart [FREE] HackTheBox All Cheatsheets Tamarisk 85 11,292 10 hours ago
Last Post: Kazahk
  Finding solutions/flags/writeups for challenges meomeothantai 0 204 Yesterday, 04:13 AM
Last Post: meomeothantai

Forum Jump:


 Users browsing this forum: 1 Guest(s)