RCE in zend-mail Sendmail adapter setFrom
CVE-2016-10034 is a command injection vulnerability in the zend-mail component's Sendmail adapter, specifically in the handling performed by the setFrom function. In affected versions, a crafted email address containing a backslash-double-quote sequence (") can break intended argument handling and cause attacker-controlled data to be passed as additional parameters to the underlying mail/sendmail command. Because the adapter invokes the local mail transport with insufficient sanitization of sender input, a remote attacker who can influence the From address may be able to inject command-line parameters and achieve arbitrary code execution in the context of the application or mail-sending process.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can result in arbitrary code execution on the host running the vulnerable application, with privileges of the web server or application process invoking the mail transport. This may enable full application compromise, data theft, installation of persistence mechanisms, lateral movement from the affected host, or further privilege escalation depending on local configuration.
If you can’t patch tonight, do this now.
If immediate patching is not possible, prevent untrusted input from reaching the From/sender fields used by zend-mail's Sendmail adapter, strictly validate sender addresses against a conservative allowlist format, and avoid use of the Sendmail transport where possible. Prefer safer mail transports that do not invoke a local shell-command-style mail binary with user-influenced parameters. Additional hardening of the mail-sending environment and least-privilege execution can reduce impact but does not fully remediate the flaw.
Patch, then assume compromise.
Upgrade zend-mail to a fixed release: 2.4.11 or later, or for the 2.7.x branch specifically, 2.7.2 or later. Zend Framework installations should be updated to 2.4.11 or later. Apply vendor patches across all affected branches and verify that mail-sending code paths use the corrected escaping and parameter handling.
No validated public exploits yet. Hidden: 3 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.