HackTheBox - Previous
00:00 - Introduction
01:00 - Start of nmap
03:44 - Wappalyzer detects NextJS and shows the version, looking at CVE's
07:20 - Looking at the nextjs middleware vulnerability (CVE-2025-29927)
09:50 - Our nuclei scan didn't detect it, looking at templates, it should but needs the headless flag
12:20 - Adding the x-middleware-subrequest to our request to bypass auth
15:05 - Setting BurpSuite to add a header, so we don't have to manually add the middleware to our request
17:20 - Discovering a File Disclosure in the examples
19:20 - Building a skeleton project to find configs, grabbing package.json then using npm build
24:15 - Finding credentials in the nextauth, getting credentials and then logging in with SSH
25:45 - We can run a specific terraform command with sudo, env_reset is not enabled but we can't edit path
29:30 - Declaring source_file in our environment, which then will use it in the script. Using SymLink to read unintended files
34:15 - Doing the same thing with source_file but changing the symlink to be the file we write, to have an elevated file write vuln
37:15 - Editing the terraform config to change the terraform provider and get RCE
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from IppSec · IppSec · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
HHC2016 - Analytics
IppSec
HackTheBox - October
IppSec
HackTheBox - Arctic
IppSec
HackTheBox - Brainfuck
IppSec
HackTheBox - Bank
IppSec
HackTheBox - Joker
IppSec
HackTheBox - Lazy
IppSec
Camp CTF 2015 - Bitterman
IppSec
HackTheBox - Devel
IppSec
Reversing Malicious Office Document (Macro) Emotet(?)
IppSec
HackTheBox - Granny and Grandpa
IppSec
HackTheBox - Pivoting Update: Granny and Grandpa
IppSec
HackTheBox - Optimum
IppSec
HackTheBox - Charon
IppSec
HackTheBox - Sneaky
IppSec
HackTheBox - Holiday
IppSec
HackTheBox - Europa
IppSec
Introduction to tmux
IppSec
HackTheBox - Blocky
IppSec
HackTheBox - Nineveh
IppSec
HackTheBox - Jail
IppSec
HackTheBox - Blue
IppSec
HackTheBox - Calamity
IppSec
HackTheBox - Shrek
IppSec
HackTheBox - Mirai
IppSec
HackTheBox - Shocker
IppSec
HackTheBox - Mantis
IppSec
HackTheBox - Node
IppSec
HackTheBox - Kotarak
IppSec
HackTheBox - Enterprise
IppSec
HackTheBox - Sense
IppSec
HackTheBox - Minion
IppSec
VulnHub - Sokar
IppSec
VulnHub - Pinkys Palace v2
IppSec
HackTheBox - Inception
IppSec
Vulnhub - Trollcave 1.2
IppSec
HackTheBox - Ariekei
IppSec
HackTheBox - Flux Capacitor
IppSec
HackTheBox - Jeeves
IppSec
HackTheBox - Tally
IppSec
HackTheBox - CrimeStoppers
IppSec
HackTheBox - Fulcrum
IppSec
HackTheBox - Chatterbox
IppSec
HackTheBox - Falafel
IppSec
How To Create Empire Modules
IppSec
HackTheBox - Nightmare
IppSec
HackTheBox - Nightmarev2 - Speed Run/Unintended Solutions
IppSec
HackTheBox - Bart
IppSec
HackTheBox - Aragog
IppSec
HackTheBox - Valentine
IppSec
HackTheBox - Silo
IppSec
HackTheBox - Rabbit
IppSec
HackTheBox - Celestial
IppSec
HackTheBox - Stratosphere
IppSec
HackTheBox - Poison
IppSec
HackTheBox - Canape
IppSec
HackTheBox - Olympus
IppSec
HackTheBox - Sunday
IppSec
HackTheBox - Fighter
IppSec
HackTheBox - Bounty
IppSec
Related AI Lessons
⚡
⚡
⚡
⚡
Stop trusting your agent skills with vibes. Eliminate the context security risk.
Dev.to · Tessl
Investigating a Command Injection Attack — SOC168: Whoami Command Detected in Request Body |…
Medium · Cybersecurity
pwning Facts
Medium · Cybersecurity
Detecting Dangerous Shell Commands in Rust — Building a Safety Layer
Dev.to · hiyoyo
Chapters (14)
Introduction
1:00
Start of nmap
3:44
Wappalyzer detects NextJS and shows the version, looking at CVE's
7:20
Looking at the nextjs middleware vulnerability (CVE-2025-29927)
9:50
Our nuclei scan didn't detect it, looking at templates, it should but needs th
12:20
Adding the x-middleware-subrequest to our request to bypass auth
15:05
Setting BurpSuite to add a header, so we don't have to manually add the middle
17:20
Discovering a File Disclosure in the examples
19:20
Building a skeleton project to find configs, grabbing package.json then using
24:15
Finding credentials in the nextauth, getting credentials and then logging in w
25:45
We can run a specific terraform command with sudo, env_reset is not enabled bu
29:30
Declaring source_file in our environment, which then will use it in the script
34:15
Doing the same thing with source_file but changing the symlink to be the file
37:15
Editing the terraform config to change the terraform provider and get RCE
🎓
Tutor Explanation
DeepCamp AI