Web Hack List

Top 10 winner

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.

In the archive

Related sources

Tags

This page is the archive's own catalogue record. The research is the work of its author, first published at the original source. Preserved copies are kept so the citation survives its host.