- Machine
- Worker
- OS
- Windows
- Difficulty
- Medium
- Steps
- 4
- Added
- 23 Mar 2023
Leaked SVN creds and an Azure DevOps webshell give a foothold; a malicious build pipeline runs as SYSTEM.
How it went
- 0nmap
An nmap scan shows IIS and an SVN service.
- 1SVN creds
SVN history leaks nathen:wendel98 and a dimension.worker.htb Azure DevOps host.
- 2DevOps webshell
Committing an ASPX webshell and approving its pull request deploys it, giving a shell as the app pool.
- 3robisl
A svnrepos passwd file holds many credentials; only robisl has a home directory, so an Evil-WinRM login as robisl grabs the user flag.
- 4build pipeline
As robisl, a malicious build pipeline runs as SYSTEM, yielding the root flag.