HTTP Host injection in redirect_to function
跨站脚本 / Improper Neutralization of HTTP Headers for Scripting Syntax / #888176
该报告还没有中文解读。
原文摘录
摘自原文(3458 字符中的一小部分)
The ** _compute_redirect_to_location** will take the input **"/demo/?your_reset_token=your_reset_token"** as **options** variables. File **File **action_controller\metal\redirecting.rb**** line 63
原文中的代码
class TesttestController < ApplicationController
def index
redirect_to "/demo/?your_reset_token=your_reset_token"
end
end默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Ruby on Rails 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @komang4130 · 版权归作者与 Ruby on Rails 所有