Command injection in Zend Framework - CVE-2016-10034
Published: April 10, 2018 / Updated: September 14, 2018
Vulnerability identifier: #VU11640
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2016-10034
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability:
Public exploit is available
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The weakness exists in the setFrom function in the Sendmail adapter in the zend-mail component due to command injection. A remote attacker can pass extra parameters to the mail command and execute arbitrary code via a " (backslash double quote) in a crafted e-mail address.
Successful exploitation of the vulnerability may result in system compromise.
The weakness exists in the setFrom function in the Sendmail adapter in the zend-mail component due to command injection. A remote attacker can pass extra parameters to the mail command and execute arbitrary code via a " (backslash double quote) in a crafted e-mail address.
Successful exploitation of the vulnerability may result in system compromise.
Affected software
Zend Framework
Gentoo Linux
Fedora
php-ZendFramework2
Gentoo Linux
Fedora
php-ZendFramework2
How to mitigate CVE-2016-10034
Update to version 2.4.11.
php-ZendFramework2 - addressed in versions 2.2.10-3.el6, 2.4.11-1.el7
Links to Public Exploits and PoC-codes
- Exploit #189 - exploit-CVE-2016-10034 (PHPMailer < 5.2.18 Remote Code Execution) (March 18, 2020)
- Exploit #1396 - PHPMailer < 5.2.20 with Exim MTA - Remote Code Execution (March 18, 2020)
- Exploit #1397 - PHPMailer < 5.2.20 / SwiftMailer < 5.4.5-DEV / Zend Framework / zend-mail < 2.4.11 - (AIO) 'PwnScriptum' Remote Code Execution (March 18, 2020)
- Exploit #1398 - Zend Framework / zend-mail < 2.4.11 - Remote Code Execution (March 18, 2020)