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
Want the complete exploitation chain? Get the PAID version on Buy Me a Coffee with all CVE details, docker escape commands, and step-by-step exploitation.
Complete writeup — members only
All commands, full syntax, step-by-step exploitation and every script used are available to members on Buy Me a Coffee.
Get full writeup on BMaC€5 one-off · or monthly membership