Sitemap

HTB Server Side Attacks Skills Assessment

2 min readSep 16, 2026

--

Hi everybody, in this post i’ll guide you through the skills assessment of the HTB Server-Side-Attacks module.

The target system is “Flavor Fusion Express”

Press enter or click to view image in full size

After clicking for too many times on the “menu/reviews/contact” buttons i finally understood that those are fake , so i moved on.

Get Rolland Dollidze’s stories in your inbox

Join Medium for free to get updates from this writer.

By scrolling down the page i got to the trucks location sections

Press enter or click to view image in full size

I understood that this part of the page must be dynamic, so i checked on ZAP if i could find some POST or GET requests that gives value to the truck location. I soon found that the site asks another site about the location: “truckapi.htb”.

Press enter or click to view image in full size

From here i tried SSI SSTI and XSLT payloads in order to get errors from the server and undestand what i was dealing with. Soon i understood that the third pary server uses a template language, so i tested the variouse combination of payloads to identify the tamplate language in use by the server “I follow the graph previously shown in the module”

Press enter or click to view image in full size

At the end Twig was the used template language and with that knoladge i easly got the flag with the payload

{{['cat%20flag.txt']|map('system')}}

I also took the extra step of enumerating the website’s ports and directories to expand the attack surface, but this approach didn’t lead to anything useful.

--

--