CVE-2016-4861: Zend Framework Allows SQL Injection
9.8
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.87953%
CWE
Published
5/14/2022
Updated
11/1/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
zendframework/zendframework | composer | < 1.12.20 | 1.12.20 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability description explicitly names the order and group methods in Zend_Db_Select as vulnerable entry points. The security advisory ZF2016-03 details that these methods didn't properly handle SQL comments in input parameters, allowing attackers to bypass validation. Both methods process user-provided SQL fragments for ORDER BY and GROUP BY clauses without adequate comment stripping, making them direct vectors for injection. The patch specifically targeted these methods by adding comment removal logic, confirming their vulnerable status.