---
title: "Discussion on \"From Guest WiFi to Root: How One API Leak + SSTI Destroyed a Luxury Resort\" | Hashnode"
description: "Discussion on \"From Guest WiFi to Root: How One API Leak + SSTI Destroyed a Luxury Resort\". How an exposed API endpoint, Jinja2 SSTI, and password exposure led to full root compromise on a Flask WiFi captive web application portal."
url: "https://hashnode.com/posts/from-guest-wifi-to-root-how-one-api-leak-ssti-destroyed-a-luxury-resort/6a8972b5b6f56cae07180b57"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [From Guest WiFi to Root: How One API Leak + SSTI Destroyed a Luxury Resort](https://m1h.hashnode.dev/from-guest-wifi-to-root-how-one-api-leak-ssti-destroyed-a-luxury-resort?utm_source=hashnode&utm_medium=feed)

How an exposed API endpoint, Jinja2 SSTI, and password exposure led to full root compromise on a Flask WiFi captive web application portal.

Aug 22 · 5 min read · m1h.hashnode.dev  
Read the article

-   [#cybersecurity](https://hashnode.com/tag/cybersecurity)
-   [#penetration-testing](https://hashnode.com/tag/penetration-testing)
-   [#ethicalhacking](https://hashnode.com/tag/ethicalhacking)
-   [#api](https://hashnode.com/tag/api)
-   [#linux](https://hashnode.com/tag/linux)
-   [#ssti](https://hashnode.com/tag/ssti)
-   [#privilege-escalation](https://hashnode.com/tag/privilege-escalation)
-   [#web-security](https://hashnode.com/tag/web-security)
-   [#ctf](https://hashnode.com/tag/ctf)
-   [#flask](https://hashnode.com/tag/flask)

## Written by

[M1H](https://hashnode.com/@m1h)

@m1h · EMEA

  
[View profile](https://hashnode.com/@m1h)

Security Researcher | Bug Bounty Hunter | Purple Team | CTF Player

Penetration tester and security researcher. I disclose vulnerabilities, break into things legally, and write about pentesting, blue team ops, and secure code review. NASA VDP Letters of Recognition · Multiple Hall of Fames. 100+ CTFs completed.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
