Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2016-10034 EUVD-2022-5138GHSA-r9mw-gwx9-v3h5

zend-mail remote code execution via Sendmail adapter

Published Dec 30, 2016 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Packagist zendframework/zend-mail < 2.4.11 2.4.11 GHSA-r9mw-gwx9-v3h5
Packagist zendframework/zend-mail >= 2.5, <= 2.5.2 — GHSA-r9mw-gwx9-v3h5
Packagist zendframework/zend-mail >= 2.6, <= 2.6.2 — GHSA-r9mw-gwx9-v3h5
Packagist zendframework/zend-mail >= 2.7, < 2.7.2 2.7.2 GHSA-r9mw-gwx9-v3h5

References