Zimbra Collaboration XXE

Published on 16 Jun 2021
Vulnerability

Zimbra Collaboration Suite is a groupware suite that comprises an email server and a web client. It holds a server-side request forgery vulnerability and an XML external entity vulnerability. This can lead to remote code execution. XML external entity vulnerability is found in Autodiscover Servelet which helps to read the Zimbra configuration file. This configuration file contains an LDAP password for the Zimbra account which on exploitation helps the attacker to get the user authentication cookie along with an AuthRequest message. The authentication cookie can then be used server-side request forgery.The forgery can be carried out in the Proxy Servlet, where the attacker can send a proxy AuthRequest to the admin port along with the credentials to obtain the admin cookie. To start the remote code execution, the attacker uses the Client Upload servlet to upload a JSP webshell which might be triggered from the webserver. This exploit is applicable for Zimbra Collaboration Suite v8.5 to v8.7.11.

Mitigation / Precaution

In order to patch this vulnerability, please install the official patch Zimbra made available for supported, vulnerable instances.

Jijith Rajan
Written by
Cyber Security Engineer

His passion for staying abreast of the latest security threats and trends, coupled with his hands-on experience, allows him to actively contribute to the protection of digital assets. Jijith's dedication and enthusiasm make him a promising talent in the ever-evolving realm of cybersecurity, promising a safer digital future.

Experience the Beagle Security platform
Unlock one full penetration test and all Advanced plan features free for 14 days
4.8 on G2 • ISO 27001 certified
See How Beagle Security Works
No credit card • No setup required
Launch interactive demo