Writeups
Technical deep-dives from HackTheBox and TryHackMe — web, Active Directory, and Linux privilege-escalation walkthroughs.
Touch — DeviceHub Serial Auth & Kiosk Breakout to Printer Plugin SYSTEM
Logged into a Nexion DeviceHub admin panel using a serial number leaked from an unauthenticated API endpoint as the device password, then pulled kiosk operator credentials for an RDP session. Broke out of the passport-scan kiosk by crashing it into an exposed browser for arbitrary file read and a shell as the kiosk user, and escalated to SYSTEM by dropping a malicious plugin DLL into a writable folder loaded by a printer service running as SYSTEM.
Layover — Wireless Pivot & Authenticated Craft CMS RCE to CUPS Root
Pivoted from an assumed-breach RDP workstation onto a firewalled portal subnet by bringing up a downed wireless interface, then sniffed another client's cleartext HTTP login over the open Wi-Fi to recover portal credentials. Used an authenticated Craft CMS RCE (CVE-2026-44011) for a foothold, decrypted a Craft-encrypted mail-relay password from the database to move to a second user, and abused a loopback CUPS service (CVE-2026-34990) to escalate to root.
Management — OpenAM Unauthenticated RCE & GLPI LDAP Key Decryption to rdiff-backup Root
Fingerprinted an OpenAM single sign-on host and landed a foothold with an unauthenticated RCE (CVE-2026-33439). Pivoted through a co-located GLPI install, reading its database config and decrypting the LDAP bind password with GLPI's own key file rather than cracking it, to move to a desktop user. Escalated to root by abusing a sudo rdiff-backup server rule whose trailing wildcard let the restricted path be bypassed to restore root's SSH key.
DanglingTree — Windows Admin Center RCE & SmarterMail Chain to AD CS Phantom-Template Root
A Windows domain controller where a leaked rules-of-engagement document on an anonymous SMB share hands over a foothold into a web management console that runs operator-supplied PowerShell. A chain through an internal mail server and saved Windows credentials walks across four domain accounts, and the box finishes by abusing a certificate authority that publishes templates which do not actually exist in the directory.
Cohort — SSRF & Marimo Pre-Auth RCE to PackageKit Pack2TheRoot Root
Bypassed an analytics portal's URL validator with 0.0.0.0 to turn a client-insights feature into SSRF, exposing the nginx routing table and an internal Marimo notebooks workspace. Hit Marimo with a pre-auth websocket RCE (CVE-2026-39987) straight through the TLS reverse proxy for a shell as marimo, then rooted the box by racing PackageKit's InstallFiles authorization check with the Pack2TheRoot flaw (CVE-2026-41651) to install a malicious .deb as root.
Bedside — pdfminer Pickle RCE to MONAI Checkpoint torch.load Root
Abused a clinic research subdomain's scan upload, parsed by pdfminer.six, to point a crafted PDF /Encoding at an attacker-planted pickle (CVE-2025-64512) for code execution inside a Docker container. Tunnelled an internal image viewer with chisel, used its path traversal for arbitrary file read to grab a developer SSH key, then rooted a passwordless sudo MONAI trainer that loads the newest checkpoint through torch.load pickle deserialization from a group-writable directory.
Paperwork — LPD Print-Daemon Injection & PJL Traversal to SCM_RIGHTS Root
Exploited an unsanitized job-name in the intake portal's leaked LPD print daemon (echo built with shell=True) for command injection, driving the full LPD control-file handshake from a raw socket to land a shell as lp. Abused a second jetdirect service on 9100 whose PJL FSDOWNLOAD never stripped ../ to write an SSH key as archivist, then rooted a daemon that leaks a root-opened descriptor to admin_pins.conf over SCM_RIGHTS.
MakeSense — WordPress Voice-XSS Admin Takeover & OCR-to-PHP Root
Recovered jake's WordPress password from an AI-generated voice memo in an open uploads directory, then forged the browser's own AES-GCM payload to store an XSS in the voice-transcription feature — the admin bot ran it, creating an administrator, and a malicious plugin gave a www-data shell. Reused walter's DB password from wp-config.php to SSH in, then rooted a loopback OCR service by having it transcribe a no-underscore PHP payload into a root-owned shell.php that set SUID bash.
Enigma — NFS Onboarding Leak & OpenStaManager RCE to OliveTin Root
Grabbed an onboarding PDF off an open NFS share and reused its webmail password to reach sarah's mailbox, which handed over OpenStaManager admin creds and a hidden host. Got a shell via the OpenStaManager 2.9.8 filename command injection (CVE-2025-69212) with a crafted .p7m, cracked haris's bcrypt hash from the database, then rooted a loopback OliveTin whose unsanitized password argument (GHSA-49gm-hh7w-wfvf) dropped a SUID bash.
Orion — Craft CMS Preauth RCE to telnet Forwarded-Login Root
Popped a www-data shell through the unauthenticated Craft CMS RCE (CVE-2025-32432) using its Metasploit module, then grabbed cleartext DB creds out of Craft's .env and cracked adam's bcrypt hash to SSH in. Rooted a loopback GNU inetutils telnet daemon (CVE-2026-24061) where setting USER='-f root' forces a passwordless forwarded login.
Nimbus — IMDS SSRF & SQS Job Injection to Privileged CodeBuild Host Root
Chained an SSRF in a job scheduler up to AWS IMDS to leak role creds, beating the .yaml suffix check with a URL fragment and the internal-IP filter with a decimal-encoded address. Dropped a message on the nimbus-jobs SQS queue for RCE in the LocalStack worker container, hit the floci backend directly to skip the IAM proxy, then spun up a privileged CodeBuild project and overwrote /proc/sys/kernel/modprobe to land as root on the host.
Checkpoint — VS Code Extension RCE & BadSuccessor dMSA to Memory-Dump Domain Admin
Restored a deleted user out of the AD Recycle Bin to unlock a BadSuccessor dMSA write path on a Server 2025 DC, then dropped a malicious VS Code .vsix into a developer SMB share for a foothold as ryan.brooks. Chained a second dMSA succession to inherit svc_deploy, read a VM memory image from the VMBackups share, and dumped the local Administrator hash with Volatility to pass-the-hash to Domain Admin.
Connected — FreePBX SQLi RCE to incron init.conf Root
Fingerprinted Sangoma FreePBX 16.0.40.7 and exploited the unauthenticated CVE-2025-57819 SQL-injection-to-RCE chain with watchTowr's PoC to drop a webshell and pivot to a Python reverse shell as asterisk. Escalated to root via an incron rule that re-runs a dahdi restart script, which sources a writable init.conf; planting a command there appends a SUID payload to /bin/bash.
DevHub — MCPJam Inspector RCE to Hidden MCP Admin-Dump Root
Exploited unauthenticated RCE in MCPJam Inspector (CVE-2026-23744) via /api/mcp/connect for a foothold as mcp-dev, recovered a Jupyter Lab token from /proc/<pid>/cmdline, and chisel-forwarded the internal port 8888 to land a shell as analyst through Jupyter's built-in terminal. Escalated to root through an internal OPSMCP Flask server whose undocumented ops._admin_dump tool leaked root's private SSH key once hit with a hardcoded API key.
Reactor — Next.js React2Shell RCE to Node Inspector Root
Exploited the React2Shell deserialization RCE in Next.js 15.0.3 (CVE-2025-55182) via a crafted Next-Action request for a node shell. Cracked an MD5 hash from a SQLite database for engineer's SSH creds, then abused a root Node.js process exposing --inspect on port 9229 to SUID /bin/bash.
SmartHire — MLflow Pickle RCE to Python .pth Privesc
Found a models subdomain running MLflow 2.14.1, logged in with default creds, and got a shell as svcweb via pickle-deserialization RCE (CVE-2024-37054). Escalated to root by abusing a sudo Python script calling site.addsitedir, dropping a malicious .pth file to SUID /bin/bash.
Helix — Apache NiFi RCE to OPC UA PLC Privesc
Got RCE on an anonymous-writable Apache NiFi 1.21.0 instance via H2 RUNSCRIPT (CVE-2023-34468), then found operator's SSH key in a support bundle. Cracked a password-protected PDF, then drove a PLC over OPC UA to satisfy a maintenance window so a sudo-allowed console granted root.
Silentium — Flowise RCE to Gogs Symlink Privesc
Abused a Flowise password-reset token to take over ben's account, then got RCE via the CustomMCP module (CVE-2025-59528) inside a Docker container. Reused a leaked SMTP env password for SSH, then exploited a Gogs symlink vulnerability (CVE-2025-8110) on a forwarded port for root.
DevArea — SOAP XOP File Read to Hoverfly RCE
Pulled a JAR from anonymous FTP to find a CXF SOAP service, then used an XOP/MTOM xop:Include file:// read to leak Hoverfly creds. Authenticated and got RCE via Hoverfly middleware (CVE-2025-54123), then escalated by overwriting a world-writable /usr/bin/bash invoked by a sudo script.
Kobold — MCPJam Unauth RCE to Docker Group Escape
Gained a foothold as ben through unauthenticated RCE in MCPJam Inspector (CVE-2026-23744) via the /api/mcp/connect endpoint. Abused operator group membership to newgrp into docker, then mounted the host filesystem in a container run with --user root to read root's flag.
CCTV — ZoneMinder SQLi to MotionEye Authenticated RCE
Logged into ZoneMinder with default creds, dumped user hashes via CVE-2024-51482 SQL injection to crack mark's SSH password. Sniffed sa_mark's plaintext creds off an internal Docker service with tcpdump, then escalated to root through MotionEye authenticated RCE (CVE-2025-60787).
Pirate — pre2k & gMSA to RBCD/KCD Domain Admin
Abused a pre-Windows 2000 machine account to read gMSA passwords and WinRM in. Pivoted via PetitPotam NTLM relay and RBCD for SYSTEM on WEB01, dumped a.white from LSA secrets, then chained ForceChangePassword, WriteSPN hijacking and KCD protocol transition to compromise the DC.
Interpreter — Mirth Connect RCE to f-string eval Root
Exploited CVE-2023-43208 deserialization RCE in Mirth Connect 4.4.0 for a shell, dumped DB creds, and cracked a PBKDF2-HMAC-SHA256 hash to become sedric. Escalated to root via a code-injection flaw in a root-run Flask app that evals an f-string built from XML patient fields.
WingData — Wing FTP Unauth RCE to tar Traversal Root
Exploited CVE-2025-47812 unauthenticated RCE in Wing FTP Server 7.4.3 for a shell, then cracked a salted SHA-256 password from settings.xml to SSH as wacky. Escalated to root via a sudo restore script vulnerable to CVE-2025-4517 tarfile path traversal to write authorized_keys.
Pterodactyl — Panel RCE to udisks/PAM XFS Root
Exploited CVE-2025-49132 in Pterodactyl Panel to leak config and drop a pearcmd PHP webshell as wwwrun. Forged an admin via artisan tinker, cracked a bcrypt hash to SSH as phileasfogg3, then abused the udisks/PAM XFS loopback flaw for a SUID-root bash.
Facts — Camaleon CMS Arbitrary File Read to facter Root
Abused CVE-2024-46987 in Camaleon CMS for arbitrary file read, looted an encrypted SSH key for trivia and cracked its passphrase with John, then escalated to root through a NOPASSWD facter --custom-dir GTFOBin.
Browsed — Chrome Extension SSRF to Bash Arithmetic RCE
Uploaded a malicious Chrome extension whose background script reached a localhost-only Flask app, then triggered command injection via Bash arithmetic expansion in a [[ -eq ]] comparison for a shell. Escalated to root through Python __pycache__ bytecode poisoning of a sudo-run script.
Fluffy — AD CS ESC16 & Shadow Credentials
Uploaded a malicious .library-ms (CVE-2025-24071) to a writable IT share to coerce p.agila's NTLMv2 hash, abused GenericWrite via shadow credentials for service-account NT hashes, then exploited AD CS ESC16 with Certipy to impersonate the administrator.
Nocturnal — IDOR File Disclosure to ISPConfig RCE
Fuzzed an IDOR username parameter to read other users' uploads, extracted amanda's password from an .odt, used admin-panel command injection for a shell, cracked tobias's DB hash, then exploited ISPConfig 3.2.10p1 (CVE-2023-46818) over a tunnel for root.
Code — Python Sandbox Escape to backy.sh Root
Bypassed a keyword-filtered Python code editor via __mro__/__subclasses__ to reach subprocess.Popen for RCE, cracked martin's hash from the SQLite DB, then abused a sudo backup script (backy.sh) that only stripped ../ to traverse with ....// and archive root's files.
EscapeTwo — MSSQL Credential Reuse to AD CS ESC4
Pulled cleartext passwords from a malformed XLSX share and a sql-Configuration.INI to land as ryan. Abused WriteOwner over ca_svc, shadow-credentialed its NT hash, then exploited a vulnerable ESC4 certificate template to mint an Administrator cert and pass-the-cert.
Surveillance — Craft CMS CVE-2023-41892 RCE to ZoneMinder sudo zmupdate Root
Exploited an unauthenticated Craft CMS RCE (CVE-2023-41892) for a www-data shell, found a database backup in Craft's storage directory, and cracked Matthew's raw SHA-256 hash to SSH in. Pivoted into an internal ZoneMinder instance over an SSH tunnel, got a zoneminder shell via command injection (CVE-2023-26039), then abused a NOPASSWD sudo rule on zmupdate.pl whose unsanitized --user argument runs a command substitution as root to drop a SUID bash.
Devvortex — Joomla CVE-2023-23752 Info Disclosure to apport-cli Root
Found a dev virtual host running Joomla and used the CVE-2023-23752 information disclosure to leak the lewis database credentials, then installed a webshell plugin for a www-data shell. Pulled the Joomla users table from MySQL, cracked logan's bcrypt hash to SSH in, and escalated through a sudo apport-cli pager escape (CVE-2023-1326) to root.
TwoMillion — Invite API Abuse to OverlayFS LPE
Reverse-engineered an obfuscated invite-code API to register, escalated to admin via an is_admin mass-assignment, gained RCE through command injection in admin VPN generation, then rooted via the OverlayFS/FUSE kernel bug CVE-2023-0386.
Escape — MSSQL to Active Directory Certificate Services
Pulled MSSQL creds from a public SMB share, coerced and cracked an NTLMv2 hash via xp_dirtree, recovered Ryan.Cooper's password from a SQL error log, then exploited a vulnerable AD CS template (ESC1) with Certipy to forge an administrator certificate.
Precious — pdfkit Command Injection to Ruby YAML Root
Exploited a URL-to-PDF feature backed by pdfkit 0.8.6 (CVE-2022-25765) for command injection, pivoted to henry via creds in a .bundle config, then abused a sudo Ruby script's unsafe YAML.load to deserialize a malicious dependencies.yml for root.
Trick — DNS Zone Transfer & SQLi to fail2ban Root
Pulled hidden subdomains via a DNS zone transfer, bypassed a login with SQL injection, and read the nginx config with sqlmap FILE privileges. Exploited a ..././ LFI bypass with log poisoning for a shell, then abused a sudo fail2ban restart for root.
Meta — ExifTool Upload RCE to neofetch sudo Root
Triggered ExifTool RCE (CVE-2021-22204) on a dev subdomain image processor for a www-data shell. Pivoted to thomas via an ImageMagick mogrify cron (CVE-2020-29599), then escalated to root by hijacking XDG_CONFIG_HOME in a sudo neofetch rule.
Postman — Unauthenticated Redis RCE to Webmin Root
Abused an unauthenticated Redis 4.0.9 instance to write an SSH authorized_keys file. Cracked an encrypted backup RSA key with John to pivot to Matt, then used those creds against Webmin 1.910 (CVE-2019-12840) for a root shell.
Nibbles — Nibbleblog File Upload RCE to pkexec Root
Found a Nibbleblog install, leaked the admin user from users.xml and guessed the password. Abused the My Image plugin arbitrary file upload to drop a PHP reverse shell, then escalated to root with the polkit (pkexec) local privilege escalation.
Sense — pfSense Default Creds to Authenticated RCE
Fuzzed the HTTPS portal to find system-users.txt leaking the rohit username, then logged into pfSense 2.1.3 with the default password. Exploited the authenticated status_rrd_graph_img.php command injection for a direct root shell.
Mirai — Pi-hole Default Creds to USB Device Forensics Root
Identified a Raspberry Pi running Pi-hole and logged in over SSH with the default pi:raspberry credentials. Escalated via unrestricted sudo, then recovered the deleted root flag from the /dev/sdb USB block device with strings.
Cronos — SQLi Auth Bypass & Command Injection to Laravel Cron Root
Fuzzed a virtual host to reach an admin panel, bypassed its login with SQL injection, and turned the panel's net-tool feature into command injection for a shell as www-data. Found database credentials in config.php, then escalated by overwriting the www-data-owned Laravel artisan file that a root cron job runs every minute with a PHP reverse shell.
