[HTB] Sea - Machine
by RedTeamer - Friday August 9, 2024 at 08:04 PM
#51
(08-10-2024, 09:59 PM)leury Wrote: How did you manage to find http://sea.htb/index.php?page=loginURL

find in exploit
https://github.com/prodigiousMind/CVE-20...exploit.py
Reply
#52
(08-10-2024, 09:59 PM)leury Wrote: How did you manage to find http://sea.htb/index.php?page=loginURL

no need for this ?page just put loginURL and it will take you to the login.
Reply
#53
anything for the root?
Ban reason: Leeching | https://raidforums.im/Forum-Ban-Appeals if you feel this is incorrect. (Permanent)
Reply
#54
(08-10-2024, 10:06 PM)teky Wrote: anything for the root?

Not yet, maybe in opt/google/chrome ?
Reply
#55
(08-10-2024, 09:32 PM)l3rka Wrote: login page
http://sea.htb/index.php?page=loginURL

how did you find this login page?
Ban reason: Asking for reputation (Permanent)
Reply
#56
os injection on internal 8080 port Smile))
Ban reason: Leeching | http://raiddfzn73ir6iyxlf7nwytnujiflddog...an-Appeals if you feel this is incorrect. (Permanent)
Reply
#57
(08-10-2024, 09:59 PM)leury Wrote: How did you manage to find http://sea.htb/index.php?page=loginURL
Enumerate the whole site. You can find in the theme this - http:// sea.htb/themes/bike/README.md - you confirm it's wonderCMS, find the required CVE, and yes, it's CVE-2023-41425. It won't work by itself, check the script how it creates the xss.js, how it installs the module (from where?) and the how revshell is being fired up. You need to adapt little things and don't just edit the xss.js then re-run the python expl since it's going to recreate it, lol. Simple things like this result in struggles. Once you get shell, check for creds, there's the database.js file, it's for the said user (see above in this thread), and you'll end up with user.

Root - check for what's running on the box, portfwd to it, check it out, how it works (see how it requests those log files the log analyzer), find the vulnerability, use and abuse - you can leak the flag or pop a revshell, do whatever.
Hint - command injection, perhaps?
Reply
#58
(08-10-2024, 10:10 PM)GilbertoCosta Wrote: os injection on internal 8080 port Smile))

I confirm that it is true indeed Smile
Reply
#59
i got shell but permission denied to read user.txt at /home/amay/user.txt
I see password $2y$10$iOrk210RQSAzNCx6Vyq2X.aJ\/D.GuE4jRIikYiWrD3TM\/PjDnXm4q but don't know what to do with it.
Reply
#60
lol only me after foothold did /usr/bin/bash -p and got root lol
Ban reason:
Asking for rep is not allowed (Permanent)
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,239 10-31-2026, 07:33 PM
Last Post: aistax
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 383 138,759 10-31-2026, 11:47 AM
Last Post: thaytoiyeucoay30nam
  HTB PWN- Oxidized ROP macavitysworld 4 1,046 10-29-2026, 01:01 PM
Last Post: A1Raid3r
  HTB - code + titanic walkthrough | free tony_boom23 3 7,264 10-25-2026, 06:35 AM
Last Post: A1Raid3r
  HTB apt lab note zapot 14 35,536 10-03-2026, 08:09 PM
Last Post: whuuaa



 Users browsing this thread: 3 Guest(s)