Description
The (1) order and (2) group methods in Zend_Db_Select in the Zend Framework before 1.12.20 might allow remote attackers to conduct SQL injection attacks by leveraging failure to remove comments from an SQL statement before validation.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | zendframework | 1.12.9+dfsg-2+deb8u7 | DLA-1403-1 |
| Debian 7 | zendframework | 1.11.13-1.1+deb7u5 | DLA-646-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | zend-framework | No fix yet | — |
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.
GitHub 1 repository
-
KosukeShimofuji/CVE-2016-4861 ★ 0 · Sep 16, 2016
Research CVE-2016-4861
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | zendframework/zendframework | < 1.12.20 | 1.12.20 | GHSA-xfjq-w3cw-h5fq |
Advisories 2
- DLA-646-1 zendframework - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1403-1 zendframework - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- FEDORA-2016-666d95d1d5 vendor-advisory
- GLSA-201804-10 vendor-advisory
- FEDORA-2016-7f193a0c59 vendor-advisory
- FEDORA-2016-77e5105570 vendor-advisory
- [debian-lts-announce] 20180628 [SECURITY] [DLA 1403-1] zendframework security update mailing-list
- https://framework.zend.com/security/advisory/ZF2016-03
- JVNDB-2016-000158 third-party-advisory
- JVN#18926672 third-party-advisory