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

Jerry

30 Jun 2018 · 8 min read · root access
Jerry - maquina de Hack The Box

Executive summary — Jerry is an Easy Windows box teaching a golden lesson: if you control an application-deployment panel, you already have code execution. An Apache Tomcat with the manager exposed and default credentials lets us upload a .war with a reverse shell; and since the service runs with high privileges, access is direct — no escalation. A Tomcat → WAR → RCE path.

PlatformHack The Box
Operating systemWindows
DifficultyEasy
StatusRetired
Target IP10.129.23.114

Attack map

[8080] Apache Tomcat
   │  /manager/html with default credentials (tomcat:s3cret)
   ▼
[DEPLOY]  upload a .war with a JSP reverse shell → Tomcat runs it
   ▼
[RCE]  the service runs with high privileges → direct access (no privesc)

1. Reconnaissance

We start with a full port scan:

nmap -p- --min-rate 10000 10.129.23.114
8080/tcp  open  http  Apache Tomcat

Recognisable pattern: Tomcat on 8080 should immediately make you think of the manager (/manager/html), default credentials and app deployment. That's almost always the path on this kind of lab or exam target.

With just this one finding we can already form a working hypothesis: if we manage to get into the manager, we can almost certainly upload a .war with a JSP reverse shell and get code execution.

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