nday
CVE-2025-24293

Ruby on Rails:command injection標題由 nday 產生;CVE 紀錄未附標題。

Rails / activestorage

揭露時間:。nday 尚未取得修補依據,不能據此認為沒有修補。4 個 PoC 來源中有 1 個收錄:metasploit。目前未列入 CISA KEV。

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

command injection
CWE-77, stated by the ADP CISA-ADP 與 NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0CWE-88, stated by the ADP redhat-SADP 與 NVD, republishing 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
code injection
CWE-94, stated by the ADP CISA-ADP 與 NVD, republishing 134c704f-9b21-4f2e-91b3-4a467353bcc0
remote, unauthenticated
AV:N、PR:N、UI:N in 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) from the CNA hackerone
network
AV:N in 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) from the CNA hackerone
no authentication required
PR:N in 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) from the CNA hackerone
no user interaction
UI:N in 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) from the CNA hackerone
Metasploit
Metasploit modules exploit/multi/http/rails_activestorage_vips_rce
Ruby on Rails
affected products in the CVE record: Rails · activestorage
open-source library / framework
affected products in the CVE record: Rails · activestoragethe product type of Ruby on Rails in nday's product registry
目前階段
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!

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:P
Present: success depends on specific deployment or execution conditions, such as a race condition, a non-default setting or a position on the network path
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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 vector from the CVE record, scored by the CNA hackerone.

事件紀錄

+DIS揭露

CVE 紀錄由 hackerone 發布。CVSS 9.2,屬重大等級。CISA 的 SSVC 評估將利用狀態判定為 poc。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "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 · nday 於 批次匯入 · 原始
{
  "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"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.