Skip to main content
← All vulnerabilities
CVE-2025-27794GHSA-HG9J-64WP-M9PX

Flarum Vulnerable to Session Hijacking via Authoritative Subdomain Cookie Overwrite

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.8.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Flarum is open-source forum software. A session hijacking vulnerability exists in versions prior to 1.8.10 when an attacker-controlled authoritative subdomain under a parent domain (e.g., `subdomain.host.com`) sets cookies scoped to the parent domain (`.host.com`). This allows session token replacement for applications hosted on sibling subdomains (e.g., `community.host.com`) if session tokens aren't rotated post-authentication. Key Constraints are that the attacker must control any subdomain under the parent domain (e.g., `evil.host.com` or `x.y.host.com`), and the parent domain must not be on the Public Suffix List. Due to non-existent session token rotation after authenticating we can theoretically reproduce the vulnerability by using browser dev tools, but due to the browser's security measures this does not seem to be exploitable as described. Version 1.8.10 contains a patch for the issue.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • flarum framework

    fixed in 1.8.10

  • flarum/corePackagist

    fixed in 1.8.10

  • flarum/frameworkPackagist

    fixed in 1.8.10

References 3

GitHub · flarum/framework