Zimbra postjournal SMTP recipient command injection
The postjournal service carried the RCPT TO recipient through address expansion into read_maps, interpolated the address into a shell command, and passed the string to popen. Shell substitution syntax remained active inside the command's double quotes. The patch adds input validation and uses execvp with an argument vector.
- Product
- Zimbra Collaboration
- Vendor
- Synacor Zimbra
- Affected
- Before 8.8.15 Patch 46, before 9.0.0 Patch 41, before 10.0.9, and before 10.1.1 when postjournal is enabled and the sender can reach its accepted SMTP path
- Fixed in
- 8.8.15 Patch 46, 9.0.0 Patch 41, 10.0.9, 10.1.1, or later supported releases
- Weakness
- CWE-78
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 27 Sep 2024
Classified as
References
Related CVEs
- CVE-2024-9474high 7.22024
PAN-OS audit-log username command injection
The audit logger shell-escapes the message but concatenates the session username directly into a command, allowing shell metacharacters in that username to execute with root privileges.
- CVE-2023-36664high 7.82023
Ghostscript pipe-device command injection (CVE-2023-36664)
A path-permission check normalizes the target path before validating it, so a special device string that the normalizer rewrites slips past the sandbox and opens a command pipe, giving code execution from a crafted document.
- CVE-2019-10149critical 9.82019
Exim recipient-address command injection (Return of the WIZard)
The recipient address is spliced into a string that Exim's recursive expander evaluates, so a ${run{...}} carried in the local part runs a shell command as root.
- CVE-2014-6271critical 9.82014
Bash environment function import command injection (Shellshock, CVE-2014-6271)
Bash imported environment variables that looked like exported functions by parsing them with its full evaluator, which did not stop at the end of the function body, so any commands appended after it ran at shell startup. Nicknamed Shellshock (a pun on the WWI term shell shock, reframed as a shock to the Unix shell), it became remote code execution wherever a server passed untrusted data into bash's environment, most notably CGI.