Open Redirect Vulnerability in Action Pack

Disclosed: 2023-03-26 17:04:04 By wonda_tea_coffee To ibb
Medium
Vulnerability Details
We were able to bypass the mechanism that prevents open redirects due to incomplete URL input validation. I have reported it below and written a patch to fix it. https://hackerone.com/reports/1789458 ## Impact Vulnerable code will look like this: ```ruby redirect_to(params[:some_param]) ``` Rails 7.0 introduced protection against open redirects from calling redirect_to with untrusted user input. In prior versions the developer was fully responsible for only providing trusted input. However the check introduced could be bypassed by a carefully crafted URL.
Actions
View on HackerOne
Report Stats
  • Report ID: 1865991
  • State: Closed
  • Substate: resolved
  • Upvotes: 39
Share this report