HTB KOBOLD
Medium Linux machine. CVE-2026-23744 MCPJam Inspector RCE, operator group exploitation and Docker socket escape to host root.
Overview
Kobold is a Medium-difficulty Linux machine featuring Docker escape vulnerabilities and web application exploitation. This machine teaches:
- Web application reconnaissance
- CVE exploitation for modern frameworks
- Docker container breakout techniques
- Privilege escalation via container permissions
Enumeration
Port Scanning
Initial reconnaissance reveals standard web services and potential custom applications.
Key Services:
- HTTP web application
- Possible custom service ports
- Container management interfaces
Web Application Analysis
The target hosts a web application that appears to be:
- Built with modern frameworks
- Potentially vulnerable to known CVEs
- Running containerized services
Initial Foothold
Vulnerability Discovery
The path to initial access involves:
- CVE-2026-23744 - MCPJam Inspector RCE
- Exploiting web framework vulnerabilities
- Gaining shell access through unsafe deserialization or code execution
Exploitation Hints
Key areas to investigate:
- Application version disclosure
- User input handling
- File upload functionality
- API endpoints
User Access: Once inside, you'll find yourself in a containerized environment.
Privilege Escalation
Container Analysis
After gaining initial access, examine:
- Container runtime and permissions
- Available Docker sockets
- Group memberships
- Mounted volumes
Docker Escape
The privilege escalation involves:
- Identifying operator group membership
- Exploiting Docker socket access
- Container breakout to host system
- Root access on the underlying host
Key Concepts
- Understanding Docker socket exploitation
- Container vs host filesystem access
- Privilege abuse in containerized environments
Root Flag Location: /root/root.txt (on host system)
Key Takeaways
- Container security is critical
- Docker socket exposure is dangerous
- Group memberships matter
- Version disclosure aids exploitation
Tools Used
nmap- Port scanninggobuster/ffuf- Web enumeration- CVE-specific exploits
dockercommands for escape- Standard Linux privilege escalation tools
Continue the investigation
The complete field notes.
Every command, the full exploitation chain, and all scripts used in this investigation are available to members on Buy Me a Coffee.
Get the full writeup €5 one-off · or monthly membership