root@thehacksparrow:~/writeups$ SYSTEM ONLINE
root@sparrow:~/writeups$ cat traverxec.md
// writeups

Traverxec

16 Nov 2019 · 8 min read · root access
Traverxec - maquina de Hack The Box

Executive summary — Traverxec is an Easy Linux box with three clean steps: an unauthenticated RCE in Nostromo 1.9.6 (CVE-2019-16278); a backup of david's SSH key hidden on the server (with an encrypted passphrase cracked offline); and a textbook escalation via sudo journalctl that — run without the | cat the legitimate script uses — opens the less pager, from which you spawn a root shell. A Nostromo RCE → david's SSH backup → sudo journalctl → root path.

PlatformHack The Box
Operating systemLinux
DifficultyEasy
StatusRetired
Target IP10.129.1.246

Attack map

[80] nostromo 1.9.6
   │  CVE-2019-16278 — path traversal → RCE (unauth)
   ▼
[www-data]
   │  david's SSH key backup in protected-file-area
   ▼
[SSH]  david  (encrypted id_rsa → passphrase via john: "hunter")  → user.txt
   │  sudo journalctl -u nostromo.service (no pipe to cat → opens less)
   ▼
[ROOT]  from less: !/bin/sh

1. Reconnaissance

nmap -sC -sV -p- 10.129.1.246
22/tcp  open  ssh
80/tcp  open  http  nostromo 1.9.6

The clue: the web server is Nostromo 1.9.6, an uncommon server with a known public RCE — not a generic Apache/Nginx.

🔒 Clearance required

This content is Root Access only. Everything else on the site — the free tier, the whole public library — stays open.

See Root Access plans

No account? Create one free then upgrade from your console.