CVE-2024–45519: 5 Urgent Fixes for Zimbra Vulnerability
The Zimbra postjournal service processes email fields such as the CC header without proper sanitisation, allowing an attacker to embed commands that the server executes. An attacker could send a crafted email to gain remote command execution and take over the Zimbra server.
medium.com
Published on medium.com
The CVE-2024–45519 vulnerability allows attackers to execute arbitrary commands on vulnerable Zimbra servers by exploiting a flaw within the Zimbra postjournal service. This service processes incoming emails using the SMTP protocol.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the postjournal service fails to sanitise or validate email header fields before passing them to a command interpreter.
Impact
An attacker could execute arbitrary commands, steal data, manipulate accounts, and pivot to other internal systems, potentially leading to full system compromise.
What the attacker needed
Ability to send email to the Zimbra server; unpatched Zimbra postjournal service
The fix
The vulnerability should be fixed by applying the latest security patches provided by Zimbra.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This is a remote code execution bug in Zimbra, an email server. The part of Zimbra that handles incoming mail (postjournal) takes text from the CC field of an email and runs it as a system command without checking it. So an attacker who can send an email can make the server run their commands, effectively taking control of it.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.