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.
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
Techniques & attack classes
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.
- Reconnaissance Port scanning, service fingerprinting and attack-surface mapping
- Initial foothold The first authenticated or unauthenticated execution path
- Enumeration Deeper inspection of the exposed services and their configuration
- Exploitation Chaining the weaknesses found into a working exploit
- Credential recovery Secrets, keys and hashes, and how they were obtained
- Privilege escalation The route from the foothold account to a root shell
- 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
No comments yet — be the first to share your thoughts.