Overview
Silentium is an Easy-difficulty Linux machine featuring Flowise AI framework exploitation and Gogs privilege escalation. This machine teaches:
- Vhost enumeration techniques
- Flowise vulnerability exploitation
- Password reset token manipulation
- JavaScript injection for RCE
- Git repository exploitation
- Symlink-based privilege escalation
Enumeration
Domain Discovery
The box requires vhost enumeration to discover:
- Main domain:
silentium.htb - Subdomain:
staging.silentium.htb
Web Applications
Main Site (silentium.htb):
- Static fintech/corporate website
- Staff member names (potential usernames)
Staging Site (staging.silentium.htb):
- Flowise 3.0.5 - AI agent builder
- Login portal
- API endpoints
Initial Foothold
CVE Chain Overview
Email Enumerationchr(10) ↓chr(10)CVE-2025-58434 (Password Reset Token Leak)chr(10) ↓chr(10)Account Takeoverchr(10) ↓chr(10)CVE-2025-59528 (JS Injection RCE)chr(10) ↓chr(10)Shell Access
Email Enumeration
Flowise login endpoint reveals whether an email exists:
- 404 - Email doesn't exist
- 401 - Email exists, wrong password
Attack: Enumerate valid emails using staff names from main site
Password Reset Vulnerability
CVE-2025-58434 - Password reset tokens leak in API responses
Exploitation:
- Request password reset for valid email
- Capture reset token from response
- Use token to set new password
- Login with compromised account
JavaScript Injection RCE
CVE-2025-59528 - JavaScript code execution in Flowise workflows
Once authenticated, exploit workflow configuration to inject malicious JavaScript that executes on the server.
Privilege Escalation
Git Repository Exploitation
After initial access, discover:
- Gogs - Self-hosted Git service
- Running version vulnerable to CVE-2025-8110
Symlink Privilege Escalation
The vulnerability allows:
- Create malicious Git repository with symlinks
- Upload to Gogs
- Trigger server-side processing
- Symlink traversal to read/write privileged files
- SSH key injection or SUID binary creation
Root Flag Location: /root/root.txt
Key Takeaways
- Vhost enumeration is essential
- Email enumeration enables targeted attacks
- Password reset flows need protection
- JavaScript execution contexts are dangerous
- Git servers have unique attack surface
- Symlinks can bypass restrictions
Tools Used
nmap- Port scanninggobuster- Vhost/directory enumerationcurl- API testingburpsuite- Request manipulation- Custom exploit scripts
git- Repository interaction
Want the full exploitation chain? Get the PAID version on Buy Me a Coffee with all commands, CVE exploitation details, and complete privilege escalation walkthrough.
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