Join the awesome community· Join the conversationOpen widget

Community

Join server
Hack The Box active 1,060 views

HTB BedSide Writeup

Hack The Box BedSide machine overview: PDFMiner path traversal, SSH key theft and PyTorch deserialization. Full walkthrough published after the machine retires.

BedSide
Medium active Hack The Box
BedSide completion
Protected while the machine is active

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

Machine profile

Platform
Hack The Box
Machine
BedSide
Difficulty
Medium
Published
Status
active

BedSide is a medium Linux machine built around a document service and a model-training workflow. Check how uploaded files are processed, then look for credentials or keys that connect the web foothold to another account.

The final stage involves a PyTorch model loaded by a privileged training script. If you are stuck, inspect what the script trusts and where it gets its input.

What this machine covers

Vulnerabilities

Software, services & tooling

PDFMiner Python Pickle PyTorch torch.load Rustscan Nmap

Techniques & attack classes

Path Traversal LFI Insecure Deserialization SSH Key Theft Linux Privilege Escalation

What the finished writeup contains

When BedSide 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,060 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: PDFMiner, CVE-2025-64512, Path Traversal, LFI, Python Pickle, Insecure Deserialization, PyTorch torch.load, SSH Key Theft, Rustscan, Nmap, Linux Privilege Escalation

Comments