Our takeRails disclosed a critical Active Storage flaw: crafted uploads processed by ImageMagick can write arbitrary files to the server. Two outlets corroborate it, and exploitation is not yet confirmed. If your Rails app handles uploads via ImageMagick, upgrade to 8.1.4.1 or 8.0.5.2 now.Security Resilience desk
Sources (2)
- hackernews · hackernews
- darkreading · darkreading
What this means for you — Security leader:Update Rails to 8.1.4.1 or 8.0.5.2 immediately if you use Active Storage with ImageMagick for uploads. Review all image-processing upload paths for the arbitrary file-write risk.
What this means for you — Lean IT orgs:If your app is built on Ruby on Rails and handles image uploads, update to the latest version right away or disable ImageMagick processing until you can.
What this means for you — MSP:Audit all client Rails apps that use Active Storage with ImageMagick; push updates to 8.1.4.1 or 8.0.5.2 and consider temporary configuration changes to block crafted uploads.
What this means for you — Researcher:Test your Rails upload pipelines against the ImageMagick gadget vectors disclosed in the advisory.