HackTheBox - Faculty
00:00 - Intro
01:01 - Start of nmap
02:10 - Testing login of the webapp, finding SQL Injection to bypass it
03:20 - Running gobuster with our cookie so it has access to any authenticated page
04:50 - Examining the course edit functionality and discovering how the page tells us if our update was a success
05:50 - Explaning the dangerous thing with update injections, we accidentally changed EVERY row.
08:45 - Extracting information from this Update Injection in MySQL by editing a second column
10:15 - Standard MySQL Injection to extract table information from Information_Schema, then dumping has…
Watch on YouTube ↗
(saves to browser)
Chapters (25)
Intro
1:01
Start of nmap
2:10
Testing login of the webapp, finding SQL Injection to bypass it
3:20
Running gobuster with our cookie so it has access to any authenticated page
4:50
Examining the course edit functionality and discovering how the page tells us
5:50
Explaning the dangerous thing with update injections, we accidentally changed
8:45
Extracting information from this Update Injection in MySQL by editing a second
10:15
Standard MySQL Injection to extract table information from Information_Schema,
15:00
Showing a second login form, which is also SQL Injectable
17:00
Examining the Generate PDF Function
19:00
Verifying we can put HTML in the PDF
21:40
Going to GitHub Issues and finding issues with MPDF to find vulnerabilities in
22:30
Showing we do have SSRF but this doesn't really give us anything
24:10
Using Annotations to add loca files into the PDF
25:25
Dumping source code of the webapp to find the configuration file, then getting
29:40
Testing the MySQL Password with SSH and logging in as gbyolo
31:20
Exploiting Meta-Git to gain access to the developer user
36:40
Shell as Developer and running LinPEAS
38:48
Testing CVE-2022-2588 as a privesc on Ubuntu, it works! (unintended route)
42:30
Finding GDB has cap_sys_ptrace permissions, which means we can debug processes
43:20
Using MSFVENOM to generate shellcode to perform a reverse shell, which we will
45:00
Creating a python script to format the shellcode in a way we can just paste it
46:25
Explaining the modulo operator (%) which is how we will pad our payload
49:00
Building our payload
53:00
Payload has been built! Lets inject it into a process and get a shell
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