Story

In the news · 1 source · first seen 19d ago · The Hacker News
Critical Rails Flaw Lets Attackers Write Server Files via Crafted ImageMagick Uploads

A critical flaw in Ruby on Rails could allow an unauthenticated attacker to write arbitrary files on an app's server by uploading a crafted file if the app processes uploads using ImageMagick. The Rails project disclosed the flaw in an advisory and fixed it in versions 8.1.4.1 and 8.0.5.2. The flaw

Briefing

Written from the coverage below · claude-haiku-5-5

A critical flaw in Active Storage, the Ruby on Rails file upload component, lets an unauthenticated attacker write arbitrary files to an app's server via a crafted upload when the app processes uploads with ImageMagick. The Rails project disclosed the flaw in an advisory and fixed it in versions 8.1.4.1 and 8.0.5.2.

Why it mattersAny Rails app that accepts uploads and processes them with ImageMagick may be exposed to unauthenticated server-side file writes without any login.

ActionUpgrade Rails to 8.1.4.1 or 8.0.5.2 (or the patched release for your branch), and check whether your app uses ImageMagick for Active Storage variants or previews.

Coverage

1 article