Official Top 10 selection
ImageMagick - Shell injection via PDF password
ImageMagick puts the -authenticate value straight into the Ghostscript command line inside double quotes, so a password containing a quote and a shell metacharacter closes the argument and runs commands. The parameter is reachable from a file via the MSL coder, and an SVG and MSL polyglot turns an image upload into remote code execution.
Preserved copies · insert-script.blogspot.com · Original publication ↗
Record
- Published by
- insert-script.blogspot.com
- Topic
- Injection
In the archive
- Ranked #8 in the 2020 Top 10 Web Hacking Techniques · Open this archive record
Announcement provenance and preserved copies
PortSwigger Research · Source identity checked 2026-11-18; live availability may change. Historical material does not establish that nominations or voting are open.
Official results · Preserved results (PDF)
Official nomination material
Related sources
- Author disclosure discussion
Author not stated
External source · no preserved copy
Tags
This page is the archive's own catalogue record. The research is the work of insert-script.blogspot.com, first published at the original source. Preserved copies are kept so the citation survives its host.