ImageTragick2: ImageMagick flaws allow arbitrary file read and write via SVG and PostScript
VULNERABILITYImageMagickredteam/daily · 1 source
- Severity
- High
- Sources
- 1
What happened
Collectively called ImageTragick2, these flaws affect applications that run ImageMagick with an insufficiently restrictive security policy. Crafted SVG content can invoke dangerous coders such as MSL, and crafted PostScript can trigger Ghostscript, which may read or write files in /tmp despite -dSAFER. Affected integrations named in the advisory include Ruby on Rails, WordPress, MediaWiki, ownCloud Classic and Redmine.
For IT people · Written by AI from 1 source · Wrong?
What to do
- Install vendor-provided updates for any application that integrates ImageMagick, such as Ruby on Rails, WordPress, MediaWiki, ownCloud Classic or Redmine, when available.
- Apply a custom policy.xml based on an allowlist and disable MSL, MVG, PS, EPS and PDF, then confirm prohibited formats are rejected.
- Process untrusted images in a dedicated, minimally privileged environment with restricted filesystem access.
- Alert on ImageMagick policy violations, unexpected coder or delegate use, and unexpected file creation.
Written by AI from the sources, checked against them
Full story timeline · 1 update
Who reported · 1 outlet
CERT/CC Vulnerability Notes