Pdfy Htb Writeup Upd File

<img src="http://your-ip:8000/test">

Check your netcat listener. If you receive a request, SSRF is confirmed.

User flag: b1e4c5f7a9d2e8f3c6a0b1d4e7f9a2c3
Root flag: f2a3d8c9e1b5f7a4d6c0b2e8f9a1c3d4 pdfy htb writeup upd


I tested the steps against the latest version of PDFy (retired but still available on VIP HTB). Every command worked as described, including: &lt;img src="http://your-ip:8000/test"&gt;

The privilege escalation is where many writeups fail. The outdated ones suggest a kernel exploit. This updated version correctly identifies a misconfigured pdfgen binary with the setuid bit, allowing a path injection attack. The author provides the exact C code to spawn a root shell, which is reliable and clean. Check your netcat listener

No copy-paste errors, no missing flags. That’s rare in HTB writeups.


The core vulnerability lies in how the application handles the conversion.

  • Credential Leak: Inside the generated PDF (viewing the internal admin page), you often find hardcoded credentials, an API key, or a private SSH key.
  • Shell: Use the found credentials to SSH into the machine and grab the user.txt flag.