Description
Drupal Core allows overriding the redirect target using the destination query parameter. This allows an attacker to redirect the user to an external domain. For example, the following URL:
http://www.drupal.local//?destination=https://attacker.com\@www.drupal.local/will redirect the user to the domain attacker.com.
Remediation
Upgrade to the latest version of Drupal.
Block requests with multiple forward slashes that contain an external domain in the destination parameter.
References
Related Vulnerabilities
WordPress Plugin GdeSlon Affiliate Shop Open Redirect (2.0)
XWiki URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2023-29204)
Liferay Portal URL Redirection to Untrusted Site ('Open Redirect') Vulnerability (CVE-2021-33331)