HTB: Abducted

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

A walkthrough of the HackTheBox machine 'Abducted', a Linux box exploited through multiple chained vulnerabilities. The initial foothold uses CVE-2026-4480, a command injection in Samba's printing subsystem where the print job name (%J substitution) is passed to the shell unescaped, allowing RCE as nobody. Lateral movement to scott is achieved by decoding an obfuscated rclone backup config password. Access to marcus is gained by abusing a Samba share configured with wide links and force user, allowing an SSH key to be planted in marcus's home directory via SMB symlink traversal. Root is obtained by writing a malicious ExecStartPre directive to the smbd systemd drop-in directory (writable by the operators group) and restarting smbd via a polkit rule that permits operators to manage that specific service.

21m read timeFrom 0xdf.gitlab.io
Post cover image
Table of contents
Box InfoReconShell as nobodyShell as scottShell as marcusShell as rootBeyond Root - systemd Config
190 Impressions