Security Research

CTF Writeups & Exploitation Labs

Detailed proof-of-concept writeups, vulnerability chains, and privilege escalation methodologies from CTFroom, TryHackMe, and HackTheBox challenges.

●Subdomain Gateway:writeups.gomezganishaba.me
CTFroomLinux (Ubuntu)
Easy / Intermediate

CTFroom: Overpass — Broken Authentication & Cron Job Script Hijacking

Analyzing client-side JavaScript authentication logic to bypass administrative login via cookie tampering, recovering an encrypted SSH private key, and exploiting a world-writable script invoked by root in crontab.

OWASP A01Broken AuthenticationCookie Tampering+3
10 min readRead Walkthrough →
CTFroomLinux (Ubuntu)
Easy

CTFroom: Simple CTF — Time-Based Blind SQLi & Vim Sudo Escape

Discovering CMS Made Simple 2.2.8, executing a time-based blind SQL injection exploit (CVE-2019-9053) to exfiltrate administrative password hashes, and escaping a restricted sudo vim session to achieve root privilege.

CMS Made SimpleCVE-2019-9053Blind SQLi+3
8 min readRead Walkthrough →
CTFroomLinux (Ubuntu)
Easy

CTFroom: Bounty Hacker — Anonymous FTP, Hydra & Sudo Tar Wildcard Exploitation

Investigating an anonymous FTP server to extract task logs and password lists, executing an SSH dictionary attack with Hydra, and escalating privileges to root via an insecure tar wildcard checkpoint command in sudoers.

FTP AnonymousHydraRockyou+3
8 min readRead Walkthrough →
CTFroomWindows 7 Professional
Easy

CTFroom: Blue — EternalBlue (MS17-010) Exploitation & SAM Credential Dumping

Exploiting the infamous EternalBlue (MS17-010 / CVE-2017-0144) vulnerability in Microsoft SMBv1 to achieve remote kernel-level code execution, obtaining an immediate NT AUTHORITY\SYSTEM shell, and extracting NTLM password hashes from the Windows SAM database.

EternalBlueMS17-010SMBv1+4
9 min readRead Walkthrough →
CTFroomWindows Server
Easy / Intermediate

CTFroom: Steel Mountain — Rejetto HFS Exploitation & Windows Unquoted Service Path

Exploiting Rejetto HTTP File Server 2.3 (CVE-2014-6287) to achieve initial foothold on Windows, running PowerUp.ps1 to uncover an Unquoted Service Path vulnerability, and replacing the service binary to gain SYSTEM authority.

WindowsRejetto HFSCVE-2014-6287+3
11 min readRead Walkthrough →
CTFroomLinux (Ubuntu)
Easy / Intermediate

CTFroom: Kenobi — Samba Share Enumeration, ProFTPd RCE & SUID Path Hijacking

Enumerating anonymous Samba shares, leveraging a ProFTPd mod_copy vulnerability (CVE-2015-3306) to copy private SSH keys via an accessible NFS share, and escalating to root via SUID environment PATH manipulation.

Samba EnumerationProFTPd CVE-2015-3306NFS Mounting+2
10 min readRead Walkthrough →
CTFroomLinux (Ubuntu)
Easy

CTFroom: RootMe — Web File Upload Bypass (.phtml) & SUID Privilege Escalation

Bypassing client-side and server-side file extension filters to upload a PHP webshell using .phtml extension, capturing a reverse shell, and hunting for misconfigured SUID binaries to elevate directly to root.

File Upload Bypass.phtml ExtensionSUID Abuse+2
7 min readRead Walkthrough →
CTFroomLinux (Ubuntu)
Easy

CTFroom: Basic Pentesting — Brute Force, Hash Cracking & Sudo Escalation

A structured assessment covering SMB share enumeration, brute forcing SSH credentials with Hydra, harvesting shadow password hashes, and cracking hashes with Hashcat to achieve root access.

HydraHashcatJohn the Ripper+3
8 min readRead Walkthrough →
CTFroomLinux (Ubuntu 18.04)
Easy / Intermediate

CTFroom: Ignite — Exploiting Fuel CMS 1.4.1 RCE & Root Escalation

Exploiting a pre-auth remote code execution vulnerability in Fuel CMS 1.4.1 (CVE-2019-14322) via PHP evaluation, locating hardcoded database root credentials in configuration files, and escalating to root.

Fuel CMSCVE-2019-14322RCE+2
9 min readRead Walkthrough →
CTFroomLinux (Ubuntu)
Easy

CTFroom: Pickle Rick — Web Enumeration, Command Injection & Sudo Abuse

A complete walk-through of the Pickle Rick room: uncovering credentials in HTML comments, bypassing basic bash command filters on the web portal, and escalating privileges to root via full sudo privileges.

ReconnaissanceSource Code InspectionCommand Injection+2
7 min readRead Walkthrough →