POJIA破甲
地图 / Untrusted strings that are cache fetched with raw option are automatically marshal loaded

Untrusted strings that are cache fetched with raw option are automatically marshal loaded

代码执行 / 不可信数据反序列化 / #413388

厂商
Ruby on Rails
严重程度
中危
赏金
—
弱点
不可信数据反序列化
研究员
@dylan-ts
披露日期
2020-05-26
资产
https://github.com/rails/rails
CVE
CVE-2020-8165

该报告还没有中文解读。

原文摘录

摘自原文(2799 字符中的一小部分)
This vulnerability effects application code that caches a string from an untrusted source using the `raw: true` option. For example, vulnerable application code might looks something like the following
原文中的代码
body = Rails.cache.fetch(key, raw: true, expires_in: ttl) do
  res = Net::HTTP.get_response(remote_uri)
  res.value # raise on HTTP error
  res.body
end

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Ruby on Rails 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @dylan-ts · 版权归作者与 Ruby on Rails 所有

同类报告

Deserialization of untrusted data at https://www.redtube.com/media/hls?s=dataPornhub · — · $10,000Attacker can add arbitrary data to the blockchain without paying gasRootstock Labs · 2019-09-18MobileIron Unauthenticated RCE on mdm.qiwi.com with WAF bypassQIWI · —Account takeover via insecure intent handlingBasecamp · 2024-05-30SQL Injection + Insecure Deserialization leads to Remote Code Execution on https://krisp.aiKrisp · 2023-02-22Unsafe deserialization leads to token leakage in PayPal & PayPal for Business [Android]PayPal · 2021-04-30