Command injection in Zend Framework - CVE-2016-10034

 

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.

Affected software

Zend Framework
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

External References

Related Security Bulletins