POJIA破甲
地图 / ActionController::Parameters .each returns an unsafe hash

ActionController::Parameters .each returns an unsafe hash

其他弱点 / Unlabeled / #292797

厂商
Ruby on Rails
严重程度
低危 · CVSS 6.5
赏金
—
弱点
Unlabeled
研究员
@abuisman
披露日期
2020-05-18
资产
https://github.com/rails/rails
CVE
CVE-2020-8164

该报告还没有中文解读。

原文摘录

摘自原文(2447 字符中的一小部分)
The goal of `ActionController::Parameters`'s `permit` method (strong parameters) is to prevent accidental trust in the parameters sent by the client. We can therefore not simply create a hash of all the parameters in the params without permitting them first. When we really want to do this there is …
原文中的代码
params = ActionController::Parameters.new(city: 'Nijmegen', country: 'Netherlands', language: 'Dutch')

params.to_h

# ActionController::UnfilteredParameters: unable to convert unpermitted parameters to hash
# from …

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

时间线

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

同类报告

June 2022 Incident ReportHackerOne · 2022-07-01HTML-injection in PDF-export leads to LFIVisma Public · — · $500DOM XSS on duckduckgo.com searchDuckDuckGo · 2020-06-14An attacker can archive and unarchive any structured scope object on HackerOneHackerOne · 2022-04-18Java (Maven): Actually fix the use of insecure protocol to download/upload artifactsGitHub Security Lab · — · $4,000Handling of `tracking` command allows making arbitrary blind requests with user's cookies from Grammarly Extension's originSuperhuman (formerly Grammarly) · 2019-08-01