CVE-2025-27794
Flarum Session Hijacking Vulnerability
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.
INFO
Published Date :
March 12, 2025, 2:15 p.m.
Last Modified :
April 2, 2025, 12:33 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.2
Exploitability Score :
1.6
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-27794
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-27794
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-27794
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Apr. 02, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N Added CPE Configuration OR *cpe:2.3:a:flarum:flarum:*:*:*:*:*:*:*:* versions up to (excluding) 1.8.0 Added Reference Type GitHub, Inc.: https://github.com/flarum/framework/commit/a05aaea3ee1e0a8b870935183193cd6052f1d402 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/flarum/framework/releases/tag/v1.8.10 Types: Release Notes Added Reference Type GitHub, Inc.: https://github.com/flarum/framework/security/advisories/GHSA-hg9j-64wp-m9px Types: Vendor Advisory -
New CVE Received by [email protected]
Mar. 12, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N Added CWE CWE-74 Added Reference https://github.com/flarum/framework/commit/a05aaea3ee1e0a8b870935183193cd6052f1d402 Added Reference https://github.com/flarum/framework/releases/tag/v1.8.10 Added Reference https://github.com/flarum/framework/security/advisories/GHSA-hg9j-64wp-m9px
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-27794
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-27794
weaknesses.