The Morning Dev

Only the news worth knowing

‹
 
  • AAPL 344.17 ▼ 1.53%
  • MSFT 535.93 ▼ 3.58%
  • NVDA 181.60 ▼ 9.26%
  • GOOGL 282.57 ▼ 2.20%
  • AMZN 260.21 ▼ 2.19%
  • META 605.08 ▼ 3.96%
  • TSLA 343.69 ▼ 10.77%
  • AVGO 291.53 ▼ 10.43%
  • TSM 353.10 ▼ 10.78%
  • ORCL 115.16 ▼ 6.93%
  • AMD 404.40 ▼ 17.26%
  • NFLX 65.56 ▼ 1.25%
  • CRM 222.41 ▼ 2.07%
  • ADBE 246.44 ▼ 0.82%
  • INTC 52.25 ▼ 10.33%
  • IBM 247.11 ▼ 2.84%
  • PLTR 154.99 ▼ 9.73%
  • SNOW 269.54 ▼ 7.25%
  • NET 244.51 ▼ 8.28%
  • SAP 243.53 ▲ 1.45%
B43/100

Vulnerability · critical

Critical Rails Flaw Lets Attackers Write Server Files via Crafted ImageMagick Uploads

Tier B · Patch this week – Put it in the sprint

Who’s exposed: Rails apps processing user uploads with ImageMagick

Tier B because: Core infrastructure or popular tool AND remote, no login

Reach

Attack

Damage

Fix

Popular tool · Remote, no login

The Brief

  • A critical flaw in Ruby on Rails lets an unauthenticated attacker write arbitrary files on an app's server by uploading a crafted file.
  • The flaw applies when an app processes uploads with ImageMagick.
  • The Rails project disclosed the flaw in an advisory and fixed it in versions starting with 8.1.4.1; the source excerpt is truncated.

Why it matters

Any Rails app that handles uploads through ImageMagick may be exposed to unauthenticated file writes on its server, so affected teams should patch promptly.

The checklist behind the tier

Checklist · 3 of 10 yes
YesHits tech teamsRuby on Rails is a web framework that developers build and run apps with.
NoCore infrastructureA single web framework flaw, not software nearly every team runs.
YesPopular toolRails is a widely used mainstream web framework.
NoExploited in the wildThe Hacker News reports the flaw and fix only; no observed attacks mentioned.
NoPublic exploitThe Hacker News describes the flaw via the advisory; no public exploit mentioned.
YesRemote, no loginThe Hacker News: flaw lets an unauthenticated attacker write files by uploading a crafted file.
NoFull takeoverThe Hacker News says arbitrary file write only; code execution or root access is not stated.
NoSecrets exposedThe Hacker News reports arbitrary file writes; no data theft or exposure mentioned.
NoSupply chainThe Hacker News describes a flaw in Rails, not malicious code shipped through a trusted channel.
NoNo fix yetThe Hacker News: the Rails project fixed the flaw in versions 8.1.4.1 and later.

Source

Critical Rails Flaw Lets Attackers Write Server Files via Crafted ImageMagick Uploads ↗ The Hacker News · 2d ago

First seen · 1 source · Full story page · How tiers are decided