HackTheBox - Yummy
00:00 - Introduction
01:00 - Start of nmap
03:55 - Playing around with the website, booking a table and then registering an account
08:40 - Taking a look at the Save to iCalendar functionality and finding a File Disclosure vulnerability
12:15 - Finding the application source code via the /proc/self/cwd directory
14:15 - The JWT does RSA manually, using a weak exponent, showing we can factor this with RsaCtfTool
18:40 - Showing JWT.IO doesn't work with weak RSA Keys, showing an alternative tool
26:10 - Looking at cron jobs, finding all of the source code
28:20 - The DBMonitor Cron looks like it…
Watch on YouTube ↗
(saves to browser)
Chapters (17)
Introduction
1:00
Start of nmap
3:55
Playing around with the website, booking a table and then registering an accou
8:40
Taking a look at the Save to iCalendar functionality and finding a File Disclo
12:15
Finding the application source code via the /proc/self/cwd directory
14:15
The JWT does RSA manually, using a weak exponent, showing we can factor this w
18:40
Showing JWT.IO doesn't work with weak RSA Keys, showing an alternative tool
26:10
Looking at cron jobs, finding all of the source code
28:20
The DBMonitor Cron looks like it will execute code if we create specific files
33:50
Using INTO OUTFILE with our SQL Injection to write files and exploit the DBMON
41:30
Shell returned looking at the database, then exploiting another cron because w
45:20
Looking at the commit history of an Mercurial HG repo and finding a password
49:05
We can run HG PULL as dev, showing there are multiple places we can put a HGRC
57:05
We can run rsync as root, but the standard gtfobin doesn't work
1:00:00
Showing the chown flag doesn't remove setuid bits in RSYNC, which lets us make
1:03:00
BEYOND ROOT: Showing the changes to the box (secure_file_priv and AppArmor) th
1:08:49
Showing the CHOWN removes SetUID but Rsync does not when changing owners
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 - Dungeon
IppSec
HHC2016 - Terminal Speedrun
IppSec
HHC2016 - Ads
IppSec
HHC2016 - Debug
IppSec
HHC2016 - Exception
IppSec
HHC2016 - Analytics
IppSec
HHC2016 - Getting Coins
IppSec
HackTheBox - Popcorn
IppSec
HackTheBox - October
IppSec
HackTheBox - Arctic
IppSec
HackTheBox - Tenten
IppSec
HackTheBox - CronOS
IppSec
HackTheBox - Brainfuck
IppSec
HackTheBox - Beep
IppSec
HackTheBox - Bastard
IppSec
HackTheBox - Bank
IppSec
HackTheBox - Joker
IppSec
HackTheBox - Haircut
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 - Apocalyst
IppSec
HackTheBox - Europa
IppSec
Introduction to tmux
IppSec
HackTheBox - Blocky
IppSec
HackTheBox - Nineveh
IppSec
HackTheBox - Jail
IppSec
HackTheBox - Blue
IppSec
HackTheBox - Calamity
IppSec
HackTheBox - SolidState
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 - Bashed
IppSec
HackTheBox - Flux Capacitor
IppSec
HackTheBox - Jeeves
IppSec
HackTheBox - Tally
IppSec
HackTheBox - CrimeStoppers
IppSec
HackTheBox - Fulcrum
IppSec
HackTheBox - Chatterbox
IppSec
HackTheBox - Falafel
IppSec
HackTheBox - Nibbles
IppSec
DeepCamp AI