Incorrect handling of certain characters passed to the redirection functionality in Rails can lead to a single-click XSS vulnerability.
该报告还没有中文解读。
原文摘录
摘自原文(2154 字符中的一小部分)
Overview Incorrect handling of certain characters passed to the redirection functionality in Rails can lead to a single-click XSS vulnerability across web applications. This has been tested on the latest version of Rails as of today (7.0.4.3).
原文中的代码
class ApplicationController < ActionController::Base
def vuln
redirect_to params[:redirect_url], allow_other_host: true
end
end默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Ruby on Rails 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @meowday · 版权归作者与 Ruby on Rails 所有