MD2PDF attack path and techniques
By Daniel Dayan ยท Updated
MD2PDF is an easy Linux machine on TryHackMe that I solved myself. It maps to the technique hubs API and Web Application Logic Abuse; Source Code Review.
Overview
MD2PDF is an easy Linux machine from TryHackMe that I tagged with XSS, SSRF and PDF-Conversion. MD2PDF counts toward the CWEE practice list in the ZeroBox catalog.
| Platform | TryHackMe |
|---|---|
| Operating system | Linux |
| Difficulty | Easy |
| Relevant for | CWEE |
Attack path summary
Inject HTML/iframe tags in markdown to trigger SSRF / local file disclosure when generating PDF.
Tags
Techniques explained
- API and Web Application Logic Abuse: APIs expose application logic directly, so flaws are usually about authorisation rather than memory safety. The catalog files MD2PDF under it; 18 catalog machines practise it, 9 of them solved by me.
- Source Code Review: The catalog files MD2PDF under it; 15 catalog machines practise it, 6 of them solved by me.
Where it fits
- CWEE machine list: MD2PDF is one of 34 easy machines on a list of 82, and I solved 8 of the 82.
- MD2PDF is one of 198 easy TryHackMe machines in the catalog, 188 of them on Linux, and I solved 16 of the 198.
Related solved machines
Other machines I solved that share tags, a technique hub or a practice list with MD2PDF.
- Blocky (HTB Linux Easy), both are on the CWEE list
- Appointment (HTB Linux Very Easy), both are on the CWEE list
- CyberHeroes (THM Linux Easy), both map to API and Web Application Logic Abuse
- Corridor (THM Linux Easy), both map to API and Web Application Logic Abuse
Related
- Certification: CWEE machines (82)
- Technique: API and Web Application Logic Abuse (18 machines)
- Technique: Source Code Review (15 machines)
- Guides: HTB vs TryHackMe, HTB progress tracker
- All machines: Hack The Box and TryHackMe directory
Track MD2PDF in ZeroBox.
Log your MD2PDF progress, notes and flags offline in your browser, and follow the pentest methodology checklist.
MD2PDF belongs to TryHackMe; this page contains only my own notes.