URL Redirection to Untrusted Site ('Open Redirect') Affecting flarum/framework package, versions <1.8.5


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about URL Redirection to Untrusted Site ('Open Redirect') vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-FLARUMFRAMEWORK-6145939
  • published7 Jan 2024
  • disclosed5 Jan 2024
  • creditDavideIadeluca

Introduced: 5 Jan 2024

CVE-2024-21641  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade flarum/framework to version 1.8.5 or higher.

Overview

Affected versions of this package are vulnerable to URL Redirection to Untrusted Site ('Open Redirect') via the /logout route, which includes a redirect parameter that could be manipulated to send users to an untrusted external URL. An attacker can leverage this behavior to redirect users to a malicious site by crafting a link that redirects to the attacker's chosen URL.

For logged-in users, the logout must be confirmed. Guests are immediately redirected.

Workaround

This vulnerability can be mitigated by using extensions that modify the logout route with a safe implementation.

CVSS Scores

version 3.1