Tag: LDAP

  • Zimbra Vulnerability CVE-2026-73570: The Full 7-Stage Attack That Drained Server Secrets and 5 Immediate Response Steps

    Zimbra Vulnerability CVE-2026-73570: The Full 7-Stage Attack That Drained Server Secrets and 5 Immediate Response Steps

    Key Summary

    • Microsoft’s security research team analyzed that attackers exploiting the Zimbra vulnerability (CVE-2026-73570) planted JSP webshells across multiple paths in the mail servers of several organizations, and exfiltrated authentication secrets in bulk, including service account credentials, LDAP pre-authentication keys, authentication token keys, and 2FA secrets.
    • This flaw leads to an RCE (Remote Code Execution) that can execute operating system commands without authentication on servers where SNMP notifications are enabled and the optional zimbra-snmp package is installed, and is classified as ‘High’ severity on the CVSS scale.
    • The attack stages unfolded as follows: ①July 28 – August 7: pre-verification of command execution capability using two different scanners ②command execution with the Zimbra service account and multi-deployment of JSP webshells ③modification of sudo configuration to gain unrestricted administrator privileges ④registration of zimlog.service to maintain persistence after reboot ⑤lateral movement within the cluster using pre-existing SSH keys ⑥installation of Zimclient2 to obtain a SOCKS5 proxy and interactive shell ⑦exporting mailbox tables and attempts to exfiltrate to Azure Blob Storage.

    Through a case where a single authentication bypass spread not to a single mailbox but to the entire server secrets store and the cluster, this article examines how plaintext storage of authentication secrets and an SNMP-dependent design expand the attack surface, and presents a three-pillar response procedure: patching, secret rotation, and residual webshell inspection.

    Table of Contents

    From July 28 to August 7, Microsoft’s security research team repeatedly detected the same pattern of compromise indicators in Zimbra Collaboration mail servers across multiple organizations. The target was not individual mailboxes but the servers themselves. Attackers who passed through the Zimbra vulnerability CVE-2026-73570 harvested service account credentials, LDAP pre-authentication keys, and 2FA secrets in a single sweep, and moved laterally to other nodes within the cluster.

    How the Zimbra Vulnerability CVE-2026-73570 Works

    This Zimbra vulnerability leads to an RCE that can execute operating system commands without authentication on Zimbra servers where SNMP notifications are enabled and the optional zimbra-snmp package is installed. The CVSS rating is ‘High’. A path that was blocked before the SNMP setting was turned on becomes a direct line to the operating system shell the moment that option is activated. What stands out to practitioners is that this flaw is not a ‘single line of bad code’ but a ‘combination created by operational options and packages’. In other words, a dangerous path can be opened simply by default installation habits.

    7-Stage Attack Timeline

    The flow organized by Microsoft consists of 7 major stages.

    1. July 28 – August 7: Pre-verification of command execution capability using two different scanners
    2. Command execution with Zimbra service account privileges, simultaneous deployment of JSP webshells across multiple paths
    3. Modification of sudo configuration to gain unrestricted administrator privileges
    4. Registration of zimlog.service to maintain persistence after reboot
    5. Lateral movement within the cluster using pre-existing SSH keys
    6. Installation of Zimclient2 to obtain a SOCKS5 proxy and interactive shell
    7. Exporting mailbox tables and attempts to exfiltrate to Azure Blob Storage

    The key point of this attack via the Zimbra vulnerability is that it is not a simple intrusion but a ‘live off the land’ pattern, in which once inside, privileges and keys are gathered sequentially from within the system.

    Four Key Compromise Indicators

    The indicators worth paying attention to are the methods of privilege escalation and persistence. The sudo configuration change is an indicator that dismantled Zimbra’s operational account privilege model itself, and the zimlog.service registration is an indicator that created a new service-level auto-re-execution path. The fact that pre-existing SSH keys were reused to access other nodes within the cluster clearly demonstrates that patching a single machine is not enough to end the entire compromise.

    Microsoft analyzed that after exfiltrating the service secrets and authentication secrets Zimbra had centralized, the attackers extracted related keys via LDAP lookups. Individual mailbox passwords were not directly targeted. In some cases, indicators were also detected in which write permissions to public directories were temporarily relaxed to plant webshells and then restored, bypassing basic permission checks.

    Tools and Exfiltration Attempts: Zimclient2 and AzCopy

    Zimclient2 provided both a SOCKS5 proxy and an interactive shell, giving attackers a foothold to move more aggressively within the internal network. They gathered keys by querying MySQL and LDAP directly, and there were also attempts to transfer mailbox backups to Azure Blob Storage via AzCopy. However, Microsoft stated that no evidence was confirmed as to whether the Azure Blob transfer was actually completed. The author believes it is premature to judge whether the exfiltration attempt was stopped or whether evidence simply was not left behind.

    Comparison with Other Mail Solution Vulnerabilities

    This Zimbra vulnerability is not an isolated, one-off incident. According to BleepingComputer, a zero-day attack on Fortinet FortiMail via CVE-2026-104286 (CVSS 9.8, combining path traversal and NULL byte) was also confirmed in the wild. Vulnerabilities are being continuously exposed in the mail and collaboration space.

    Item Zimbra CVE-2026-73570 FortiMail CVE-2026-104286
    Attack Surface SNMP / zimbra-snmp option Webmail management path
    CVSS High 9.8 (Critical)
    Exploitation Form Authentication bypass RCE Path traversal + NULL byte
    In-the-Wild Disclosure August, Polish CERT Reported as zero-day
    Main Risk Bulk exfiltration of the server secrets store Administrator privilege takeover and command execution

    Practical Application Points

    • As confirmed in this Zimbra vulnerability case, the SNMP-dependent option alone becomes an attack path simply by being ‘enabled’. Disabling it by default must be cemented as an operational policy.
    • Indicators of privilege escalation appear in sudo configuration changes. Integrity monitoring of /etc/sudoers and related files is required.
    • zimlog.service, a clue to persistence, is an indicator of ‘custom service registration’. Non-standard systemd units should be audited periodically.
    • Even if mail body passwords are not directly targeted, once LDAP keys and 2FA secrets are leaked, the possibility of secondary compromise persists.

    What to Do Right Now

    • Immediately update to Zimbra 10.1.20 or later, which includes the patch for the Zimbra vulnerability, and isolate any lower-version systems from the network.
    • Remove the zimbra-snmp package, disable the SNMP notification option, and reboot.
    • Restrict SNMP and SMTP access to trusted hosts and internal management ranges only, and re-review firewall rules.
    • Rotate in full the LDAP pre-authentication keys, authentication token keys, and 2FA secrets held by Zimbra, and reissue user passwords together.
    • Conduct a thorough inspection of /opt/zimbra, web roots, and temporary directories for JSP webshells and non-standard systemd units.

    Security Advisory Timing and Responsible Agencies

    Zimbra distributed a patch with the July 10.1.20 release, and Polish CERT first publicly disclosed in-the-wild exploitation in August. The U.S. CISA directed federal agencies to take action by August 24. Looking at the time gap between the attack exposure and patch distribution for this Zimbra vulnerability, the ability to immediately query the Zimbra version from an internal asset inventory is what determines response speed.

    Frequently Asked Questions

    What type of flaw is the Zimbra vulnerability CVE-2026-73570?

    It is an RCE flaw that allows unauthenticated operating system command execution in environments where SNMP notifications are enabled and the zimbra-snmp package is installed. It is classified as ‘High’ severity on the CVSS scale.

    Are individual mailbox user passwords also directly leaked?

    In this campaign, individual mailbox passwords were not directly targeted. Instead, service account credentials, LDAP pre-authentication keys, authentication token keys, and 2FA secrets were exfiltrated in bulk, and additional related keys were extracted via LDAP lookups.

    Is applying the patch alone enough to be safe?

    No. Attackers can leave traces across the cluster through zimlog.service registration and SSH key reuse. After patching, authentication secret rotation, residual webshell inspection, and a full cluster audit must be performed together.

    How is this different from FortiMail CVE-2026-104286?

    The FortiMail case is a web path flaw (CVSS 9.8) combining path traversal and NULL byte, whereas this Zimbra vulnerability is an authentication bypass RCE dependent on the SNMP option. The attack surface and trigger are different, but they share the common pattern of vulnerabilities being continuously exposed in the mail and collaboration space.

    Source Reference

    This article was written after reviewing the following original source: Boan News — Targeted the server, not the mailbox… Zimbra vulnerability exploitation attack drains authentication secrets