Flarum's Logout Route allows open redirects
flarum framework
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| flarum/core Packagist |
|
|
| flarum/framework Packagist |
|
|
flarum framework
| Product | Affected | Fixed in |
|---|---|---|
| flarum/core Packagist |
|
|
| flarum/framework Packagist |
|
|
Flarum is open source discussion platform software. Prior to version 1.8.5, the Flarum `/logout` route includes a redirect parameter that allows any third party to redirect users from a (trusted) domain of the Flarum installation to redirect to any link. For logged-in users, the logout must be confirmed. Guests are immediately redirected. This could be used by spammers to redirect to a web address using a trusted domain of a running Flarum installation. The vulnerability has been fixed and published as flarum/core v1.8.5. As a workaround, some extensions modifying the logout route can remedy this issue if their implementation is safe.
From the CVE record · GitHub_M
Before 1.8.5, Flarum’s /logout route accepts a redirect parameter that can send users from a trusted Flarum domain to any link. A third party can use it to redirect guests immediately; logged-in users must confirm logout first.
Operators using Packagist flarum/core or flarum/framework versions earlier than 1.8.5 should check their installations.