Wednesday 4 November
Global

Your region, kept on this device.

Critical Ruby on Rails Active Storage flaw lets attackers access server files via crafted image uploads

Severity
Critical
Sources
1

A serious flaw in the web framework lets anyone who can upload files plant or read files on the server by sending a specially crafted image. Attackers could use this to steal the secret keys that protect the application.

Like I’m new · Written by AI from 1 source · Wrong?

What to do

  1. Upgrade activestorage to 8.0.5.2 or 8.1.4.1 and, if using :minimagick, upgrade minimagick to 5.1 or newer.
  2. If the app uses the Disk service, change secretkeybase and every other secret the app process can read.
  3. If patching cannot happen immediately, copy the shipped ImageMagick policy rules into the system policy.xml, at minimum blocking the MSL coder, the Ghostscript coders and the gs delegate.
  4. Review logs for unusual uploads and check that no app runs with extra file permissions.

Written by AI from the sources, checked against them

Full story timeline · 1 update

  1. Wed 4 NovemberCritical Ruby on Rails Flaw Could Let Hackers Steal Server Secrets Through Malicious Image UploadsCyber Security News

Who reported · 1 outlet

Cyber Security News

Who and what is in it

Report a problem