CVE-2024-21641
Flarum's Logout Route allows open redirects
Record summary
CVE-2024-21641 has a selected CVSS score of 6.5 (medium); EIP currently links 1 Nuclei template.
Description
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.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated May 8, 2025 · Source: CVE List
Affected products and versions
3| Product | Source | Version range | Status |
|---|---|---|---|
frameworkBrowse flarum / framework | CVE List | < 1.8.5 | affected |
flarum/coreBrowse Packagist / flarum/core | GitHub Advisory | Before 1.8.5 · Fixed in 1.8.5 | affected |
flarum/frameworkBrowse Packagist / flarum/framework | GitHub Advisory | Before 1.8.5 · Fixed in 1.8.5 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMFlarum < 1.8.5 - Open RedirectCVSS 4.7
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.
Impact
Unauthenticated attackers can redirect users to malicious phishing sites using the trusted domain of the Flarum installation.
Remediation
Update Flarum to version 1.8.5 or later.
Source: ProjectDiscovery