PT-2024-18991 · Flarum · Flarum
Davideiadeluca
·
Published
2024-01-05
·
Updated
2025-04-28
·
CVE-2024-21641
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Flarum versions prior to 1.8.5
Description
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 any link. For logged-in users, the logout must be confirmed, while 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. Approximately 12,602 results are mainly distributed in the United States, China, and other countries.Recommendations
For versions prior to 1.8.5, update to version 1.8.5 using
composer update --prefer-dist --no-dev -a -W, and then confirm the latest version using composer show flarum/core. As a temporary workaround, consider using extensions that modify the logout route, but only if their implementation is safe.Exploit
Fix
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Flarum