nday
CVE-2025-24293

Ruby on Rails:command injection标题由 nday 生成;CVE 记录未提供标题。

Rails / activestorage

披露于 。本站尚未获取修复依据,不能据此认为没有补丁。PoC 来源中 metasploit 已收录(1/4)。尚未列入 CISA KEV。

这些标签的依据

这些标签由 nday 按固定规则从下列事实自动推导,不是 NVD、编号分配方或其他来源给出的。全部标签和规则见 ~/tags。

command injection
CWE-77(来源:ADP CISA-ADP、NVD(转录自 134c704f-9b21-4f2e-91b3-4a467353bcc0))CWE-88(来源:ADP redhat-SADP、NVD(转录自 0b0ca135-0b70-47e7-9f44-1890c2a1c46c))
code injection
CWE-94(来源:ADP CISA-ADP、NVD(转录自 134c704f-9b21-4f2e-91b3-4a467353bcc0))
远程未授权
编号分配方 hackerone 给出的 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N(CVSS 4.0)中的 AV:N、PR:N、UI:N
网络
编号分配方 hackerone 给出的 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N(CVSS 4.0)中的 AV:N
无需认证
编号分配方 hackerone 给出的 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N(CVSS 4.0)中的 PR:N
无需用户交互
编号分配方 hackerone 给出的 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N(CVSS 4.0)中的 UI:N
Metasploit
Metasploit 模块 exploit/multi/http/rails_activestorage_vips_rce
Ruby on Rails
CVE 记录列出的受影响产品:Rails · activestorage
开源库/框架
CVE 记录列出的受影响产品:Rails · activestoragenday 产品登记表中 Ruby on Rails 的产品类型
当前阶段
POC
披露
CVSS
9.2 CRITICAL v4.0

生命周期

横轴 UTC;点=精确到分钟,宽条=仅日期,空心=未知或推定。
时间未知
DIS披露
01-30T20:11Z
PAT补丁
尚无记录
ANA分析
尚无记录
POCPoC
metasploit
ITW在野
尚无记录
KEVKEV
尚无记录

摘要

# Active Storage allowed transformation methods potentially unsafe

Active Storage attempts to prevent the use of potentially unsafe image transformation methods and parameters by default.

The default allowed list contains three methods allow for the circumvention of the safe defaults which enables potential command injection vulnerabilities in cases where arbitrary user supplied input is accepted as valid transformation methods or parameters.

Impact ------ This vulnerability impacts applications that use Active Storage with the image_processing processing gem in addition to mini_magick as the image processor.

Vulnerable code will look something similar to this:

<%= image_tag blob.variant(params[:t] => params[:v]) %>

Where the transformation method or its arguments are untrusted arbitrary input.

All users running an affected release should either upgrade or use one of the workarounds immediately.

Workarounds ----------- Consuming user supplied input for image transformation methods or their parameters is unsupported behavior and should be considered dangerous.

Strict validation of user supplied methods and parameters should be performed as well as having a strong [ImageMagick security policy](https://imagemagick.org/script/security-policy.php) deployed.

Credits -------

Thank you [lio346](https://hackerone.com/lio346) for reporting this!

以上是 CVE 记录(cvelist)中的原文,未经改写。

利用条件

按 CVSS 向量说明攻击需要的条件。
攻击途径 AV:N
网络:攻击者只要能通过网络访问到目标即可
攻击复杂度 AC:L
低:不需要绕过目标特有的安全防护
攻击前提 AT:P
有:依赖特定的部署或运行条件,例如竞态条件、非默认配置或处于网络路径中间
所需权限 PR:N
无:不需要账号或授权
用户交互 UI:N
无:除攻击者外不需要任何人配合

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

CVSS 4.0 向量,来自 CVE 记录,由 CNA hackerone 评定。

事件记录

+DIS披露

CVE 记录发布,编号分配方是 hackerone。CVSS 9.2,严重。CISA 的 SSVC 评估中利用状态为 poc。

来源 cvelist · 本站 批量导入 · 原始记录
{
  "id": 60315,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-24293",
  "occurred_at": "2026-01-30T20:11:15.219Z",
  "observed_at": "2026-11-12T17:00:49.411818Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 9.2,
      "base_severity": "CRITICAL"
    },
    "ssvc": {
      "timestamp": "2026-02-02T14:45:32.482487Z",
      "automatable": "yes",
      "exploitation": "poc",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2026-01-30T20:11:15.219Z",
    "assigner_short_name": "hackerone"
  }
}
时间未知来源未给出时间
+POC公开 PoC

Metasploit 收录模块 exploit/multi/http/rails_activestorage_vips_rce(Ruby on Rails Active Storage Vips Arbitrary File Read and Remote Code Execution)。来源没有给出模块的发布时间。

来源 metasploit exploit/multi/http/rails_activestorage_vips_rce · 本站 批量导入 · 原始记录
{
  "id": 51364,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/rails_activestorage_vips_rce.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/multi/http/rails_activestorage_vips_rce",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/rails_activestorage_vips_rce.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/multi/http/rails_activestorage_vips_rce.rb",
    "rank": 300,
    "check": true,
    "title": "Ruby on Rails Active Storage Vips Arbitrary File Read and Remote Code Execution",
    "cve_ids": [
      "CVE-2026-66066",
      "CVE-2025-24293"
    ],
    "fullname": "exploit/multi/http/rails_activestorage_vips_rce",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-08-25 11:44:52 +0000",
    "vuln_disclosure_date": "2026-07-29"
  }
}

纠错

报告错误或缺失

页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。

研究员讨论

近 7 天有 0 位研究员提到

研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。

尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。

讨论

0 条评论

还没有评论。