Skip to main content

URL Redirection to Untrusted Site ('Open Redirect')

CVE-2023-22797

Severity Medium
Score 6.1/10

Summary

An open redirect vulnerability is fixed in actionpack 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. This vulnerability affects actionpack versions 7.0.0.alpha1 through 7.0.4.

  • LOW
  • NETWORK
  • LOW
  • CHANGED
  • REQUIRED
  • NONE
  • LOW
  • NONE

CWE-601 - Open Redirect

An open redirect attack employs a URL parameter, HTML refresh tags, or a DOM based location change to exploit the trust of a vulnerable domain to direct the users to a malicious website. The attack could lead to higher severity vulnerabilities such as unauthorized access control, account takeover, XSS, and more.

Advisory Timeline

  • Published