We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2025-27794

Flarum Vulnerable to Session Hijacking via Authoritative Subdomain Cookie Overwrite



Description

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.

Reserved 2025-03-06 | Published 2025-03-12 | Updated 2025-03-12 | Assigner GitHub_M


MEDIUM: 6.8CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Problem types

CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Product status

< 1.8.10
affected

References

github.com/...mework/security/advisories/GHSA-hg9j-64wp-m9px

github.com/...ommit/a05aaea3ee1e0a8b870935183193cd6052f1d402

github.com/flarum/framework/releases/tag/v1.8.10

cve.org (CVE-2025-27794)

nvd.nist.gov (CVE-2025-27794)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2025-27794

Support options

Helpdesk Chat, Email, Knowledgebase