For the complete documentation index, see llms.txt. This page is also available as Markdown.

HTB - Shibboleth Walkthrough ๐Ÿฅท

โ€œDonโ€™t half-ass it. When you stop midway, you lose your momentum and make dumb mistakes.โ€

๐Ÿ” Initial Recon

๐Ÿ”Ž TCP Scan

Only one port stood tall:

80/tcp open  http    syn-ack Apache httpd 2.4.41
| http-methods: 
|_  Supported Methods: GET HEAD POST OPTIONS
|_http-title: Did not follow redirect to http://shibboleth.htb/
|_http-server-header: Apache/2.4.41 (Ubuntu)
Service Info: Host: shibboleth.htb

So itโ€™s likely a web-based entry point โ€” either a web shell, RCE, or hopefully SSH later on (I like having a stable shell, sue me).

๐Ÿ”Ž UDP Scan

623/udp open  asf-rmcp

Yup. Thatโ€™s IPMI. A classic hole in many networks. Tucking that away for laterโ€ฆ

๐ŸŒ Subdomain Discovery

ffuf -u http://shibboleth.htb -H 'Host: FUZZ.shibboleth.htb' -w /usr/share/wordlists/seclists/Discovery/DNS/subdomains-top1million-5000.txt -fw 18

Found:

All routed to the same interface/site. Interesting. Burp showed some app behavior, but nothing juicy yet.

๐Ÿ” Circle Back to UDP (623/IPMI)

Ref: HackTricks on IPMI

Used Metasploit to pull potential hashes:

๐Ÿ’ฅ Got a juicy hash:

Saved it and cracked it:

๐Ÿ” Zabbix Login

Tried creds on Zabbix from subdomain โ€” and it worked.


๐Ÿ–ฅ๏ธ Reverse Shell via Zabbix

To execute a reverse shell, used Zabbix's system.run[] item:

โš ๏ธ Without nowait, the session died in ~4 seconds. Annoying little gotcha.

Made the shell stable with:

๐Ÿ”„ Priv Esc - Switching Users

Poked around. Found a second user: ipmi-svc. Tried the same password. It worked.

๐Ÿงช Enumeration & Dead Ends

  • Checked /etc/zabbix/zabbix_server.conf for DB creds.

  • Looked at sudo perms.

  • Dug through config files.

  • Nada. No root path in sight. (Paused here because guests showed up. Came back later.)

๐Ÿคฏ Moment of Clarity: MariaDB Version Exploit (CVE-2021-27928)

Shouldโ€™ve thought of this sooner. Itโ€™s literally part of what I do at work โ€” check SBOMs and versions.

Saw MySQL version was 10.3.25 โ†’ vulnerable.

Then triggered:

  • and you get a shell as root

๐Ÿ”ฅ ROOT SHELL DROPPED.

๐Ÿง  Lessons Learned

  • Donโ€™t half-ass walkthroughs โ€” finish what you start. Pausing mid-box kills flow and costs you time.

  • IPMI still sucks.

  • Zabbix + misconfigs = pwnage.

Last updated