Join the awesome community· Join the conversationOpen widget

Community

Join server
Hack The Box active 1,472 views

HTB Cohort Writeup

Hack The Box Cohort machine overview: an SSRF localhost filter bypass, pre-auth Marimo WebSocket RCE and PackageKit TOCTOU privesc. Full steps after retirement.

Cohort
Easy active Hack The Box
Cohort completion
Protected while the machine is active

Due to Hack The Box policies this walkthrough is not publicly served until Cohort retires. See the official HTB writeup guidelines.

Machine profile

Platform
Hack The Box
Machine
Cohort
Difficulty
Easy
Published
Status
active

Cohort is an easy Linux machine with a client-insights page that can reach internal services. Explore what the page fetches and how its localhost filter handles alternate address formats.

An internal notebook service provides the next lead, and the final step involves the system package manager. If you are stuck, enumerate the internal services first, then check the installed package-management components.

What this machine covers

Vulnerabilities

Software, services & tooling

Marimo Python PackageKit Rustscan Nmap

Techniques & attack classes

SSRF SSRF Localhost Filter Bypass Marimo WebSocket RCE Pre-Auth RCE TOCTOU Race Condition Linux Privilege Escalation

What the finished writeup contains

When Cohort retires, the complete walkthrough publishes here unchanged — every command, output and screenshot from the actual box, in the order it was solved.

  1. Reconnaissance Port scanning, service fingerprinting and attack-surface mapping
  2. Initial foothold The first authenticated or unauthenticated execution path
  3. Enumeration Deeper inspection of the exposed services and their configuration
  4. Exploitation Chaining the weaknesses found into a working exploit
  5. Credential recovery Secrets, keys and hashes, and how they were obtained
  6. Privilege escalation The route from the foothold account to a root shell
  7. Flags User and root flag capture

1,472 views on this machine so far — demand is tracked, and the walkthrough publishes the moment the box retires.

Why is this walkthrough protected right now?

No active-machine solution, flag, credential, exploit chain or private asset appears on this public page. Only the machine's profile, the topics it covers and a description of what the finished writeup will contain are published while the box is live.

Topics: SSRF, SSRF Localhost Filter Bypass, Marimo, Marimo WebSocket RCE, CVE-2026-39987, Pre-Auth RCE, Python, PackageKit, CVE-2026-41651, TOCTOU Race Condition, Linux Privilege Escalation, Rustscan, Nmap

Comments