ADVISORIES

GitHub Advisory Database

GHSA-r9mw-gwx9-v3h5

zend-mail remote code execution via Sendmail adapter

Critical CVE-2016-10034

Details

The setFrom function in the Sendmail adapter in the zend-mail component before 2.4.11, 2.5.x, 2.6.x, and 2.7.x before 2.7.2, and Zend Framework before 2.4.11 might allow remote attackers to pass extra parameters to the mail command and consequently execute arbitrary code via a \" (backslash double quote) in a crafted e-mail address.

Affected packages

EcosystemPackageAffected versions
Packagistzendframework/zend-mail
All versions before 2.4.11 (fixed in 2.4.11)
Packagistzendframework/zend-mail
From 2.5 up to and including 2.5.2
Packagistzendframework/zend-mail
From 2.6 up to and including 2.6.2
Packagistzendframework/zend-mail
From 2.7 before 2.7.2 (fixed in 2.7.2)

References