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

WingData

14 Feb 2026 · 12 min read · root access
WingData - maquina de Hack The Box

Executive summary — WingData is an Easy Linux box that chains two real 2025 CVEs: an unauthenticated RCE in Wing FTP Server (CVE-2025-47812, listed on CISA's Known Exploited Vulnerabilities Catalog) for the initial shell, and an arbitrary file write in Python's tarfile module (CVE-2025-4517) to jump from a tightly scoped sudo rule to full root. In between, a password hash cached in the FTP server's own configuration is cracked offline and reused over SSH/su. A Web → RCE (Lua) → SSH → tar/sudo → Root path.

PlatformHack The Box
Operating systemLinux
DifficultyEasy
StatusRetired
Target IP10.129.244.106

Attack map

[80] wingdata.htb → Client Portal → ftp.wingdata.htb
   │  Wing FTP Server 7.4.3 · CVE-2025-47812 (null-byte → Lua RCE, unauth)
   ▼
[SHELL]  wingftp
   │  /opt/wftpserver/.../wacky.xml → hash → offline crack
   ▼
[SSH]  wacky   (user.txt)
   │  sudo -l → NOPASSWD python3 restore_backup_clients.py *
   ▼
[TAR]  the script calls tar.extractall() · CVE-2025-4517 (arbitrary write)
   ▼
[ROOT]  sudoers for wacky → sudo /bin/bash

1. Reconnaissance

Version detection and default scripts against every port:

nmap -sCV -A 10.129.244.106
22/tcp  open  ssh    OpenSSH
80/tcp  open  http   Apache

Only two open ports, so the attack surface is tight: either port 80 hides more than it shows, or SSH needs credentials we don't have yet. Time to dig into the web server.

Port 80 redirects to http://wingdata.htb instead of answering on the bare IP, which gives away virtual hosting: Apache is serving different content based on the Host header, and there's likely more than one hostname configured that we don't know about yet.

🔒 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.