Vulnerability · Published Jan 5, 2024 · Assigned by GitHub_M

CVE-2024-21641Flarum's Logout Route allows open redirects

Medium 6.5

In plain English

A medium-severity open redirect in framework from flarum. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 65% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)1.1%top 35.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Nuclei

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistflarum/core1.8.5GHSA-733r-8xcp-w9mr
Packagistflarum/framework1.8.5GHSA-733r-8xcp-w9mr

Affected products (as reported)

VendorProductVersions
flarum framework < 1.8.5

Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

References