POSTS

HTB: Takeoff

Takeoff is a Hard-rated Linux machine where a Go template injection in ticket notes rendered by a PDF generator allows arbitrary file reads, leaking the web service's secrets. A boarding-pass QR code containing a gob-encoded payload is decoded, and its command field is forged with a valid HMAC signature to gain remote code execution as www-data. An API key recovered from the environment grants access to an internal n8n instance, where a malicious workflow with an Execute Command node yields root inside a container whose root directory is bind-mounted to a host user's home. Privilege escalation on the host is achieved by planting a SUID bash binary and an SSH key through the bind mount, escaping the web service's restricted mount namespace.

HTB: Takeoff
6670 words · 32 min

Overview

  • Type Machines
  • Direct link Takeoff
  • OS Linux
  • Severity Hard
  • Creator ctrlzero
  • Release date 2026 Nov 1 (JST)