GHSA-gff2-p6vm-3p8g: ZendFramework potential remote code execution in zend-mail via Sendmail adapter
When using the zend-mail component to send email via the Zend\Mail\Transport\Sendmail transport, a malicious user may be able to inject arbitrary parameters to the system sendmail program. The attack is performed by providing additional quote characters within an address; when unsanitized, they can be interpreted as additional command line arguments, leading to the vulnerability.
Published Jun 7, 2024
Affected packages
zendframework/zendframework
- Ecosystem
- Composer (PHP)
- Affected
- >= 2.0.0, < 2.4.11
- Fixed in
- 2.4.11
- Check
composer show zendframework/zendframework
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
When using the zend-mail component to send email via the Zend\Mail\Transport\Sendmail transport, a malicious user may be able to inject arbitrary parameters to the system sendmail program. The attack is performed by providing additional quote characters within an address; when unsanitized, they can be interpreted as additional command line arguments, leading to the vulnerability.
References
- https://github.com/zendframework/zendframework/commit/7c1e89815f5a9c016f4b8088e59b07cb2bf99dc0
- https://github.com/FriendsOfPHP/security-advisories/blob/master/zendframework/zendframework/ZF2016-04.yaml
- https://web.archive.org/web/20201107093523/https://framework.zend.com/security/advisory/ZF2016-04
- https://github.com/advisories/GHSA-gff2-p6vm-3p8g
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesGHSA-2fhr-8r8r-qp56
ZendFramework Information Disclosure and Insufficient Entropy vulnerability
medium5.3Jun 7, 2024GHSA-5gmf-3c43-q73v
ZendFramework vulnerable to Cross-site Scripting
medium6.1Jun 7, 2024GHSA-62f6-h68r-3jpw
Zendframework session validation vulnerability
medium6.5Jun 7, 2024GHSA-8q77-cv62-jj38
Zendframework has potential Cross-site Scripting vector in multiple view helpers
medium6.1Jun 7, 2024GHSA-fh7r-58q4-6387
Zendframework URL Rewrite vulnerability
medium4.7Jun 7, 2024GHSA-jq87-2wxp-8349
ZendFramework Route Parameter Injection Via Query String in `Zend\Mvc`
high7.5Jun 7, 2024
