Open Redirect Vulnerability in Rails 7.0.4.1: Bypassing Protection with Carefully Crafted URLs

Open Redirect Vulnerability in Rails 7.0.4.1: Bypassing Protection with Carefully Crafted URLs

CVE-2023-22797 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

An open redirect vulnerability is fixed in Rails 7.0.4.1 with the new 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 allow an attacker to bypass with a carefully crafted URL resulting in an open redirect vulnerability.

Learn more about our User Device Pen Test.