hacker-news · Crawled Nov 5, 2026
Critical Rails Flaw Lets Attackers Write Server Files via Crafted ImageMagick Uploads
1 CVEs
Read original article ↗
AI Summary
A critical vulnerability in Ruby on Rails' Active Storage component allows unauthenticated attackers to write arbitrary files on the server by uploading a crafted file processed via ImageMagick. The flaw stems from insufficient restrictions on ImageMagick coders, enabling exploitation through the MSL coder, which can read and write files. The vulnerability affects Rails applications using ImageMagick for image processing with untrusted user uploads and has a CVSS score of 9.8. It was reported via HackerOne by researcher RyotaK and fixed in Rails versions 8.1.4.1 and 8.0.5.2.
AI-extracted · verify before operational use
Extracted Entities 1 found
MITRE ATT&CK TTPs 23 techniques
T1003 OS Credential Dumping · Credential Access T1021 Remote Services · Lateral Movement T1027 Obfuscated Files or Information · Defense Evasion T1056.001 Keylogging · Collection T1059 Command and Scripting Interpreter · Execution T1059.001 PowerShell · Execution T1059.003 Windows Command Shell · Execution T1071.001 Web Protocols · Command And Control T1078 Valid Accounts · Defense Evasion T1082 System Information Discovery · Discovery T1083 File and Directory Discovery · Discovery T1098 Account Manipulation · Persistence T1105 Ingress Tool Transfer · Command And Control T1114 Email Collection · Collection T1190 Exploit Public-Facing Application · Initial Access T1195.001 Compromise Software Dependencies and Development Tools · Initial Access T1484 Domain or Tenant Policy Modification · Defense Evasion T1485 Data Destruction · Impact T1486 Data Encrypted for Impact · Impact T1555 Credentials from Password Stores · Credential Access T1566 Phishing · Initial Access T1570 Lateral Tool Transfer · Lateral Movement T1588 Obtain Capabilities · Resource Development