HTB: Developer Writeup
Developer — HackTheBox Writeup
| Machine | Developer |
| OS | Linux |
| Difficulty | Hard |
| Rating | ⭐⭐⭐⭐☆ |
| Author | d3vn0mi |
🛠️ Walkthrough
Both flags have been captured successfully:
- user.txt (karl):
<redacted> - root.txt:
<redacted>
Full chain executed per the write-up’s intended path:
- Solved the “PwnMe” reversing challenge to unlock writeup submission
- Reverse-tabnabbing + XSS phishing attack captured admin’s real credentials (
admin:SuperSecurePassword@HTB2021) - Django admin panel revealed the
developer-sentry.developer.htbsubdomain and admin’s real identity (Jacob) - Found Sentry’s legacy (non-API) project-removal view leaks the Django
SECRET_KEYvia an uncaught exception’s local variables - Forged a malicious pickled
sentrysidsession cookie (hand-rolleddjango.core.signingin pure Python — hit and fixed a subtle base62-alphabet-ordering bug) for RCE as www-data - Pulled Postgres creds from
sentry.conf.py, dumpedkarl’s password hash fromauth_user, cracked it with hashcat → SSH as karl (user.txt) - Reversed the Rust
authenticatorbinary to extract a hardcoded AES-128-CTR key/IV/ciphertext, decrypted it to recover the sudo-gated tool’s password - Used the authenticator to install our SSH key for root → root.txt
Details and gotchas are saved in /out/solve_out_20260722_192118/flags.md and the plan in attack_plan.md.
🏁 Proof of Ownership
| Flag | Value |
|---|---|
| User | <redacted> |
| Root | <redacted> |