ZipSlip w/ TAR & Server-Side Template Injection - HackTheBox University CTF - "Slippy"

46,614
0
Published 2021-12-02
Join HackTheBox and start rooting boxes! j-h.io/hackthebox
Find some tips and tricks on their blog! j-h.io/htb-blog

For more content, subscribe on Twitch! twitch.tv/johnhammond010
If you would like to support me, please like, comment & subscribe, and check me out on Patreon: patreon.com/johnhammond010
PayPal: paypal.me/johnhammond010
E-mail: [email protected]
Discord: johnhammond.org/discord
Twitter: twitter.com/_johnhammond
GitHub: github.com/JohnHammond

If you would like to support the channel and I, check out Kite! Kite is a coding assistant that helps you code faster, on any IDE offer smart completions and documentation. www.kite.com/get-kite/?utm_medium=referral&utm_sou… (disclaimer, affiliate link)

All Comments (21)
  • @Gweedzy
    heyy John, I've been watching hours of your content and I think this is the right moment to leave a comment. I really love your videos and especially the rythm and the way you say everything that goes through your mind I'm still kind of half a noob at programming but listening to you thinking and testing stuff is way more enjoyable and inspiring than boring tutorials Thank your for sharing your knowledge, I wish you the best from France -A random dude that learns and devs web and python apps in his bedroom at parents'
  • @94flow93
    john i've been subscribed for years and was really big on your channel about early last year. I fell off because of school and other stuff but tonight i sat down and watched the whole thing through, which I normally never do to any youtube video. now my itch is back and I want to get back into CTFs. thanks for sticking around and for the constant flow of informative engaging content.
  • @m4rt_
    I found your channel many months ago through these kinds of videos, and here I am, still watching these videos.
  • Love your vids man, teaching me to be a better programmer and problem solver...thanks for sharing your brain and time.
  • @karlkoch5417
    "Werkzeug" is german for "tool". Watching you is so interesting and helpful, love your videos. Greetings from germany.
  • @XiSparks
    I'm 100% using "That floated my fancy" in my day to day conversation from now on.
  • @JonathanLeeDev
    Would be interested to see a CTF where you are to attack a Spring Boot Java application. Love the videos BTW!
  • I am your great fan john, I have learnt many stuffs from your vids
  • @creaky2436
    I’m a front end dev but can’t stop watching your videos. Is this a sign?? Haha
  • @_CryptoCat
    no chapters in a 40 min video 😱 this was a great challenge! nice to see the extra exploration of SSTI, i just replaced one of the python files with a modified version containing some friendly (totally non malicious) code 😈
  • @ZeldoKavira
    Sublime allows you to open an entire folder at a time so that its easier for the viewers to follow along on where you are in the file tree
  • @greob
    Great video, thanks for sharing!
  • @saite2560
    Love the videos, they are always so much to absorb I love it. your probably aware of this one, but when you get a code output that's is all jumbled. rather then trying to splitting the code up. which works no doubt, just seems quicker or run it through an online code beautifier. some code editors might have a auto beautifier. they have them for most of the code language's. they doesn't alter the code just makes it human readable. puts in the tabs in the right spot for python. or other code types. also adds color for more complicated code which is a nice touch.
  • @maurox1614
    That's why I always run the webserver as a low privileged user and set all permission on files as read-only (for the web server user). Anyway as always thank you for sharing the knowledge!
  • Since it was running as root, could have just injected a python script to give you reverse TCP and it should be a reverse shell running as root, correct?