CVE-2025-27794

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

Configuration 1 (hide)

cpe:2.3:a:flarum:flarum:*:*:*:*:*:*:*:*

History

02 Apr 2025, 12:33

Type Values Removed Values Added
Summary
  • (es) Flarum es un software de foros de código abierto. Existe una vulnerabilidad de secuestro de sesión en versiones anteriores a la 1.8.10 cuando un subdominio autorizado controlado por un atacante bajo un dominio principal (p. ej., `subdomain.host.com`) establece cookies con alcance en el dominio principal (`.host.com`). Esto permite el reemplazo de tokens de sesión para aplicaciones alojadas en subdominios hermanos (p. ej., `community.host.com`) si los tokens de sesión no se rotan después de la autenticación. Las restricciones clave son que el atacante debe controlar cualquier subdominio bajo el dominio principal (p. ej., `evil.host.com` o `xyhost.com`), y el dominio principal no debe estar en la lista de sufijos públicos. Debido a la inexistencia de rotación de tokens de sesión después de la autenticación, teóricamente podemos reproducir la vulnerabilidad usando herramientas de desarrollo del navegador, pero debido a las medidas de seguridad del navegador, esto no parece ser explotable como se describe. La versión 1.8.10 contiene un parche para el problema.
CPE cpe:2.3:a:flarum:flarum:*:*:*:*:*:*:*:*
First Time Flarum
Flarum flarum
References () https://github.com/flarum/framework/commit/a05aaea3ee1e0a8b870935183193cd6052f1d402 - () https://github.com/flarum/framework/commit/a05aaea3ee1e0a8b870935183193cd6052f1d402 - Patch
References () https://github.com/flarum/framework/releases/tag/v1.8.10 - () https://github.com/flarum/framework/releases/tag/v1.8.10 - Release Notes
References () https://github.com/flarum/framework/security/advisories/GHSA-hg9j-64wp-m9px - () https://github.com/flarum/framework/security/advisories/GHSA-hg9j-64wp-m9px - Vendor Advisory

12 Mar 2025, 14:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-12 14:15

Updated : 2025-04-02 12:33


NVD link : CVE-2025-27794

Mitre link : CVE-2025-27794

CVE.ORG link : CVE-2025-27794


JSON object : View

Products Affected

flarum

  • flarum
CWE
CWE-74

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